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

Function vn_dd_from_dst

freebsd/kern/vfs_cache.c:3016–3027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3014}
3015
3016static struct namecache *
3017vn_dd_from_dst(struct vnode *vp)
3018{
3019 struct namecache *ncp;
3020
3021 cache_assert_vnode_locked(vp);
3022 TAILQ_FOREACH(ncp, &vp->v_cache_dst, nc_dst) {
3023 if ((ncp->nc_flag & NCF_ISDOTDOT) == 0)
3024 return (ncp);
3025 }
3026 return (NULL);
3027}
3028
3029int
3030vn_vptocnp(struct vnode **vp, char *buf, size_t *buflen)

Callers 1

vn_vptocnpFunction · 0.85

Calls 1

Tested by

no test coverage detected