Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Ddm-cache-policy-mq.c417 struct mq_policy { struct
495 static void hash_insert(struct mq_policy *mq, struct entry *e) in hash_insert() argument
502 static struct entry *hash_lookup(struct mq_policy *mq, dm_oblock_t oblock) in hash_lookup()
525 static bool any_free_cblocks(struct mq_policy *mq) in any_free_cblocks()
530 static bool any_clean_cblocks(struct mq_policy *mq) in any_clean_cblocks()
551 static bool in_cache(struct mq_policy *mq, struct entry *e) in in_cache()
561 static void push(struct mq_policy *mq, struct entry *e) in push()
575 static void del(struct mq_policy *mq, struct entry *e) in del()
589 static struct entry *pop(struct mq_policy *mq, struct queue *q) in pop()
603 static struct entry *pop_old(struct mq_policy *mq, struct queue *q) in pop_old()
[all …]