Searched refs:ncbuckethash (Results 1 – 1 of 1) sorted by relevance
561 #define numbucketlocks (ncbuckethash + 1)562 static u_int __read_mostly ncbuckethash; variable565 ((struct mtx *)(&bucketlocks[((hash) & ncbuckethash)]))2777 ncbuckethash = cache_roundup_2(mp_ncpus * mp_ncpus) - 1; in nchinit()2778 if (ncbuckethash < 7) /* arbitrarily chosen to avoid having one lock */ in nchinit()2779 ncbuckethash = 7; in nchinit()2780 if (ncbuckethash > nchash) in nchinit()2781 ncbuckethash = nchash; in nchinit()2786 ncvnodehash = ncbuckethash; in nchinit()