Home
last modified time | relevance | path

Searched refs:waiters (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/cmd/syslogd/
H A Dqueue.c39 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 Ddataq.h50 llh_t waiters; member
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_rwlock.c79 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 Dsmbfs_node.h95 int waiters; member
/titanic_50/usr/src/uts/common/syscall/
H A Dlwp_sobj.c1154 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.s42 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 Dlock.c195 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 Dlock_deadlock.c314 lp = SH_TAILQ_FIRST(&op->waiters, __db_lock);
456 SH_TAILQ_REMOVE(&sh_obj->waiters, lockp, links, __db_lock);
H A Dlock_region.c716 lp = SH_TAILQ_FIRST(&op->waiters, __db_lock);
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_impl.c202 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 Dsobj.c621 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 Dlock_prim.s441 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 Dlock.h103 #define waiters wlinks._waiters macro
/titanic_50/usr/src/uts/common/nfs/
H A Drnode.h171 int waiters; member
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c4813 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 Dsd_bcache.c2458 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 Ddaplt.c3600 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()