Lines Matching refs:Cache
37 typedef DenseSlabAllocCache Cache; typedef
38 typedef typename Cache::IndexT IndexT;
60 IndexT Alloc(Cache *c) { in Alloc()
66 void Free(Cache *c, IndexT idx) { in Free()
68 if (c->pos == Cache::kSize) in Free()
79 void FlushCache(Cache *c) { in FlushCache()
88 void InitCache(Cache *c) { in InitCache()
100 void Refill(Cache *c) { in Refill()
121 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
128 void Drain(Cache *c) { in Drain()
130 for (uptr i = 0; i < Cache::kSize / 2; i++) { in Drain()