Searched refs:waiters (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/contrib/ntp/libntp/lib/isc/win32/include/isc/
H A Dcondition.h41 unsigned int waiters; member in struct:isc_condition
/freebsd-current/contrib/ntp/libntp/lib/isc/win32/
H A Dcondition.c37 cond->waiters = 0;
176 REQUIRE(cond->waiters == 0);
201 * number of waiters > 0. Always reacquire the mutex regardless of the
218 cond->waiters++;
223 cond->waiters--;
/freebsd-current/sys/contrib/vchiq/interface/compat/
H A Dvchi_bsd.c329 s->waiters++;
331 s->waiters--;
348 s->waiters++;
350 s->waiters--;
394 if (s->waiters && s->value > 0)
H A Dvchi_bsd.h235 int waiters; member in struct:semaphore
/freebsd-current/sys/dev/usb/input/
H A Dusbhid.c116 int waiters; member in struct:usbhid_xfer_ctx
490 ++xfer_ctx->waiters;
492 mtx_sleep(&xfer_ctx->waiters, &sc->sc_mtx, 0,
494 --xfer_ctx->waiters;
527 if (xfer_ctx->waiters != 0)
528 wakeup_one(&xfer_ctx->waiters);
/freebsd-current/sys/dev/hpt27xx/
H A Dldm.h111 struct list_head waiters; /* blocked commands */ member in struct:lock_request
122 INIT_LIST_HEAD(&(req)->waiters);\
/freebsd-current/sys/dev/hptnr/
H A Dldm.h111 struct list_head waiters; /* blocked commands */ member in struct:lock_request
122 INIT_LIST_HEAD(&(req)->waiters);\
/freebsd-current/sys/dev/hptrr/
H A Dldm.h110 struct list_head waiters; /* blocked commands */ member in struct:lock_request
121 INIT_LIST_HEAD(&(req)->waiters);\
/freebsd-current/sys/kern/
H A Dkern_sx.c426 uintptr_t waiters; local
439 * we will wake up the exclusive waiters when we drop the lock.
446 waiters = (x & SX_LOCK_WAITERS);
448 (uintptr_t)curthread | waiters)) {
493 * Try to switch from an exclusive lock with no shared waiters
494 * to one sharer with no shared waiters. If there are
495 * exclusive waiters, we don't need to lock the sleep queue so
500 * We have to lock the sleep queue if there are shared waiters
510 * Lock the sleep queue so we can read the waiters bits
511 * without any races and wakeup any shared waiters
[all...]

Completed in 112 milliseconds