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

Function cache_fpl_isdotdot

freebsd/kern/vfs_cache.c:4003–4011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4001}
4002
4003static bool
4004cache_fpl_isdotdot(struct componentname *cnp)
4005{
4006
4007 if (cnp->cn_namelen == 2 &&
4008 cnp->cn_nameptr[1] == '.' && cnp->cn_nameptr[0] == '.')
4009 return (true);
4010 return (false);
4011}
4012
4013static bool
4014cache_can_fplookup(struct cache_fpl *fpl)

Callers 5

cache_fplookup_noentryFunction · 0.85
cache_fplookup_dotdotFunction · 0.85
cache_fplookup_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected