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

/linux-4.1.27/drivers/md/
H A Ddm-cache-policy-mq.c324 struct entry_pool { struct
330 static int epool_init(struct entry_pool *ep, unsigned nr_entries) epool_init()
349 static void epool_exit(struct entry_pool *ep) epool_exit()
354 static struct entry *alloc_entry(struct entry_pool *ep) alloc_entry()
372 static struct entry *alloc_particular_entry(struct entry_pool *ep, dm_cblock_t cblock) alloc_particular_entry()
383 static void free_entry(struct entry_pool *ep, struct entry *e) free_entry()
394 static struct entry *epool_find(struct entry_pool *ep, dm_cblock_t cblock) epool_find()
400 static bool epool_empty(struct entry_pool *ep) epool_empty()
405 static bool in_pool(struct entry_pool *ep, struct entry *e) in_pool()
410 static dm_cblock_t infer_cblock(struct entry_pool *ep, struct entry *e) infer_cblock()
429 struct entry_pool pre_cache_pool;
430 struct entry_pool cache_pool;

Completed in 45 milliseconds