Lines Matching refs:GetShard
32 GetShard(s)->SetCapacity(per_shard); in SetCapacity()
41 GetShard(s)->SetStrictCapacityLimit(strict_capacity_limit); in SetStrictCapacityLimit()
50 return GetShard(Shard(hash)) in Insert()
56 return GetShard(Shard(hash))->Lookup(key, hash); in Lookup()
61 return GetShard(Shard(hash))->Ref(handle); in Ref()
66 return GetShard(Shard(hash))->Release(handle, force_erase); in Release()
71 GetShard(Shard(hash))->Erase(key, hash); in Erase()
93 usage += GetShard(s)->GetUsage(); in GetUsage()
107 usage += GetShard(s)->GetPinnedUsage(); in GetPinnedUsage()
116 GetShard(s)->ApplyToAllCacheEntries(callback, thread_safe); in ApplyToAllCacheEntries()
123 GetShard(s)->EraseUnRefEntries(); in EraseUnRefEntries()
146 ret.append(GetShard(0)->GetPrintableOptions()); in GetPrintableOptions()