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

Function cache_fplookup_is_mp

freebsd/kern/vfs_cache.c:5178–5185  ·  view source on GitHub ↗

* Check if a vnode is mounted on. */

Source from the content-addressed store, hash-verified

5176 * Check if a vnode is mounted on.
5177 */
5178static bool
5179cache_fplookup_is_mp(struct cache_fpl *fpl)
5180{
5181 struct vnode *vp;
5182
5183 vp = fpl->tvp;
5184 return ((vn_irflag_read(vp) & VIRF_MOUNTPOINT) != 0);
5185}
5186
5187/*
5188 * Parse the path.

Callers 4

cache_fplookup_noentryFunction · 0.85
cache_fplookup_dotFunction · 0.85
cache_fplookup_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected