Searched refs:LRU_GEN_MASK (Results 1 – 6 of 6) sorted by relevance
161 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()
1082 1UL << PG_unevictable | __PG_MLOCKED | LRU_GEN_MASK)1093 ((PAGEFLAGS_MASK & ~__PG_HWPOISON) | LRU_GEN_MASK | LRU_REFS_MASK)
378 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF) macro
3762 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()
2439 LRU_GEN_MASK | LRU_REFS_MASK)); in __split_huge_page_tail()
782 LRU_GEN_MASK | LRU_REFS_MASK))) { in fuse_check_folio()