Lines Matching refs:wb_cache_entry

22 struct wb_cache_entry {  struct
52 struct wb_cache_entry *cblocks; argument
125 static struct wb_cache_entry *alloc_cache_entry(struct policy *p) in alloc_cache_entry()
127 struct wb_cache_entry *e; in alloc_cache_entry()
131 e = list_entry(list_pop(&p->free), struct wb_cache_entry, list); in alloc_cache_entry()
140 static struct wb_cache_entry *lookup_cache_entry(struct policy *p, dm_oblock_t oblock) in lookup_cache_entry()
144 struct wb_cache_entry *cur; in lookup_cache_entry()
159 static void insert_cache_hash_entry(struct policy *p, struct wb_cache_entry *e) in insert_cache_hash_entry()
166 static void remove_cache_hash_entry(struct wb_cache_entry *e) in remove_cache_hash_entry()
178 struct wb_cache_entry *e; in wb_map()
205 struct wb_cache_entry *e; in wb_lookup()
227 struct wb_cache_entry *e; in __set_clear_dirty()
267 static void add_cache_entry(struct policy *p, struct wb_cache_entry *e) in add_cache_entry()
282 struct wb_cache_entry *e = alloc_cache_entry(p); in wb_load_mapping()
305 static struct wb_cache_entry *__wb_force_remove_mapping(struct policy *p, dm_oblock_t oblock) in __wb_force_remove_mapping()
307 struct wb_cache_entry *r = lookup_cache_entry(p, oblock); in __wb_force_remove_mapping()
320 struct wb_cache_entry *e; in wb_remove_mapping()
335 struct wb_cache_entry *e; in wb_force_mapping()
345 static struct wb_cache_entry *get_next_dirty_entry(struct policy *p) in get_next_dirty_entry()
348 struct wb_cache_entry *r; in get_next_dirty_entry()
354 r = container_of(l, struct wb_cache_entry, list); in get_next_dirty_entry()
366 struct wb_cache_entry *e; in wb_writeback_work()