Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dmm_inline.h161 return ((flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_lru_gen()
259 set_mask_bits(&folio->flags, LRU_GEN_MASK | BIT(PG_active), flags); in lru_gen_add_folio()
284 flags = set_mask_bits(&folio->flags, LRU_GEN_MASK, flags); in lru_gen_del_folio()
285 gen = ((flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in lru_gen_del_folio()
H A Dpage-flags.h1082 1UL << PG_unevictable | __PG_MLOCKED | LRU_GEN_MASK)
1093 ((PAGEFLAGS_MASK & ~__PG_HWPOISON) | LRU_GEN_MASK | LRU_REFS_MASK)
H A Dmmzone.h378 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF) macro
/openbmc/linux/mm/
H A Dvmscan.c3762 if (!(old_flags & LRU_GEN_MASK)) { in folio_update_gen()
3768 new_flags = old_flags & ~(LRU_GEN_MASK | LRU_REFS_MASK | LRU_REFS_FLAGS); in folio_update_gen()
3772 return ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_update_gen()
3783 VM_WARN_ON_ONCE_FOLIO(!(old_flags & LRU_GEN_MASK), folio); in folio_inc_gen()
3786 new_gen = ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_inc_gen()
3793 new_flags = old_flags & ~(LRU_GEN_MASK | LRU_REFS_MASK | LRU_REFS_FLAGS); in folio_inc_gen()
H A Dhuge_memory.c2439 LRU_GEN_MASK | LRU_REFS_MASK)); in __split_huge_page_tail()
/openbmc/linux/fs/fuse/
H A Ddev.c782 LRU_GEN_MASK | LRU_REFS_MASK))) { in fuse_check_folio()