Searched refs:cache_alloc (Results 1 – 2 of 2) sorted by relevance
788 struct entry_alloc cache_alloc; member976 return to_cblock(get_index(&mq->cache_alloc, e)); in infer_cblock()1026 unsigned threshold_level = allocator_empty(&mq->cache_alloc) ? in update_promote_levels()1121 free_entry(&mq->cache_alloc, demoted); in demote_cblock()1144 if (!allocator_empty(&mq->cache_alloc) && fast_promote) in should_promote()1160 if (allocator_empty(&mq->cache_alloc)) { in insert_in_cache()1171 e = alloc_entry(&mq->cache_alloc); in insert_in_cache()1369 e = alloc_particular_entry(&mq->cache_alloc, from_cblock(cblock)); in smq_load_mapping()1423 free_entry(&mq->cache_alloc, e); in __remove_mapping()1438 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock)); in __remove_cblock()[all …]
1806 static int cache_alloc(struct cache_sb *sb, struct cache *ca) in cache_alloc() function1861 ret = cache_alloc(sb, ca); in register_cache()