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

Function cache_lock_all_buckets

freebsd/kern/vfs_cache.c:802–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800}
801
802static void
803cache_lock_all_buckets(void)
804{
805 u_int i;
806
807 for (i = 0; i < numbucketlocks; i++)
808 mtx_lock(&bucketlocks[i]);
809}
810
811static void
812cache_unlock_all_buckets(void)

Callers 3

cache_changesizeFunction · 0.85

Calls 1

mtx_lockFunction · 0.70

Tested by

no test coverage detected