Home
last modified time | relevance | path

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

/linux-6.15/drivers/md/
H A Ddm-bufio.c351 unsigned char list_mode; /* LIST_* */ member
575 return bc->lru[list_mode].count; in cache_count()
720 if (list_mode != b->list_mode) { in cache_mark()
721 lru_remove(&bc->lru[b->list_mode], &b->lru); in cache_mark()
722 b->list_mode = list_mode; in cache_mark()
723 lru_insert(&bc->lru[b->list_mode], &b->lru); in cache_mark()
747 b->list_mode = new_mode; in __cache_mark_many()
748 lru_insert(&bc->lru[b->list_mode], &b->lru); in __cache_mark_many()
783 struct lru *lru = &bc->lru[list_mode]; in __cache_iterate()
855 if (WARN_ON_ONCE(b->list_mode >= LIST_SIZE)) in cache_insert()
[all …]