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()
1062 1UL << PG_unevictable | __PG_MLOCKED | LRU_GEN_MASK)1073 ((PAGEFLAGS_MASK & ~__PG_HWPOISON) | LRU_GEN_MASK | LRU_REFS_MASK)
376 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF) macro
3782 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()
2447 LRU_GEN_MASK | LRU_REFS_MASK)); in __split_huge_page_tail()
782 LRU_GEN_MASK | LRU_REFS_MASK))) { in fuse_check_folio()