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

Function cache_fpl_pathlen_add

freebsd/kern/vfs_cache.c:5200–5207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5198 */
5199#ifdef INVARIANTS
5200static void
5201cache_fpl_pathlen_add(struct cache_fpl *fpl, size_t n)
5202{
5203
5204 fpl->debug.ni_pathlen += n;
5205 KASSERT(fpl->debug.ni_pathlen <= PATH_MAX,
5206 ("%s: pathlen overflow to %zd\n", __func__, fpl->debug.ni_pathlen));
5207}
5208
5209static void
5210cache_fpl_pathlen_sub(struct cache_fpl *fpl, size_t n)

Callers 3

cache_symlink_resolveFunction · 0.85
cache_fpl_pathlen_incFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected