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

Function rms_destroy

freebsd/kern/kern_rmlock.c:994–1002  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

992}
993
994void
995rms_destroy(struct rmslock *rms)
996{
997
998 MPASS(rms->writers == 0);
999 MPASS(rms->readers == 0);
1000 mtx_destroy(&rms->mtx);
1001 uma_zfree_pcpu(pcpu_zone_8, rms->pcpu);
1002}
1003
1004static void __noinline
1005rms_rlock_fallback(struct rmslock *rms)

Callers

nothing calls this directly

Calls 1

uma_zfree_pcpuFunction · 0.50

Tested by

no test coverage detected