Home
last modified time | relevance | path

Searched refs:cache_alloc (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/drivers/md/
H A Ddm-cache-policy-smq.c814 struct entry_alloc cache_alloc; member
997 return to_cblock(get_index(&mq->cache_alloc, e)); in infer_cblock()
1247 if (allocator_empty(&mq->cache_alloc)) { in queue_promotion()
1264 e = alloc_entry(&mq->cache_alloc); in queue_promotion()
1272 free_entry(&mq->cache_alloc, e); in queue_promotion()
1473 struct entry *e = get_entry(&mq->cache_alloc, in __complete_background_work()
1486 free_entry(&mq->cache_alloc, e); in __complete_background_work()
1495 free_entry(&mq->cache_alloc, e); in __complete_background_work()
1599 free_entry(&mq->cache_alloc, e); in smq_invalidate_mapping()
1621 r = to_cblock(mq->cache_alloc.nr_allocated); in smq_residency()
[all …]
/linux-6.15/drivers/md/bcache/
H A Dsuper.c2222 static int cache_alloc(struct cache *ca) in cache_alloc() function
2350 ret = cache_alloc(ca); in register_cache()