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

Function cache_purge

freebsd/kern/vfs_cache.c:2675–2683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2673}
2674
2675void
2676cache_purge(struct vnode *vp)
2677{
2678
2679 SDT_PROBE1(vfs, namecache, purge, done, vp);
2680 if (!cache_has_entries(vp))
2681 return;
2682 cache_purge_impl(vp);
2683}
2684
2685/*
2686 * Only to be used by vgone.

Callers 11

mount_snapshotFunction · 0.85
cache_vop_rmdirFunction · 0.85
cache_vop_renameFunction · 0.85
zfs_rename_Function · 0.85
do_unlinkFunction · 0.85
mqfs_rmdirFunction · 0.85
vfs_mountroot_shuffleFunction · 0.85
cache_vop_renameFunction · 0.85
cache_vop_rmdirFunction · 0.85
cache_purgevfsFunction · 0.85
vfs_domount_firstFunction · 0.85

Calls 2

cache_has_entriesFunction · 0.85
cache_purge_implFunction · 0.85

Tested by

no test coverage detected