/titanic_50/usr/src/cmd/syslogd/ |
H A D | queue.c | 39 assert(ptr->num_waiters == ll_check(&ptr->waiters)); in dataq_check() 50 ll_init(&ptr->waiters); in dataq_init() 73 sleeper = (dataq_waiter_t *)ll_peek(&dataq->waiters); in dataq_enqueue() 99 ll_enqueue(&dataq->waiters, &wait.list); in dataq_dequeue() 102 (void) ll_dequeue(&dataq->waiters); in dataq_dequeue() 110 sleeper = (dataq_waiter_t *)ll_peek(&dataq->waiters); in dataq_dequeue() 141 ll_mapf(&dataq->waiters, dataq_waiters_destroy); in dataq_destroy()
|
H A D | dataq.h | 50 llh_t waiters; member
|
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_rwlock.c | 79 while (l->count < 0 || l->waiters > 0) { in smbfs_rw_enter_sig() 114 l->waiters++; in smbfs_rw_enter_sig() 123 l->waiters--; in smbfs_rw_enter_sig() 132 l->waiters--; in smbfs_rw_enter_sig() 166 if (l->count < 0 || l->waiters > 0) { in smbfs_rw_tryenter() 218 if (l->count == 0 && l->waiters > 0) in smbfs_rw_exit() 240 l->waiters = 0; in smbfs_rw_init()
|
H A D | smbfs_node.h | 95 int waiters; member
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | lwp_sobj.c | 1154 uchar_t waiters; in lwp_mutex_timedlock() local 1228 fuword8_noerr(&lp->mutex_waiters, &waiters); in lwp_mutex_timedlock() 1310 waiters = iswanted(sqh->sq_queue.sq_first, &lwpchan); in lwp_mutex_timedlock() 1319 fuword8_noerr(&lp->mutex_waiters, &waiters); in lwp_mutex_timedlock() 1347 suword8_noerr(&lp->mutex_waiters, waiters); in lwp_mutex_timedlock() 1397 lwp_release(lwpchan_t *lwpchan, uchar_t *waiters, int sync_type) in lwp_release() argument 1430 *waiters = iswanted(tp->t_link, lwpchan); in lwp_release() 1444 *waiters = 0; in lwp_release() 1485 uchar_t waiters; in lwp_mutex_wakeup() local 1538 else if (lwp_release(&lwpchan, &waiters, 0)) in lwp_mutex_wakeup() [all …]
|
/titanic_50/usr/src/lib/libc/sparc/sys/ |
H A D | _lwp_mutex_unlock.s | 42 btst WAITER_MASK, %o3 ! check for waiters 43 beq,a,pt %icc,2f ! if no waiters
|
/titanic_50/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 195 for (lp = SH_TAILQ_FIRST(&sh_obj->waiters, __db_lock); 197 lp = SH_TAILQ_FIRST(&sh_obj->waiters, __db_lock)) { 544 SH_TAILQ_INSERT_HEAD(&sh_obj->waiters, newl, links, __db_lock); 549 for (lp = SH_TAILQ_FIRST(&sh_obj->waiters, __db_lock); 559 SH_TAILQ_INSERT_TAIL(&sh_obj->waiters, newl, links); 851 SH_TAILQ_INIT(&sh_obj->waiters); 884 SH_TAILQ_REMOVE(&sh_obj->waiters, lockp, links, __db_lock); 986 for (lp_w = SH_TAILQ_FIRST(&obj->waiters, __db_lock), 1007 SH_TAILQ_REMOVE(&obj->waiters, lp_w, links, __db_lock);
|
H A D | lock_deadlock.c | 314 lp = SH_TAILQ_FIRST(&op->waiters, __db_lock); 456 SH_TAILQ_REMOVE(&sh_obj->waiters, lockp, links, __db_lock);
|
H A D | lock_region.c | 716 lp = SH_TAILQ_FIRST(&op->waiters, __db_lock);
|
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_impl.c | 202 uint8_t waiters; /* 1 to IBCM_FLOW_SIMUL_MAX */ member 1611 if (f->waiters < flow->waiters_per_chunk) in ibcm_flow_find() 1624 if (f->waiters < flow->waiters_per_chunk) { in ibcm_flow_find() 1633 flow1->waiters = 0; in ibcm_flow_find() 1650 flow1->waiters++; in ibcm_flow_enter() 1652 if (--flow1->waiters == 0) { in ibcm_flow_enter() 1674 flow->total += flow1->waiters; in ibcm_flow_exit() 1675 flow->simul += flow1->waiters; in ibcm_flow_exit()
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | sobj.c | 621 char *waiters = MUTEX_HAS_WAITERS(&lock) ? "yes" : "no"; in mutex() local 632 addr, "adapt", owner, "-", "-", waiters); in mutex() 635 addr, "adapt", "no", "-", "-", waiters); in mutex()
|
/titanic_50/usr/src/uts/sparc/v9/ml/ |
H A D | lock_prim.s | 441 cmp THREAD_REG, %o1 ! do we own lock with no waiters? 459 and %o1, MUTEX_THREAD, %o1 ! remove the waiters bit if any 549 bnz,pn %xcc, 2f ! single reader, no waiters? 567 ba,pt %xcc, rw_exit_wakeup ! otherwise, wake waiters
|
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | lock.h | 103 #define waiters wlinks._waiters macro
|
/titanic_50/usr/src/uts/common/nfs/ |
H A D | rnode.h | 171 int waiters; member
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 4813 while (l->count < 0 || l->waiters > 0) { in nfs_rw_enter_sig() 4848 l->waiters++; in nfs_rw_enter_sig() 4857 l->waiters--; in nfs_rw_enter_sig() 4863 if (l->count > 0 && l->waiters == 0) in nfs_rw_enter_sig() 4872 l->waiters--; in nfs_rw_enter_sig() 4907 if (l->count < 0 || l->waiters > 0) { in nfs_rw_tryenter() 4957 if (l->waiters == 0) in nfs_rw_exit() 4973 if (l->count == 0 && l->waiters > 0) in nfs_rw_exit() 4994 l->waiters = 0; in nfs_rw_init()
|
/titanic_50/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_bcache.c | 2458 volatile ushort_t *waiters; in _sd_cc_wait() local 2462 waiters = &(centry->cc_await_use); in _sd_cc_wait() 2465 waiters = &(centry->cc_await_page); in _sd_cc_wait() 2477 (*waiters)++; in _sd_cc_wait() 2482 (*waiters)--; in _sd_cc_wait() 2487 (*waiters)--; in _sd_cc_wait()
|
/titanic_50/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 3600 uint32_t waiters = 0; in daplka_evd_wakeup() local 3614 waiters = evd_rp->evd_waiters; in daplka_evd_wakeup() 3621 if (evd_rp->evd_cno_res != NULL && waiters == 0) { in daplka_evd_wakeup()
|