Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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()
Dpage-flags.h1062 1UL << PG_unevictable | __PG_MLOCKED | LRU_GEN_MASK)
1073 ((PAGEFLAGS_MASK & ~__PG_HWPOISON) | LRU_GEN_MASK | LRU_REFS_MASK)
Dmmzone.h376 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF) macro
/linux-6.6.21/mm/
Dvmscan.c3782 if (!(old_flags & LRU_GEN_MASK)) { in folio_update_gen()
3788 new_flags = old_flags & ~(LRU_GEN_MASK | LRU_REFS_MASK | LRU_REFS_FLAGS); in folio_update_gen()
3792 return ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_update_gen()
3803 VM_WARN_ON_ONCE_FOLIO(!(old_flags & LRU_GEN_MASK), folio); in folio_inc_gen()
3806 new_gen = ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_inc_gen()
3813 new_flags = old_flags & ~(LRU_GEN_MASK | LRU_REFS_MASK | LRU_REFS_FLAGS); in folio_inc_gen()
Dhuge_memory.c2447 LRU_GEN_MASK | LRU_REFS_MASK)); in __split_huge_page_tail()
/linux-6.6.21/fs/fuse/
Ddev.c782 LRU_GEN_MASK | LRU_REFS_MASK))) { in fuse_check_folio()