Searched refs:get_memcg_gen (Results 1 – 1 of 1) sorted by relevance
2621 #define get_memcg_gen(seq) ((seq) % MEMCG_NR_GENS) macro4185 new = get_memcg_gen(pgdat->memcg_lru.seq); in lru_gen_rotate_memcg()4187 new = get_memcg_gen(pgdat->memcg_lru.seq + 1); in lru_gen_rotate_memcg()4204 if (!pgdat->memcg_lru.nr_memcgs[old] && old == get_memcg_gen(pgdat->memcg_lru.seq)) in lru_gen_rotate_memcg()4226 gen = get_memcg_gen(pgdat->memcg_lru.seq); in lru_gen_online_memcg()4267 if (!pgdat->memcg_lru.nr_memcgs[gen] && gen == get_memcg_gen(pgdat->memcg_lru.seq)) in lru_gen_release_memcg()4854 gen = get_memcg_gen(READ_ONCE(pgdat->memcg_lru.seq)); in shrink_many()