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

Function cache_fplookup_dirfd

freebsd/kern/vfs_cache.c:4047–4061  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4045}
4046
4047static int
4048cache_fplookup_dirfd(struct cache_fpl *fpl, struct vnode **vpp)
4049{
4050 struct nameidata *ndp;
4051 int error;
4052 bool fsearch;
4053
4054 ndp = fpl->ndp;
4055 error = fgetvp_lookup_smr(ndp->ni_dirfd, ndp, vpp, &fsearch);
4056 if (__predict_false(error != 0)) {
4057 return (cache_fpl_aborted(fpl));
4058 }
4059 fpl->fsearch = fsearch;
4060 return (0);
4061}
4062
4063static int __noinline
4064cache_fplookup_negative_promote(struct cache_fpl *fpl, struct namecache *oncp,

Callers 1

cache_fplookupFunction · 0.85

Calls 1

fgetvp_lookup_smrFunction · 0.85

Tested by

no test coverage detected