/illumos-gate/usr/src/uts/common/os/ |
H A D | msg.c | 1262 msg_select_t *walker = *flist; in msg_wakeup_rdr() local 1269 wakeup = walker->selection(qp, msg_hash, type); in msg_wakeup_rdr() 1270 walker = walker->next_selection; in msg_wakeup_rdr() 1271 } while (!wakeup && walker != *flist); in msg_wakeup_rdr() 1316 msgq_wakeup_t *walker; in msg_fnd_any_snd() local 1318 walker = list_head(&qp->msg_wait_snd[0]); in msg_fnd_any_snd() 1320 if (walker) in msg_fnd_any_snd() 1321 list_remove(&qp->msg_wait_snd[0], walker); in msg_fnd_any_snd() 1322 return (walker); in msg_fnd_any_snd() 1329 msgq_wakeup_t *walker; in msg_fnd_any_rdr() local [all …]
|
H A D | vmem.c | 763 vmem_advance(vmem_t *vmp, vmem_seg_t *walker, vmem_seg_t *afterme) in vmem_advance() argument 765 vmem_seg_t *vprev = walker->vs_aprev; in vmem_advance() 766 vmem_seg_t *vnext = walker->vs_anext; in vmem_advance() 769 VMEM_DELETE(walker, a); in vmem_advance() 772 VMEM_INSERT(afterme, walker, a); in vmem_advance() 1395 vmem_seg_t walker; in vmem_walk() local 1400 bzero(&walker, sizeof (walker)); in vmem_walk() 1401 walker.vs_type = VMEM_WALKER; in vmem_walk() 1404 VMEM_INSERT(seg0, &walker, a); in vmem_walk() 1410 vmem_advance(vmp, &walker, vsp); in vmem_walk() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 189 ipsa_t *walker; in sadb_insertassoc() local 196 walker = bucket->isaf_ipsa; in sadb_insertassoc() 197 ASSERT(walker == NULL || ipsa->ipsa_addrfam == walker->ipsa_addrfam); in sadb_insertassoc() 208 while (walker != NULL) { in sadb_insertassoc() 209 if (IPSA_ARE_ADDR_EQUAL(walker->ipsa_dstaddr, in sadb_insertassoc() 211 if (walker->ipsa_spi == ipsa->ipsa_spi) in sadb_insertassoc() 214 mutex_enter(&walker->ipsa_lock); in sadb_insertassoc() 216 (walker->ipsa_flags & IPSA_F_USED) && in sadb_insertassoc() 217 SA_UNIQUE_MATCH(walker, ipsa)) { in sadb_insertassoc() 218 walker->ipsa_flags |= IPSA_F_CINVALID; in sadb_insertassoc() [all …]
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | uuid_to_string.c | 46 char *walker = *buf; in tohex() local 50 walker[i] = hexstr[val & 0xf]; in tohex() 53 *buf = walker + len; in tohex()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashwalk.c | 37 hashwalk(Hash_table_t* tab, int flags, register int (*walker)(const char*, char*, void*), void* han… in hashwalk() 47 if ((v = (*walker)(hashname(b), (tab->flags & HASH_VALUE) ? b->value : (char*)b, handle)) < 0) in hashwalk()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 669 vmu_bound_t *walker, *tmp; in vmu_insert_lookup_object_bounds() local 681 if (walker = avl_find(tree, tmp, &where)) { in vmu_insert_lookup_object_bounds() 684 *first = walker; in vmu_insert_lookup_object_bounds() 687 if (walker == NULL) { in vmu_insert_lookup_object_bounds() 689 walker = avl_nearest(tree, where, AVL_BEFORE); in vmu_insert_lookup_object_bounds() 690 if (walker != NULL) { in vmu_insert_lookup_object_bounds() 691 if (ISWITHIN(walker, start)) { in vmu_insert_lookup_object_bounds() 694 *first = walker; in vmu_insert_lookup_object_bounds() 709 walker = avl_nearest(tree, where, AVL_AFTER); in vmu_insert_lookup_object_bounds() 710 if (walker != NULL && walker->vmb_start <= end) { in vmu_insert_lookup_object_bounds() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | physmem.c | 128 struct physmem_proc_hash **walker; in physmem_remove_hash_proc() local 133 walker = &pph[index]; in physmem_remove_hash_proc() 134 while (*walker != NULL) { in physmem_remove_hash_proc() 135 if ((*walker)->pph_proc == curproc && in physmem_remove_hash_proc() 136 (*walker)->pph_hash == NULL) { in physmem_remove_hash_proc() 137 victim = *walker; in physmem_remove_hash_proc() 138 *walker = victim->pph_next; in physmem_remove_hash_proc() 141 walker = &((*walker)->pph_next); in physmem_remove_hash_proc()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/ |
H A D | ipc.c | 133 msgq_wakeup_t *walker, next; in msgq_check_for_waiters() local 140 walker = in msgq_check_for_waiters() 142 while (head != (uintptr_t)walker) { in msgq_check_for_waiters() 144 (uintptr_t)walker) == -1) { in msgq_check_for_waiters() 153 walker + (uintptr_t) in msgq_check_for_waiters() 159 walker + (uintptr_t) in msgq_check_for_waiters() 165 walker = in msgq_check_for_waiters()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem.c | 657 vmem_advance(vmem_t *vmp, vmem_seg_t *walker, vmem_seg_t *afterme) in vmem_advance() argument 659 vmem_seg_t *vprev = walker->vs_aprev; in vmem_advance() 660 vmem_seg_t *vnext = walker->vs_anext; in vmem_advance() 663 VMEM_DELETE(walker, a); in vmem_advance() 666 VMEM_INSERT(afterme, walker, a); in vmem_advance() 1376 vmem_seg_t walker; in vmem_walk() local 1381 bzero(&walker, sizeof (walker)); in vmem_walk() 1382 walker.vs_type = VMEM_WALKER; in vmem_walk() 1385 VMEM_INSERT(seg0, &walker, a); in vmem_walk() 1391 vmem_advance(vmp, &walker, vsp); in vmem_walk() [all …]
|
/illumos-gate/usr/src/tools/scripts/ |
H A D | cddlchk.py | 105 def walker(opts, dirname, fnames): function 118 os.path.walk(path, walker, opts)
|
H A D | mapfilechk.py | 103 def walker(opts, dirname, fnames): function 116 os.path.walk(path, walker, opts)
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | events.c | 96 static void *walker(void *arg); 483 if (thr_create(NULL, 0, walker, NULL, in walk_devtree() 502 walker(void *arg __unused) in walker() function
|
/illumos-gate/usr/src/uts/common/io/audio/impl/ |
H A D | audio_client.h | 243 void auclnt_walk_devs(int (*walker)(audio_dev_t *, void *), void *); 244 void auclnt_walk_devs_by_number(int (*walker)(audio_dev_t *, void *), void *);
|
H A D | audio_engine.c | 1110 auclnt_walk_devs(int (*walker)(audio_dev_t *, void *), void *arg) in auclnt_walk_devs() 1119 cont = walker(d, arg); in auclnt_walk_devs() 1127 auclnt_walk_devs_by_number(int (*walker)(audio_dev_t *, void *), void *arg) in auclnt_walk_devs_by_number() 1136 cont = walker(d, arg); in auclnt_walk_devs_by_number() 1145 int (*walker)(audio_engine_t *, void *), in auclnt_dev_walk_engines() 1153 if (walker(e, arg) == AUDIO_WALK_STOP) { in auclnt_dev_walk_engines()
|
H A D | audio_client.c | 1263 int (*walker)(audio_client_t *, void *), in auclnt_dev_walk_clients() 1275 rv = (walker(c, arg)); in auclnt_dev_walk_clients() 1598 int (*walker)(audio_ctrl_t *, void *), in auclnt_walk_controls() 1606 if (walker(ctrl, arg) == AUDIO_WALK_STOP) in auclnt_walk_controls()
|
/illumos-gate/usr/src/cmd/bart/ |
H A D | create.c | 45 static int walker(const char *name, const struct stat64 *sp, 265 (void) nftw64(root->subtree, &walker, 20, FTW_PHYS|FTW_ANYERR); in create_manifest_rule() 344 walker(const char *name, const struct stat64 *sp, int type, struct FTW *ftwx) in walker() function
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_tab.c | 364 mdb_tab_complete_walker(mdb_tab_cookie_t *mcp, const char *walker) in mdb_tab_complete_walker() argument 366 if (walker != NULL) in mdb_tab_complete_walker() 367 mdb_tab_setmbase(mcp, walker); in mdb_tab_complete_walker()
|
/illumos-gate/usr/src/lib/libnsl/ipsec/ |
H A D | algs.c | 953 char **walker; in freeipsecalgent() local 959 for (walker = ptr->a_names; *walker != NULL; walker++) in freeipsecalgent() 960 free(*walker); in freeipsecalgent()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/ |
H A D | ipmpstat.c | 195 ipmpstat_walker_t *walker; in main() local 226 walker = walk_addr; in main() 231 walker = walk_group; in main() 236 walker = walk_if; in main() 244 walker = walk_if; in main() 299 (*walker)(ih, cbfunc, ofmt); in main()
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prtable.c | 155 foreach_element(table_t *table, void *buf, void (*walker)(long, void *)) in foreach_element() 161 walker(table->t_list[i], buf); in foreach_element()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 1316 char **walker; /* For the SRC and PROXY walking functions. */ in doaddresses() local 1478 for (walker = srchp->h_addr_list; in doaddresses() 1479 *walker != NULL; walker++) { in doaddresses() 1482 (struct in6_addr *)*walker)) { in doaddresses() 1486 first_match = *walker; in doaddresses() 1514 if (*walker != NULL) { in doaddresses() 1546 for (walker = srchp->h_addr_list; in doaddresses() 1547 *walker != NULL; walker++) { in doaddresses() 1550 (struct in6_addr *)*walker)) { in doaddresses() 1558 (struct in6_addr *)*walker); in doaddresses() [all …]
|
/illumos-gate/usr/src/cmd/filesync/ |
H A D | eval.c | 75 static int walker(const char *, const struct stat *, int, struct FTW *); 456 nftw(get_name(fp), &walker, MAX_DEPTH, FTW_PHYS|FTW_MOUNT); in eval_file() 493 walker(const char *name, const struct stat *sp, int type, in walker() function
|
H A D | README | 299 in eval.c: read evaluate, eval_file, walker, and note_info 361 walker
|
/illumos-gate/usr/src/cmd/mdb/demo/ |
H A D | README | 124 introduces the concept of a walker, a set of functions which describe how to 126 dcmd can be built using this walker. Using the simple_proc walker, you can
|
/illumos-gate/usr/src/uts/common/io/audio/ac97/ |
H A D | ac97.c | 1307 ac97_walk_controls(ac97_t *ac, ac97_ctrl_walk_t walker, void *arg) in ac97_walk_controls() argument 1313 if (!(*walker)(ctrl, arg)) { in ac97_walk_controls()
|