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

Function lockmgr_note_shared_release

freebsd/kern/kern_lock.c:214–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214static void
215lockmgr_note_shared_release(struct lock *lk, const char *file, int line)
216{
217
218 WITNESS_UNLOCK(&lk->lock_object, 0, file, line);
219 LOCK_LOG_LOCK("SUNLOCK", &lk->lock_object, 0, 0, file, line);
220 TD_LOCKS_DEC(curthread);
221 TD_SLOCKS_DEC(curthread);
222}
223
224static void
225lockmgr_note_exclusive_acquire(struct lock *lk, int contested,

Callers 3

lockmgr_upgradeFunction · 0.85
lockmgr_unlockFunction · 0.85
__lockmgr_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected