Lines Matching refs:nlocks_
71 nlocks_(nlocks) {
76 assert(nlocks_);
84 locks_.reset(new port::RWMutex[nlocks_]);
86 mlock(locks_.get(), nlocks_ * sizeof(port::RWMutex));
102 const uint32_t lock_idx = bucket_idx % nlocks_; in Insert()
117 const uint32_t lock_idx = bucket_idx % nlocks_; in Find()
138 const uint32_t lock_idx = bucket_idx % nlocks_; in Erase()
152 const uint32_t lock_idx = bucket_idx % nlocks_; in GetMutex()
159 const uint32_t lock_idx = i % nlocks_; in Clear()
224 WriteLock _(&locks_[i % nlocks_]); in AssertEmptyBuckets()
232 const uint32_t nlocks_; // No. of locks variable