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

Function mtx_unlock

freebsd/kern/subr_unit.c:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157static void
158mtx_unlock(struct mtx *mp)
159{
160 KASSERT(mp->state == 1, ("mutex not locked"));
161 mp->state = 0;
162}
163
164#define MA_OWNED 9
165

Callers 15

_rm_rlock_hardFunction · 0.70
_rm_wunlockFunction · 0.70
rms_rlock_fallbackFunction · 0.70
rms_runlock_fallbackFunction · 0.70
rms_wlockFunction · 0.70
rms_wunlockFunction · 0.70
epoch_trace_reportFunction · 0.70
epoch_drain_cbFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected