Searched refs:cache_alloc (Results 1 – 2 of 2) sorted by relevance
811 struct entry_alloc cache_alloc; member994 return to_cblock(get_index(&mq->cache_alloc, e)); in infer_cblock()1049 unsigned threshold_level = allocator_empty(&mq->cache_alloc) ? in update_promote_levels()1159 nr_free = from_cblock(mq->cache_size) - mq->cache_alloc.nr_allocated; in free_target_met()1242 if (allocator_empty(&mq->cache_alloc)) { in queue_promotion()1259 e = alloc_entry(&mq->cache_alloc); in queue_promotion()1267 free_entry(&mq->cache_alloc, e); in queue_promotion()1290 if (!allocator_empty(&mq->cache_alloc) && fast_promote) in should_promote()1468 struct entry *e = get_entry(&mq->cache_alloc, in __complete_background_work()1481 free_entry(&mq->cache_alloc, e); in __complete_background_work()[all …]
2235 static int cache_alloc(struct cache *ca) in cache_alloc() function2363 ret = cache_alloc(ca); in register_cache()