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

Function cache_fpl_cleanup_cnp

freebsd/kern/vfs_cache.c:3745–3754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3743static void cache_fpl_pathlen_sub(struct cache_fpl *fpl, size_t n);
3744
3745static void
3746cache_fpl_cleanup_cnp(struct componentname *cnp)
3747{
3748
3749 uma_zfree(namei_zone, cnp->cn_pnbuf);
3750#ifdef DIAGNOSTIC
3751 cnp->cn_pnbuf = NULL;
3752 cnp->cn_nameptr = NULL;
3753#endif
3754}
3755
3756static struct vnode *
3757cache_fpl_handle_root(struct cache_fpl *fpl)

Callers 2

cache_fpl_aborted_implFunction · 0.85
cache_fplookupFunction · 0.85

Calls 1

uma_zfreeFunction · 0.50

Tested by

no test coverage detected