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

Function cache_assert_vlp_locked

freebsd/kern/vfs_cache.c:516–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

514static MALLOC_DEFINE(M_VFSCACHE, "vfscache", "VFS name cache entries");
515
516static inline void
517cache_assert_vlp_locked(struct mtx *vlp)
518{
519
520 if (vlp != NULL)
521 mtx_assert(vlp, MA_OWNED);
522}
523
524static inline void
525cache_assert_vnode_locked(struct vnode *vp)

Callers 2

cache_lock_vnodes_cel_3Function · 0.85

Calls 1

mtx_assertFunction · 0.85

Tested by

no test coverage detected