Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/
Ddm-bufio.c348 unsigned char list_mode; /* LIST_* */ member
570 static inline unsigned long cache_count(struct dm_buffer_cache *bc, int list_mode) in cache_count() argument
572 return bc->lru[list_mode].count; in cache_count()
677 static struct dm_buffer *__cache_evict(struct dm_buffer_cache *bc, int list_mode, in __cache_evict() argument
685 le = lru_evict(&bc->lru[list_mode], __evict_pred, &w, bc->no_sleep); in __cache_evict()
696 static struct dm_buffer *cache_evict(struct dm_buffer_cache *bc, int list_mode, in cache_evict() argument
703 b = __cache_evict(bc, list_mode, pred, context, &lh); in cache_evict()
714 static void cache_mark(struct dm_buffer_cache *bc, struct dm_buffer *b, int list_mode) in cache_mark() argument
717 if (list_mode != b->list_mode) { in cache_mark()
718 lru_remove(&bc->lru[b->list_mode], &b->lru); in cache_mark()
[all …]