Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dlru_cache.c135 struct btrfs_lru_cache_entry *lru_entry; in btrfs_lru_cache_store() local
137 lru_entry = list_first_entry(&cache->lru_list, in btrfs_lru_cache_store()
140 btrfs_lru_cache_remove(cache, lru_entry); in btrfs_lru_cache_store()
/linux/drivers/md/
H A Ddm-bufio.c72 struct lru_entry { struct
80 struct lru_entry *stop; argument
81 struct lru_entry *e;
109 static void lru_insert(struct lru *lru, struct lru_entry *le) in lru_insert()
131 static inline struct lru_entry *to_le(struct list_head *l) in to_le()
133 return container_of(l, struct lru_entry, list); in to_le()
156 typedef bool (*iter_predicate)(struct lru_entry *le, void *context);
163 static struct lru_entry *lru_iter_next(struct lru_iter *it, in lru_iter_next()
166 struct lru_entry *e; in lru_iter_next()
188 static void lru_iter_invalidate(struct lru *lru, struct lru_entry *e) in lru_iter_invalidate()
[all …]
/linux/drivers/md/dm-vdo/
H A Dblock-map.h151 struct list_head lru_entry; member
H A Dblock-map.c204 INIT_LIST_HEAD(&info->lru_entry); in initialize_info()
343 if (info->cache->lru_list.prev != &info->lru_entry) in update_lru()
344 list_move_tail(&info->lru_entry, &info->cache->lru_list); in update_lru()
420 list_del_init(&info->lru_entry); in reset_page_info()
474 list_for_each_entry(info, &cache->lru_list, lru_entry) in select_lru_page()