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

Function rm_wowned

freebsd/kern/kern_rmlock.c:329–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329int
330rm_wowned(const struct rmlock *rm)
331{
332
333 if (rm->lock_object.lo_flags & LO_SLEEPABLE)
334 return (sx_xlocked(&rm->rm_lock_sx));
335 else
336 return (mtx_owned(&rm->rm_lock_mtx));
337}
338
339void
340rm_sysinit(void *arg)

Callers 3

unlock_rmFunction · 0.70
_rm_rlock_debugFunction · 0.70
_rm_assertFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected