Home
last modified time | relevance | path

Searched refs:list (Results 101 – 125 of 1471) sorted by relevance

12345678910>>...59

/illumos-gate/usr/src/cmd/getent/
H A Ddogetipnodes.c91 dogetipnodes(const char **list) in dogetipnodes() argument
101 if (list == NULL || *list == NULL) { in dogetipnodes()
104 for (; *list != NULL; list++) { in dogetipnodes()
105 if (strchr(*list, ':') != 0) { in dogetipnodes()
114 if (inet_pton(af, *list, addr) == 1) in dogetipnodes()
117 hp = getipnodebyname(*list, AF_INET6, in dogetipnodes()
H A Ddogetnet.c91 dogetnet(const char **list) in dogetnet() argument
96 if (list == NULL || *list == NULL) { in dogetnet()
100 for (; *list != NULL; list++) { in dogetnet()
101 long addr = inet_network(*list); in dogetnet()
105 np = getnetbyname(*list); in dogetnet()
H A Ddogetnetmask.c62 dogetnetmask(const char **list) in dogetnetmask() argument
67 if (list == NULL || *list == NULL) in dogetnetmask()
70 for (; *list != NULL; list++) { in dogetnetmask()
71 addr.s_addr = htonl(inet_network(*list)); in dogetnetmask()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c204 if (list != NULL) in crypto_encrypt_mac()
229 if (list != NULL) in crypto_encrypt_mac()
336 if (list != NULL) in crypto_encrypt_mac()
406 if (list != NULL) in crypto_encrypt_mac()
584 if (list != NULL) in crypto_encrypt_mac_init()
775 if (list != NULL) in crypto_encrypt_mac_init()
855 if (list != NULL) in crypto_encrypt_mac_init()
1160 if (list != NULL) in crypto_mac_decrypt_common()
1303 if (list != NULL) in crypto_mac_decrypt_common()
1378 if (list != NULL) in crypto_mac_decrypt_common()
[all …]
H A Dkcf_cipher.c244 if (list != NULL) in crypto_cipher_init()
259 if (list != NULL) in crypto_cipher_init()
277 if (list != NULL) in crypto_cipher_init()
278 kcf_free_triedlist(list); in crypto_cipher_init()
370 if (list != NULL) in crypto_encrypt()
385 if (list != NULL) in crypto_encrypt()
417 if (list != NULL) in crypto_encrypt()
418 kcf_free_triedlist(list); in crypto_encrypt()
652 if (list != NULL) in crypto_decrypt()
667 if (list != NULL) in crypto_decrypt()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dreslist.c39 ldap_delete_result_entry( LDAPMessage **list, LDAPMessage *e ) in ldap_delete_result_entry() argument
43 for ( tmp = *list; tmp != NULL && tmp != e; tmp = tmp->lm_chain ) in ldap_delete_result_entry()
50 *list = tmp->lm_chain; in ldap_delete_result_entry()
59 ldap_add_result_entry( LDAPMessage **list, LDAPMessage *e ) in ldap_add_result_entry() argument
61 e->lm_chain = *list; in ldap_add_result_entry()
62 *list = e; in ldap_add_result_entry()
/illumos-gate/usr/src/lib/libcommputil/common/
H A Dsdp.c723 sdp_list_t *list; in sdp_get_length() local
753 list = list->next; in sdp_get_length()
758 list = list->next; in sdp_get_length()
778 list = list->next; in sdp_get_length()
805 list = list->next; in sdp_get_length()
871 list = list->next; in sdp_clone_session()
877 list = list->next; in sdp_clone_session()
1020 list = list->next; in sdp_session_to_str()
1028 list = list->next; in sdp_session_to_str()
1052 list = list->next; in sdp_session_to_str()
[all …]
/illumos-gate/usr/src/cmd/pools/poolstat/
H A Dsa_kstat.c72 static void update_cpu_list(sdata_t *list);
215 return (list); in update_sdata_list()
242 if (!list) { in update_sdata_list()
243 list = sdata_new(ksp); in update_sdata_list()
244 list->sd_state |= SD_UPDATED; in update_sdata_list()
254 sdp = list; in update_sdata_list()
266 list = sdp->sd_next; in update_sdata_list()
276 return (list); in update_sdata_list()
284 update_cpu_list(sdata_t *list) in update_cpu_list() argument
288 for (sdp = list; sdp; sdp = sdp->sd_next) { in update_cpu_list()
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.c270 glh->list.head = glh->list.tail = NULL; in _new_GlHistory()
317 if(!glh->list.node_mem) in _new_GlHistory()
364 glh->list.node_mem = _del_FreeList(glh->list.node_mem, 1); in _del_GlHistory()
368 glh->list.head = NULL; in _del_GlHistory()
500 if(glh->list.head) in _glh_add_history()
506 glh->list.tail = lnode; in _glh_add_history()
1258 if(glh->list.tail) { in _glh_load_history()
1780 while(glh->list.head && glh->list.head != oldest) in _glh_limit_history()
1821 glh->list.head = glh->list.tail = NULL; in _glh_clear_history()
2106 *oldest = glh->list.head ? glh->list.head->id : 0; in _glh_range_of_history()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/longevity/
H A Dslop_space_test.ksh78 size_range=$(zpool list | awk '{print $1,$4}' | \
82 size_range=$(zpool list | awk '{print $1,$4}' | \
90 free=$(zpool list | awk '{print $1,$4}' | \
95 free=$(zpool list | awk '{print $1,$4}' | \
127 log_must zpool list $NESTEDPOOL
147 log_must zpool list $NESTEDPOOL
158 log_must zpool list $NESTEDPOOL
199 log_must zpool list $NESTEDPOOL
211 log_must zpool list $NESTEDPOOL
233 log_must zpool list $NESTEDPOOL
/illumos-gate/usr/src/cmd/boot/scripts/
H A Dextract_boot_filelist.ksh113 for list in $filelists
115 if [ -f $altroot/$list ]; then
116 grep ^platform$ $altroot/$list > /dev/null
120 cat $altroot/$list | grep -v ^platform$
122 cat $altroot/$list | grep -v ^platform$ | \
127 cat $altroot/$list
129 cat $altroot/$list | grep -v $STRIP
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Datexit.c53 struct list
55 struct list* next;
59 static struct list* funclist;
66 register struct list* p;
68 if (!(p = newof(0, struct list, 1, 0))) return(-1);
78 register struct list* p;
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_ancil.c96 on_maplist(char *mapname, char **list) { in on_maplist() argument
99 if (list == NULL) { in on_maplist()
103 while (list[i] != NULL) { in on_maplist()
104 if (strcmp(mapname, list[i++]) == 0) { in on_maplist()
121 add_in_maplist(char *mapname, char ***list, int *list_len) { in add_in_maplist() argument
125 if (list == NULL) { in add_in_maplist()
129 list_tmp = *list; in add_in_maplist()
158 *list = list_tmp; in add_in_maplist()
163 (*list)[i] = strdup(mapname); in add_in_maplist()
164 if ((*list)[i] == NULL) { in add_in_maplist()
[all …]
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd2.c76 int list[2]; in next() local
116 list[1] = 0; in next()
117 return (type(list)); in next()
524 int list[2]; in deltype() local
530 list[0]++; in deltype()
532 touch(list[0]); in deltype()
533 list[1] = 0; in deltype()
534 return (type(list)); in deltype()
609 retfield(char *list[]) in retfield() argument
722 igfield(char *list[]) in igfield() argument
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_clones.ksh42 for s in zfs.list.clones("$TESTPOOL/$TESTFS@$TESTSNAP") do
54 for s in zfs.list.clones("$TESTPOOL/$TESTFS@$TESTSNAP") do
77 for s in zfs.list.clones("$TESTPOOL/$TESTFS@$TESTSNAP") do
92 zfs.list.clones("$TESTPOOL/not-a-fs@$TESTSNAP")
97 zfs.list.clones("$TESTPOOL/$TESTFS@not-a-snap")
103 zfs.list.clones("rpool")
108 zfs.list.clones("not-a-pool/$TESTFS@$TESTSNAP")
113 zfs.list.clones("$TESTPOOL/$TESTFS")
H A Dtst.list_children.ksh46 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
55 for s in zfs.list.children("$TESTPOOL") do
68 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
88 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
103 zfs.list.children("$TESTPOOL/not-a-fs")
108 zfs.list.children("not-a-pool/$TESTFS")
114 zfs.list.children("rpool")
120 zfs.list.children("$TESTPOOL/$TESTFS@$TESTSNAP")
/illumos-gate/usr/src/tools/smatch/src/
H A Dsort.c78 a = l->list[0]; in verify_seq_sorted()
88 b = l->list[i]; in verify_seq_sorted()
100 memcpy ((b)->list, buffer, nr * sizeof (void *)); \
108 memcpy ((b)->list, buffer, nbuf * sizeof (void *)); \
227 struct ptr_list *head = *plist, *list = head; in sort_list() local
235 array_sort(list->list, list->nr, cmp); in sort_list()
237 verify_seq_sorted (list, 1, cmp); in sort_list()
239 list = list->next; in sort_list()
240 } while (list != head); in sort_list()
/illumos-gate/usr/src/cmd/projadd/
H A Dprojadd.pl158 my ($value, $list);
222 my ($ret, $list) = projent_parse_users($opt_U,
225 push(@$err, @$list);
227 @sortlist = sort(@$list);
234 my ($ret, $list) = projent_parse_groups($opt_G,
237 push(@$err, @$list);
239 @sortlist = sort(@$list);
251 my ($ret, $list) = projent_parse_attributes($attrib,
254 push(@$err, @$list);
256 push(@attriblist, @$list);
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c560 dfstab_entry_t *list; in fs_get_DFStab_ents() local
561 list = get_dfstab_ents(err); in fs_get_DFStab_ents()
562 return (list); in fs_get_DFStab_ents()
569 fs_get_DFStab_ent_Next(void *list) in fs_get_DFStab_ent_Next() argument
695 fs_free_DFStab_ents(void *list) in fs_free_DFStab_ents() argument
705 fs_print_dfstab_entries(void *list) in fs_print_dfstab_entries() argument
707 while (list != NULL) { in fs_print_dfstab_entries()
713 fs_get_DFStab_ent_Desc(list)); in fs_print_dfstab_entries()
716 fs_get_DFStab_ent_Options(list)); in fs_print_dfstab_entries()
719 fs_get_DFStab_ent_Path(list)); in fs_print_dfstab_entries()
[all …]
/illumos-gate/usr/src/cmd/sgs/libldmake/common/
H A Dld_file.c51 static Stritem *list = NULL; variable
60 prepend_str(Stritem **list, const char *str) in prepend_str() argument
77 new->next = *list; in prepend_str()
78 *list = new; in prepend_str()
94 prepend_str(&list, file); in ld_file()
128 if (list) in ld_atexit()
131 for (cur = list; cur; cur = cur->next) in ld_atexit()
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c171 list = sorted; in findfree()
175 *list++ = part; in findfree()
177 *list = 0; in findfree()
181 for (list = sorted; (part = *list) != NULL; ++list) { in findfree()
212 list = sorted; in findfree64()
216 *list++ = part; in findfree64()
218 *list = 0; in findfree64()
222 for (list = sorted; (part = *list) != NULL; ++list) { in findfree64()
256 list[idx] = NULL; in getmntpt()
300 return (list); in getmntpt()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c168 char **list; in devfs_get_prom_name_list() local
209 free(list); in devfs_get_prom_name_list()
237 char **list; in devfs_get_prom_names() local
1156 list = list->next; in devfs_phys_to_logical()
1170 list = list->next; in devfs_phys_to_logical()
1683 list = list->next; in prom_dev_to_alias()
1688 list = list->next; in prom_dev_to_alias()
1704 list = list->next; in prom_dev_to_alias()
1710 list = list->next; in prom_dev_to_alias()
1834 list = list->next; in free_name_list()
[all …]
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c62 devid_nmlist_t *list = NULL; in main() local
103 &list)) { in main()
109 for (i = 0; list[i].devname != NULL; i++) { in main()
110 (void) printf("devname: %s %p\n", list[i].devname, list[i].dev); in main()
112 devid_free_nmlist(list); in main()
/illumos-gate/usr/src/cmd/make/lib/makestate/
H A Dld_file.c51 static Stritem *list = NULL; variable
60 prepend_str(Stritem **list, const char *str) in prepend_str() argument
76 new->next = *list; in prepend_str()
77 *list = new; in prepend_str()
91 prepend_str(&list, file); in mk_state_collect_dep()
120 if (list) in mk_state_update_exit()
123 for (cur = list; cur; cur = cur->next) in mk_state_update_exit()
/illumos-gate/usr/src/tools/protocmp/
H A Dprotodir.c208 if (!(dup = find_elem(list, e, FOLLOW_LINK))) { in parse_proto_line()
210 add_elem(list, e); in parse_proto_line()
305 if ((p = find_elem(list, &key, NO_FOLLOW_LINK)) == NULL) { in parse_proto_link()
329 if (!(dup = find_elem(list, e, NO_FOLLOW_LINK))) { in parse_proto_link()
332 add_elem(list, e); in parse_proto_link()
480 if ((rc = parse_proto_line(basedir, buf, list, arch, in first_pass_prototype()
510 protodir, list, arch, basedir, in first_pass_prototype()
580 if ((rc = parse_proto_link(basedir, buf, list, arch, in second_pass_prototype()
609 protodir, list, arch, basedir, pkgname); in second_pass_prototype()
635 elem_list *list, int verbose) in process_package_dir() argument
[all …]

12345678910>>...59