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

Function cache_assert_vnode_locked

freebsd/kern/vfs_cache.c:524–531  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

522}
523
524static inline void
525cache_assert_vnode_locked(struct vnode *vp)
526{
527 struct mtx *vlp;
528
529 vlp = VP2VNODELOCK(vp);
530 cache_assert_vlp_locked(vlp);
531}
532
533/*
534 * Directory vnodes with entries are held for two reasons:

Callers 5

cache_hold_vnodeFunction · 0.85
cache_zap_lockedFunction · 0.85
vn_dd_from_dstFunction · 0.85

Calls 2

VP2VNODELOCKFunction · 0.85
cache_assert_vlp_lockedFunction · 0.85

Tested by

no test coverage detected