Searched refs:ncbuckethash (Results 1 – 1 of 1) sorted by relevance
574 #define numbucketlocks (ncbuckethash + 1)575 static u_int __read_mostly ncbuckethash; variable578 ((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()