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

Function cache_assert_bucket_locked

freebsd/kern/vfs_cache.c:765–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763
764#ifdef INVARIANTS
765static void
766cache_assert_bucket_locked(struct namecache *ncp)
767{
768 struct mtx *blp;
769
770 blp = NCP2BUCKETLOCK(ncp);
771 mtx_assert(blp, MA_OWNED);
772}
773
774static void
775cache_assert_bucket_unlocked(struct namecache *ncp)

Callers 4

cache_neg_insertFunction · 0.85
cache_neg_removeFunction · 0.85
cache_zap_lockedFunction · 0.85
cache_zap_locked_bucketFunction · 0.85

Calls 2

NCP2BUCKETLOCKFunction · 0.85
mtx_assertFunction · 0.85

Tested by

no test coverage detected