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

Function _rm_wunlock_debug

freebsd/kern/kern_rmlock.c:617–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

615}
616
617void
618_rm_wunlock_debug(struct rmlock *rm, const char *file, int line)
619{
620
621 if (SCHEDULER_STOPPED())
622 return;
623
624 KASSERT(!rm_destroyed(rm),
625 ("rm_wunlock() of destroyed rmlock @ %s:%d", file, line));
626 _rm_assert(rm, RA_WLOCKED, file, line);
627 WITNESS_UNLOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
628 LOCK_LOG_LOCK("RMWUNLOCK", &rm->lock_object, 0, 0, file, line);
629 _rm_wunlock(rm);
630 TD_LOCKS_DEC(curthread);
631}
632
633int
634_rm_rlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,

Callers

nothing calls this directly

Calls 2

_rm_assertFunction · 0.85
_rm_wunlockFunction · 0.70

Tested by

no test coverage detected