Lines Matching refs:Cache
39 typedef DenseSlabAllocCache Cache; typedef
40 typedef typename Cache::IndexT IndexT;
61 IndexT Alloc(Cache *c) { in Alloc()
67 void Free(Cache *c, IndexT idx) { in Free()
69 if (c->pos == Cache::kSize) in Free()
80 void FlushCache(Cache *c) { in FlushCache()
89 void InitCache(Cache *c) { in InitCache()
100 void Refill(Cache *c) { in Refill()
118 for (uptr i = 0; i < Cache::kSize / 2 && freelist_ != 0; i++) { in Refill()
125 void Drain(Cache *c) { in Drain()
127 for (uptr i = 0; i < Cache::kSize / 2; i++) { in Drain()