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

Function NCP2BUCKET

freebsd/kern/vfs_cache.c:746–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744}
745
746static inline struct nchashhead *
747NCP2BUCKET(struct namecache *ncp)
748{
749 uint32_t hash;
750
751 hash = cache_get_hash(ncp->nc_name, ncp->nc_nlen, ncp->nc_dvp);
752 return (NCHHASH(hash));
753}
754
755static inline struct mtx *
756NCP2BUCKETLOCK(struct namecache *ncp)

Callers 1

cache_zap_lockedFunction · 0.85

Calls 1

cache_get_hashFunction · 0.85

Tested by

no test coverage detected