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

/linux-4.4.14/drivers/md/
H A Ddm-cache-policy-smq.c788 struct entry_alloc cache_alloc; member in struct:smq_policy
976 return to_cblock(get_index(&mq->cache_alloc, e)); infer_cblock()
1026 unsigned threshold_level = allocator_empty(&mq->cache_alloc) ? update_promote_levels()
1121 free_entry(&mq->cache_alloc, demoted); demote_cblock()
1144 if (!allocator_empty(&mq->cache_alloc) && fast_promote) should_promote()
1160 if (allocator_empty(&mq->cache_alloc)) { insert_in_cache()
1171 e = alloc_entry(&mq->cache_alloc); insert_in_cache()
1369 e = alloc_particular_entry(&mq->cache_alloc, from_cblock(cblock)); smq_load_mapping()
1423 free_entry(&mq->cache_alloc, e); __remove_mapping()
1438 struct entry *e = get_entry(&mq->cache_alloc, from_cblock(cblock)); __remove_cblock()
1444 free_entry(&mq->cache_alloc, e); __remove_cblock()
1551 r = to_cblock(mq->cache_alloc.nr_allocated); smq_residency()
1646 init_allocator(&mq->cache_alloc, &mq->es, smq_create()
/linux-4.4.14/drivers/md/bcache/
H A Dsuper.c1806 static int cache_alloc(struct cache_sb *sb, struct cache *ca) cache_alloc() function
1861 ret = cache_alloc(sb, ca); register_cache()

Completed in 105 milliseconds