Home
last modified time | relevance | path

Searched refs:sqh (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dsigqueue.c128 sigqhdr_t *sqh; in sigqueue() local
135 if ((sqh = p->p_sigqhdr) == NULL) { in sigqueue()
144 sqh = sigqhdralloc(sizeof (sigqueue_t), (uint_t)sigqsz_max); in sigqueue()
148 p->p_sigqhdr = sqh; in sigqueue()
151 sigqhdrfree(sqh); in sigqueue()
152 sqh = p->p_sigqhdr; in sigqueue()
166 mutex_enter(&sqh->sqb_lock); in sigqueue()
167 while (sqh->sqb_count == 0) { in sigqueue()
168 if (!cv_wait_sig(&sqh->sqb_cv, &sqh->sqb_lock)) { in sigqueue()
173 mutex_exit(&sqh->sqb_lock); in sigqueue()
H A Dlwp_sobj.c505 sleepq_head_t *sqh; in lwp_block() local
512 sqh = lwpsqhash(lwpchan); in lwp_block()
513 disp_lock_enter_high(&sqh->sq_lock); in lwp_block()
516 THREAD_SLEEP(t, &sqh->sq_lock); in lwp_block()
517 sleepq_insert(&sqh->sq_queue, t); in lwp_block()
1160 sleepq_head_t *sqh; in lwp_mutex_timedlock() local
1308 sqh = lwpsqhash(&lwpchan); in lwp_mutex_timedlock()
1309 disp_lock_enter(&sqh->sq_lock); in lwp_mutex_timedlock()
1310 waiters = iswanted(sqh->sq_queue.sq_first, &lwpchan); in lwp_mutex_timedlock()
1311 disp_lock_exit(&sqh->sq_lock); in lwp_mutex_timedlock()
[all …]
H A Dsignotify.c97 sigqhdr_t *sqh; in signotify() local
138 sqh = sigqhdralloc(sizeof (signotifyq_t), in signotify()
143 cp->p_signhdr = sqh; in signotify()
146 sigqhdrfree(sqh); in signotify()
/titanic_41/usr/src/uts/common/os/
H A Dcondvar.c71 sleepq_head_t *sqh = SQHASH(cvp); in cv_unsleep() local
77 (void *)t, (void *)sqh); in cv_unsleep()
82 disp_lock_exit_high(&sqh->sq_lock); in cv_unsleep()
144 sleepq_head_t *sqh; in cv_block() local
168 sqh = SQHASH(cvp); in cv_block()
169 disp_lock_enter_high(&sqh->sq_lock); in cv_block()
173 THREAD_SLEEP(t, &sqh->sq_lock); in cv_block()
174 sleepq_insert(&sqh->sq_queue, t); in cv_block()
611 sleepq_head_t *sqh = SQHASH(cp); in cv_signal() local
612 disp_lock_enter(&sqh->sq_lock); in cv_signal()
[all …]
H A Dsig.c1808 sigqhdr_t *sqh; in sigqsend() local
1810 sqh = (sigqhdr_t *)sigqp->sq_backptr; in sigqsend()
1811 ASSERT(sqh); in sigqsend()
1813 mutex_enter(&sqh->sqb_lock); in sigqsend()
1814 sqh->sqb_sent++; in sigqsend()
1815 mutex_exit(&sqh->sqb_lock); in sigqsend()
2384 sigqhdr_t *sqh; in sigqhdralloc() local
2394 sqh = kmem_alloc(i, KM_SLEEP); in sigqhdralloc()
2395 sqh->sqb_count = maxcount; in sigqhdralloc()
2396 sqh->sqb_maxcount = maxcount; in sigqhdralloc()
[all …]
H A Dsemaphore.c374 sleepq_head_t *sqh; in sema_tryp() local
383 sqh = SQHASH(s); in sema_tryp()
384 disp_lock_enter(&sqh->sq_lock); in sema_tryp()
389 disp_lock_exit(&sqh->sq_lock); in sema_tryp()
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h123 STAILQ_HEAD(sqh, pmcs_cmd) sq; /* SATA specific */