Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dmm_inline.h161 return ((flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_lru_gen()
252 flags = (gen + 1UL) << LRU_GEN_PGOFF; in lru_gen_add_folio()
280 gen = ((flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in lru_gen_del_folio()
Dmmzone.h376 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF)
1049 #define LRU_GEN_PGOFF (KASAN_TAG_PGOFF - LRU_GEN_WIDTH) macro
1050 #define LRU_REFS_PGOFF (LRU_GEN_PGOFF - LRU_REFS_WIDTH)
/Linux-v6.6/mm/
Dvmscan.c3789 new_flags |= (gen + 1UL) << LRU_GEN_PGOFF; in folio_update_gen()
3792 return ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_update_gen()
3806 new_gen = ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_inc_gen()
3814 new_flags |= (new_gen + 1UL) << LRU_GEN_PGOFF; in folio_inc_gen()