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

Function NCP2NEGSTATE

freebsd/kern/vfs_cache.c:397–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397static inline struct negstate *
398NCP2NEGSTATE(struct namecache *ncp)
399{
400
401 MPASS(atomic_load_char(&ncp->nc_flag) & NCF_NEGATIVE);
402 return (&ncp->nc_neg);
403}
404
405#define numbucketlocks (ncbuckethash + 1)
406static u_int __read_mostly ncbuckethash;

Callers 6

cache_neg_initFunction · 0.85
cache_neg_hit_prepFunction · 0.85
cache_neg_promote_lockedFunction · 0.85
cache_neg_demote_lockedFunction · 0.85
cache_neg_removeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected