Lines Matching defs:cache_alloc
814 struct entry_alloc cache_alloc;
997 return to_cblock(get_index(&mq->cache_alloc, e));
1054 unsigned int threshold_level = allocator_empty(&mq->cache_alloc) ?
1164 nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated;
1247 if (allocator_empty(&mq->cache_alloc)) {
1264 e = alloc_entry(&mq->cache_alloc);
1272 free_entry(&mq->cache_alloc, e);
1295 if (!allocator_empty(&mq->cache_alloc) && fast_promote)
1473 struct entry *e = get_entry(&mq->cache_alloc,
1486 free_entry(&mq->cache_alloc, e);
1495 free_entry(&mq->cache_alloc, e);
1530 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1573 e = alloc_particular_entry(&mq->cache_alloc, from_cblock(cblock));
1591 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1599 free_entry(&mq->cache_alloc, e);
1606 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock));
1621 r = to_cblock(mq->cache_alloc.nr_allocated);
1768 init_allocator(&mq->cache_alloc, &mq->es,