Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Ddm-cache-policy-mq.c324 struct entry_pool { struct
330 static int epool_init(struct entry_pool *ep, unsigned nr_entries) in epool_init() argument
349 static void epool_exit(struct entry_pool *ep) in epool_exit()
354 static struct entry *alloc_entry(struct entry_pool *ep) in alloc_entry()
372 static struct entry *alloc_particular_entry(struct entry_pool *ep, dm_cblock_t cblock) in alloc_particular_entry()
383 static void free_entry(struct entry_pool *ep, struct entry *e) in free_entry()
394 static struct entry *epool_find(struct entry_pool *ep, dm_cblock_t cblock) in epool_find()
400 static bool epool_empty(struct entry_pool *ep) in epool_empty()
405 static bool in_pool(struct entry_pool *ep, struct entry *e) in in_pool()
410 static dm_cblock_t infer_cblock(struct entry_pool *ep, struct entry *e) in infer_cblock()
[all …]