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

Function cache_fplookup_negative_promote

freebsd/kern/vfs_cache.c:4063–4078  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4061}
4062
4063static int __noinline
4064cache_fplookup_negative_promote(struct cache_fpl *fpl, struct namecache *oncp,
4065 uint32_t hash)
4066{
4067 struct componentname *cnp;
4068 struct vnode *dvp;
4069
4070 cnp = fpl->cnp;
4071 dvp = fpl->dvp;
4072
4073 cache_fpl_smr_exit(fpl);
4074 if (cache_neg_promote_cond(dvp, cnp, oncp, hash))
4075 return (cache_fpl_handled_error(fpl, ENOENT));
4076 else
4077 return (cache_fpl_aborted(fpl));
4078}
4079
4080/*
4081 * The target vnode is not supported, prepare for the slow path to take over.

Callers 1

cache_fplookup_negFunction · 0.85

Calls 1

cache_neg_promote_condFunction · 0.85

Tested by

no test coverage detected