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

Function cache_lock_all_vnodes

freebsd/kern/vfs_cache.c:820–827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

818}
819
820static void
821cache_lock_all_vnodes(void)
822{
823 u_int i;
824
825 for (i = 0; i < numvnodelocks; i++)
826 mtx_lock(&vnodelocks[i]);
827}
828
829static void
830cache_unlock_all_vnodes(void)

Callers 1

cache_changesizeFunction · 0.85

Calls 1

mtx_lockFunction · 0.70

Tested by

no test coverage detected