Home
last modified time | relevance | path

Searched refs:ncbuckethash (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/kern/
H A Dvfs_cache.c574 #define numbucketlocks (ncbuckethash + 1)
575 static u_int __read_mostly ncbuckethash; variable
578 ((struct mtx *)(&bucketlocks[((hash) & ncbuckethash)]))
2785 ncbuckethash = cache_roundup_2(mp_ncpus * mp_ncpus) - 1; in nchinit()
2786 if (ncbuckethash < 7) /* arbitrarily chosen to avoid having one lock */ in nchinit()
2787 ncbuckethash = 7; in nchinit()
2788 if (ncbuckethash > nchash) in nchinit()
2789 ncbuckethash = nchash; in nchinit()
2794 ncvnodehash = ncbuckethash; in nchinit()