Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Ddm-cache-policy-mq.c430 struct entry_pool cache_pool; member
527 return !epool_empty(&mq->cache_pool); in any_free_cblocks()
553 return in_pool(&mq->cache_pool, e); in in_cache()
644 if ((mq->hit_count >= mq->generation_period) && (epool_empty(&mq->cache_pool))) { in check_generation()
719 free_entry(&mq->cache_pool, demoted); in demote_cblock()
795 result->cblock = infer_cblock(&mq->cache_pool, e); in cache_entry_found()
813 if (epool_empty(&mq->cache_pool)) { in pre_cache_to_cache()
824 new_e = alloc_entry(&mq->cache_pool); in pre_cache_to_cache()
835 result->cblock = infer_cblock(&mq->cache_pool, new_e); in pre_cache_to_cache()
892 if (epool_empty(&mq->cache_pool)) { in insert_in_cache()
[all …]