MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sleepq_lock

Function sleepq_lock

freebsd/kern/subr_sleepqueue.c:261–268  ·  view source on GitHub ↗

* Lock the sleep queue chain associated with the specified wait channel. */

Source from the content-addressed store, hash-verified

259 * Lock the sleep queue chain associated with the specified wait channel.
260 */
261void
262sleepq_lock(const void *wchan)
263{
264 struct sleepqueue_chain *sc;
265
266 sc = SC_LOOKUP(wchan);
267 mtx_lock_spin(&sc->sc_lock);
268}
269
270/*
271 * Look up the sleep queue associated with a given wait channel in the hash

Callers 15

cv_destroyFunction · 0.85
_cv_waitFunction · 0.85
_cv_wait_unlockFunction · 0.85
_cv_wait_sigFunction · 0.85
_cv_timedwait_sbtFunction · 0.85
_cv_timedwait_sig_sbtFunction · 0.85
cv_signalFunction · 0.85
cv_broadcastpriFunction · 0.85
foffset_lockFunction · 0.85
foffset_unlockFunction · 0.85
sx_downgrade_intFunction · 0.85
kern_sx.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected