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

Function cache_neg_hit_finish

freebsd/kern/vfs_cache.c:1127–1133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1125#define cache_neg_hit_abort(ncp) do { } while (0)
1126
1127static void
1128cache_neg_hit_finish(struct namecache *ncp)
1129{
1130
1131 SDT_PROBE2(vfs, namecache, lookup, hit__negative, ncp->nc_dvp, ncp->nc_name);
1132 counter_u64_add(numneghits, 1);
1133}
1134
1135/*
1136 * Move a negative entry to the hot list.

Callers 5

cache_neg_promote_condFunction · 0.85
cache_lookup_dotdotFunction · 0.85
cache_lookup_fallbackFunction · 0.85
cache_lookupFunction · 0.85
cache_fplookup_negFunction · 0.85

Calls 1

counter_u64_addFunction · 0.50

Tested by

no test coverage detected