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

Function cache_unlock_vnodes

freebsd/kern/vfs_cache.c:870–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

868}
869
870static void
871cache_unlock_vnodes(struct mtx *vlp1, struct mtx *vlp2)
872{
873
874 MPASS(vlp1 != NULL || vlp2 != NULL);
875
876 if (vlp1 != NULL)
877 mtx_unlock(vlp1);
878 if (vlp2 != NULL)
879 mtx_unlock(vlp2);
880}
881
882static int
883sysctl_nchstats(SYSCTL_HANDLER_ARGS)

Callers 2

cache_zap_locked_bucketFunction · 0.85

Calls 1

mtx_unlockFunction · 0.70

Tested by

no test coverage detected