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

Function cache_assert_bucket_unlocked

freebsd/kern/vfs_cache.c:774–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774static void
775cache_assert_bucket_unlocked(struct namecache *ncp)
776{
777 struct mtx *blp;
778
779 blp = NCP2BUCKETLOCK(ncp);
780 mtx_assert(blp, MA_NOTOWNED);
781}
782#else
783#define cache_assert_bucket_locked(x) do { } while (0)
784#define cache_assert_bucket_unlocked(x) do { } while (0)

Callers 1

Calls 2

NCP2BUCKETLOCKFunction · 0.85
mtx_assertFunction · 0.85

Tested by

no test coverage detected