/illumos-gate/usr/src/cmd/getent/ |
H A D | dogetserv.c | 68 dogetserv(const char **list) in dogetserv() argument 73 if (list == NULL || *list == NULL) { in dogetserv() 77 for (; *list != NULL; list++) { in dogetserv() 84 (void) strncpy(key, *list, sizeof (key)); in dogetserv()
|
H A D | dogetprofattr.c | 66 dogetprofattr(const char **list) in dogetprofattr() argument 71 if (list == NULL || *list == NULL) { in dogetprofattr() 77 for (; *list != NULL; list++) { in dogetprofattr() 78 pprof = getprofnam(*list); in dogetprofattr()
|
H A D | dogetauthattr.c | 67 dogetauthattr(const char **list) in dogetauthattr() argument 72 if (list == NULL || *list == NULL) { in dogetauthattr() 78 for (; *list != NULL; list++) { in dogetauthattr() 79 pauth = getauthnam(*list); in dogetauthattr()
|
H A D | dogetexecattr.c | 68 dogetexecattr(const char **list) in dogetexecattr() argument 73 if (list == NULL || *list == NULL) { in dogetexecattr() 79 for (; *list != NULL; list++) { in dogetexecattr() 80 pexec = getexecprof(*list, NULL, NULL, GET_ALL); in dogetexecattr()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | pre-process.c | 411 *newtok = *list; in dup_list() 414 list = list->next; in dup_list() 618 token = dup_token(list, &list->pos); in copy() 620 token = list; in copy() 625 list = list->next; in copy() 744 list = tail; in substitute() 746 *list = added; in substitute() 747 list = tail; in substitute() 752 return list; in substitute() 1223 struct token *arg = list->next, *next = list; in parse_arguments() [all …]
|
H A D | smatch_constraints.c | 56 FOR_EACH_PTR(*list, tmp) { in add_constraint() 82 add_ptr_list(list, new); in add_constraint() 107 FOR_EACH_PTR(list, tmp) { in clone_constraint_list() 121 FOR_EACH_PTR(list, con) { in alloc_constraint_state() 130 state->data = list; in alloc_constraint_state() 136 struct constraint_list *list; in merge_func() local 144 return alloc_constraint_state(list); in merge_func() 297 struct constraint_list *list; in unmet_constraint() local 314 list = state->data; in unmet_constraint() 317 FOR_EACH_PTR(list, con) { in unmet_constraint() [all …]
|
H A D | compile.c | 44 static void clean_up_symbols(struct symbol_list *list) in clean_up_symbols() argument 48 FOR_EACH_PTR(list, sym) { in clean_up_symbols() 63 struct symbol_list *list; in main() local 67 list = sparse(file); in main() 71 clean_up_symbols(list); in main()
|
/illumos-gate/usr/src/cmd/hal/hald-runner/ |
H A D | runner.c | 135 GList *list; in remove_run_data() local 141 list = (GList *)g_hash_table_lookup(udi_hash, rd->r->udi); in remove_run_data() 142 list = g_list_remove(list, rd); in remove_run_data() 253 GList *list; in run_request_run() local 315 list = (GList *)g_hash_table_lookup(udi_hash, r->udi); in run_request_run() 316 list = g_list_prepend(list, rd); in run_request_run() 319 g_hash_table_insert(udi_hash, g_strdup(r->udi), list); in run_request_run() 353 GList *list; in do_kill_udi() local 354 list = (GList *)g_hash_table_lookup(udi_hash, udi); in do_kill_udi() 355 g_list_foreach(list, kill_rd, NULL); in do_kill_udi() [all …]
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prstat.c | 372 if (list->l_size == 0) in list_print() 631 list->l_head = list->l_tail = lwp = Zalloc(sizeof (lwp_info_t)); in list_add_lwp() 636 list->l_tail = lwp; in list_add_lwp() 641 list->l_count++; in list_add_lwp() 659 list->l_count--; in list_remove_lwp() 685 list->l_count = 0; in list_clear() 686 list->l_head = list->l_tail = NULL; in list_clear() 696 list->l_head = list->l_tail = id = Zalloc(sizeof (id_info_t)); in list_update() 738 id = list->l_tail; in list_update() 743 id = list->l_tail; in list_update() [all …]
|
/illumos-gate/usr/src/cmd/auditrecord/ |
H A D | auditrecord.pl | 522 my $list; 525 $list = $format; 528 $list = $parse->{'kernelDefault'}; 529 $list =~ s/insert://; 531 $list = $parse->{'userDefault'}; 532 $list =~ s/insert://; 534 $list = $parse->{'kernelDefault'}; 535 $list =~ s/insert/$format/; 537 $list = $parse->{'userDefault'}; 538 $list =~ s/insert/$format/; [all …]
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_sign.c | 105 if (list != NULL) in crypto_sign_init() 106 kcf_free_triedlist(list); in crypto_sign_init() 120 if (list != NULL) in crypto_sign_init() 121 kcf_free_triedlist(list); in crypto_sign_init() 139 if (list != NULL) in crypto_sign_init() 140 kcf_free_triedlist(list); in crypto_sign_init() 273 if (list != NULL) in sign_sr_atomic_common() 274 kcf_free_triedlist(list); in sign_sr_atomic_common() 288 if (list != NULL) in sign_sr_atomic_common() 330 if (list != NULL) in sign_sr_atomic_common() [all …]
|
H A D | kcf_verify.c | 106 if (list != NULL) in crypto_verify_init() 107 kcf_free_triedlist(list); in crypto_verify_init() 121 if (list != NULL) in crypto_verify_init() 122 kcf_free_triedlist(list); in crypto_verify_init() 140 if (list != NULL) in crypto_verify_init() 141 kcf_free_triedlist(list); in crypto_verify_init() 275 if (list != NULL) in verify_vr_atomic_common() 276 kcf_free_triedlist(list); in verify_vr_atomic_common() 290 if (list != NULL) in verify_vr_atomic_common() 333 if (list != NULL) in verify_vr_atomic_common() [all …]
|
H A D | kcf_digest.c | 136 kcf_prov_tried_t *list = NULL; in crypto_digest() local 142 if (list != NULL) in crypto_digest() 143 kcf_free_triedlist(list); in crypto_digest() 178 if (list != NULL) in crypto_digest() 179 kcf_free_triedlist(list); in crypto_digest() 277 kcf_prov_tried_t *list = NULL; in crypto_digest_init() local 282 list, CRYPTO_FG_DIGEST, 0)) == NULL) { in crypto_digest_init() 283 if (list != NULL) in crypto_digest_init() 284 kcf_free_triedlist(list); in crypto_digest_init() 311 if (list != NULL) in crypto_digest_init() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_readdir.c | 46 struct dir_entry *list); 65 struct dir_entry *list = NULL, *l; in do_readdir() local 124 build_dir_entry_list(rdcp, list); in do_readdir() 125 else if (list) { in do_readdir() 126 free_dir_list(list); in do_readdir() 127 list = NULL; in do_readdir() 146 list = NULL; in do_readdir() 154 for (l = list; l != NULL; l = l->next) in do_readdir() 250 list = offtp->first; in create_dirents() 505 return (btree_lookup(list, name)); in rddir_entry_lookup() [all …]
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dlink_audit.c | 49 static obj_list_t *list; variable 82 node->ol_next = list; in la_objopen() 86 list = node; in la_objopen() 110 while (list != NULL) { in la_activity() 111 obj_list_t *node = list; in la_activity() 114 list = node->ol_next; in la_activity()
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | display.c | 161 total = lt_stat_list_get_gtotal(list); in print_statistics() 192 (double)lt_stat_list_get_max(list, i), in print_statistics() 197 (double)lt_stat_list_get_sum(list, i) in print_statistics() 217 void *list; in print_sysglobal() local 233 list = lt_stat_list_create(current_list_type, in print_sysglobal() 236 lt_stat_list_free(list); in print_sysglobal() 306 void *list; in print_process() local 333 lt_stat_list_free(list); in print_process() 503 void *list; in print_thread() local 525 (double)lt_stat_list_get_gtotal(list), in print_thread() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/pool_checkpoint/ |
H A D | pool_checkpoint.kshlib | 225 log_must zfs list $FS0 226 log_must zfs list $FS1 242 log_mustnot zfs list $FS2 248 log_must zfs list $NESTEDFS0 249 log_must zfs list $NESTEDFS1 265 log_mustnot zfs list $NESTEDFS2 289 log_must zfs list $FS0 290 log_must zfs list $FS2 300 log_mustnot zfs list $FS1 315 log_must zpool list -v [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | list.c | 63 list_t list; in list_walk_init_range() local 70 if (mdb_vread(&list, sizeof (list_t), wsp->walk_addr) == -1) { in list_walk_init_range() 76 if (list.list_size < list.list_offset + sizeof (list_node_t)) { in list_walk_init_range() 84 lwd->lw_size = list.list_size; in list_walk_init_range() 85 lwd->lw_offset = list.list_offset; in list_walk_init_range() 86 lwd->lw_obj = mdb_alloc(list.list_size, UM_SLEEP); in list_walk_init_range() 94 ? (uintptr_t)list.list_head.list_next in list_walk_init_range()
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 158 build_dict_database(char *list, char *path) in build_dict_database() argument 160 return (packer(list, path) == -1 ? DICTDATABASE_BUILD_ERR : 0); in build_dict_database() 168 update_dict_database(char *list, char *path) in update_dict_database() argument 183 if ((listcopy = strdup(list)) == NULL) in update_dict_database() 227 return (build_dict_database(list, path)); in update_dict_database() 237 make_dict_database(char *list, char *path) in make_dict_database() argument 243 r = build_dict_database(list, path); in make_dict_database() 245 r = update_dict_database(list, path); in make_dict_database()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | load_hash.c | 24 int load_hash(iphp, list, iocfunc) in load_hash() argument 26 iphtent_t *list; 44 for (n = 0, a = list; a != NULL; a = a->ipe_next) 65 if ((list == NULL) && (size == 1)) { 87 for (a = list; a != NULL; a = a->ipe_next) { 98 iph.iph_table[0] = list; 102 for (a = list; a != NULL; a = a->ipe_next) { 113 for (a = list; a != NULL; a = a->ipe_next)
|
/illumos-gate/usr/src/lib/libdtrace_jni/common/ |
H A D | dtj_util.c | 1296 uu_list_t *list; in dtj_pointer_list_create() local 1304 return (list); in dtj_pointer_list_create() 1343 uu_list_t *list; in dtj_string_list_create() local 1351 return (list); in dtj_string_list_create() 1416 if (!list) { in dtj_list_clear() 1436 uu_list_destroy(list); in dtj_list_destroy() 1446 if (!list) { in dtj_pointer_list_clear() 1461 uu_list_destroy(list); in dtj_pointer_list_destroy() 1477 dtj_list_empty(uu_list_t *list) in dtj_list_empty() argument 1495 return (dtj_list_add(list, e)); in dtj_pointer_list_add() [all …]
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | nfs_mntinfo.c | 78 while (list != NULL) { in nfs_free_mntinfo_list() 79 free(list->nml_resource); in nfs_free_mntinfo_list() 80 free(list->nml_mountp); in nfs_free_mntinfo_list() 81 free(list->nml_fstype); in nfs_free_mntinfo_list() 82 free(list->nml_mntopts); in nfs_free_mntinfo_list() 83 free(list->nml_time); in nfs_free_mntinfo_list() 88 free(list->nml_failoverlist); in nfs_free_mntinfo_list() 89 free(list->nml_securitymode); in nfs_free_mntinfo_list() 90 tmp = list->next; in nfs_free_mntinfo_list() 91 free(list); in nfs_free_mntinfo_list() [all …]
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_services.c | 166 char **list; in convert_realm_name2dn_list() 190 free (list[i]); 661 free (list); 662 list = NULL; 703 free (list); 812 free (list); 813 list = NULL; 1028 if (list) { 1029 free(list); 1030 list = NULL; [all …]
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | Makefile.in | 399 list='$(INFO_DEPS)'; \ 421 @list='$(INFO_DEPS)'; for i in $$list; do \ 433 *.1*) list="$$list $$i" ;; \ 436 for i in $$list; do \ 456 *.1*) list="$$list $$i" ;; \ 459 for i in $$list; do \ 478 *.8*) list="$$list $$i" ;; \ 481 for i in $$list; do \ 501 *.8*) list="$$list $$i" ;; \ 504 for i in $$list; do \ [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_updrec.c | 101 delete_list(__ISC_ns_updrec *list) { in delete_list() argument 105 for (; list != 0; list = next) { in delete_list() 106 next = list->r_link.next; in delete_list() 107 __ISC_res_freeupdrec(list); in delete_list() 115 __ISC_ns_updrec *list = 0, *r, *p; in copy_list() local 124 delete_list(list); in copy_list() 143 list = r; in copy_list() 146 return (list); in copy_list()
|