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

Function cache_neg_promote

freebsd/kern/vfs_cache.c:1254–1263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1252}
1253
1254static void
1255cache_neg_promote(struct namecache *ncp)
1256{
1257 struct neglist *nl;
1258
1259 nl = NCP2NEGLIST(ncp);
1260 mtx_lock(&nl->nl_lock);
1261 cache_neg_promote_locked(ncp);
1262 mtx_unlock(&nl->nl_lock);
1263}
1264
1265static void
1266cache_neg_insert(struct namecache *ncp)

Callers 2

cache_lookup_dotdotFunction · 0.85
cache_lookup_fallbackFunction · 0.85

Calls 4

NCP2NEGLISTFunction · 0.85
cache_neg_promote_lockedFunction · 0.85
mtx_lockFunction · 0.70
mtx_unlockFunction · 0.70

Tested by

no test coverage detected