Searched refs:ncbuckethash (Results 1 – 1 of 1) sorted by relevance
405 #define numbucketlocks (ncbuckethash + 1)406 static u_int __read_mostly ncbuckethash; variable409 ((struct mtx *)(&bucketlocks[((hash) & ncbuckethash)]))2539 ncbuckethash = cache_roundup_2(mp_ncpus * mp_ncpus) - 1; in nchinit()2540 if (ncbuckethash < 7) /* arbitrarily chosen to avoid having one lock */ in nchinit()2541 ncbuckethash = 7; in nchinit()2542 if (ncbuckethash > nchash) in nchinit()2543 ncbuckethash = nchash; in nchinit()2548 ncvnodehash = ncbuckethash; in nchinit()