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

Function _rm_runlock_debug

freebsd/kern/kern_rmlock.c:680–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

678}
679
680void
681_rm_runlock_debug(struct rmlock *rm, struct rm_priotracker *tracker,
682 const char *file, int line)
683{
684
685 if (SCHEDULER_STOPPED())
686 return;
687
688 KASSERT(!rm_destroyed(rm),
689 ("rm_runlock() of destroyed rmlock @ %s:%d", file, line));
690 _rm_assert(rm, RA_RLOCKED, file, line);
691 WITNESS_UNLOCK(&rm->lock_object, 0, file, line);
692 LOCK_LOG_LOCK("RMRUNLOCK", &rm->lock_object, 0, 0, file, line);
693 _rm_runlock(rm, tracker);
694 TD_LOCKS_DEC(curthread);
695}
696
697#else
698

Callers

nothing calls this directly

Calls 2

_rm_assertFunction · 0.85
_rm_runlockFunction · 0.70

Tested by

no test coverage detected