Lines Matching defs:e
356 struct entry *e; in alloc_entry() local
374 struct entry *e = ep->entries + from_cblock(cblock); in alloc_particular_entry() local
383 static void free_entry(struct entry_pool *ep, struct entry *e) in free_entry()
396 struct entry *e = ep->entries + from_cblock(cblock); in epool_find() local
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()
495 static void hash_insert(struct mq_policy *mq, struct entry *e) in hash_insert()
506 struct entry *e; in hash_lookup() local
518 static void hash_remove(struct entry *e) in hash_remove()
546 static unsigned queue_level(struct entry *e) in queue_level()
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()
591 struct entry *e; in pop() local
605 struct entry *e; in pop_old() local
642 struct entry *e; in check_generation() local
674 static void requeue(struct mq_policy *mq, struct entry *e) in requeue()
737 struct entry *e; in promote_threshold() local
780 static bool should_promote(struct mq_policy *mq, struct entry *e, in should_promote()
788 struct entry *e, in cache_entry_found()
805 static int pre_cache_to_cache(struct mq_policy *mq, struct entry *e, in pre_cache_to_cache()
840 static int pre_cache_entry_found(struct mq_policy *mq, struct entry *e, in pre_cache_entry_found()
865 struct entry *e = alloc_entry(&mq->pre_cache_pool); in insert_in_pre_cache() local
890 struct entry *e; in insert_in_cache() local
948 struct entry *e = hash_lookup(mq, oblock); in map() local
995 struct entry *e = container_of(h, struct entry, list); in update_pre_cache_hits() local
1002 struct entry *e = container_of(h, struct entry, list); in update_cache_hits() local
1057 struct entry *e; in mq_lookup() local
1076 struct entry *e; in __mq_set_clear_dirty() local
1109 struct entry *e; in mq_load_mapping() local
1126 struct entry *e; in mq_save_hints() local
1162 struct entry *e; in __remove_mapping() local
1182 struct entry *e = epool_find(&mq->cache_pool, cblock); in __remove_cblock() local
1222 struct entry *e = pop_old(mq, &mq->cache_dirty); in __mq_writeback_work() local
1254 struct entry *e = hash_lookup(mq, current_oblock); in __force_mapping() local