Searched refs:LRU_GEN_PGOFF (Results 1 – 3 of 3) sorted by relevance
161 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()
376 #define LRU_GEN_MASK ((BIT(LRU_GEN_WIDTH) - 1) << LRU_GEN_PGOFF)1049 #define LRU_GEN_PGOFF (KASAN_TAG_PGOFF - LRU_GEN_WIDTH) macro1050 #define LRU_REFS_PGOFF (LRU_GEN_PGOFF - LRU_REFS_WIDTH)
3789 new_flags |= (gen + 1UL) << LRU_GEN_PGOFF; in folio_update_gen()3792 return ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_update_gen()3806 new_gen = ((old_flags & LRU_GEN_MASK) >> LRU_GEN_PGOFF) - 1; in folio_inc_gen()3814 new_flags |= (new_gen + 1UL) << LRU_GEN_PGOFF; in folio_inc_gen()