Home
last modified time | relevance | path

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

/linux-6.1.9/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.h367 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF)
939 #define LRU_GEN_PGOFF (KASAN_TAG_PGOFF - LRU_GEN_WIDTH) macro
940 #define LRU_REFS_PGOFF (LRU_GEN_PGOFF - LRU_REFS_WIDTH)
/linux-6.1.9/mm/
Dvmscan.c3664 new_flags |= (gen + 1UL) << LRU_GEN_PGOFF; in folio_update_gen()
3667 return ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_update_gen()
3681 new_gen = ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_inc_gen()
3689 new_flags |= (new_gen + 1UL) << LRU_GEN_PGOFF; in folio_inc_gen()