Searched refs:sema_waiters (Results 1 – 5 of 5) sorted by relevance
147 lsp->sema_waiters = 1; in sema_wait_impl()162 lsp->sema_waiters = dequeue_self(qp); in sema_wait_impl()166 if (lsp->count != 0 && lsp->sema_waiters) { in sema_wait_impl()172 lsp->sema_waiters = more; in sema_wait_impl()261 else if (--lsp->count != 0 && lsp->sema_waiters) { in sema_trywait()267 lsp->sema_waiters = more; in sema_trywait()328 else if (lsp->count++ == 0 && lsp->sema_waiters) { in sema_post()334 lsp->sema_waiters = more; in sema_post()
56 sp->sema_waiters = 0; in _lwp_sema_init()
66 #define sema_waiters flags[7] macro
1991 fuword8_noerr(&sp->sema_waiters, &waiters); in lwp_sema_trywait()1994 suword8_noerr(&sp->sema_waiters, waiters); in lwp_sema_trywait()2080 suword8_noerr(&sp->sema_waiters, 1); in lwp_sema_timedwait()2140 suword8_noerr(&sp->sema_waiters, waiters); in lwp_sema_timedwait()2198 fuword8_noerr(&sp->sema_waiters, &waiters); in lwp_sema_post()2201 suword8_noerr(&sp->sema_waiters, waiters); in lwp_sema_post()