Searched refs:MAX_NR_GENS (Results 1 – 2 of 2) sorted by relevance
122 return seq % MAX_NR_GENS; in lru_gen_from_seq()163 VM_WARN_ON_ONCE(gen >= MAX_NR_GENS); in lru_gen_is_active()178 VM_WARN_ON_ONCE(old_gen != -1 && old_gen >= MAX_NR_GENS); in lru_gen_update_size()179 VM_WARN_ON_ONCE(new_gen != -1 && new_gen >= MAX_NR_GENS); in lru_gen_update_size()
331 #define MAX_NR_GENS 4U macro382 #define NR_HIST_GENS MAX_NR_GENS406 unsigned long timestamps[MAX_NR_GENS];408 struct list_head lists[MAX_NR_GENS][ANON_AND_FILE][MAX_NR_ZONES];410 unsigned long nr_pages[MAX_NR_GENS][ANON_AND_FILE][MAX_NR_ZONES];464 int nr_pages[MAX_NR_GENS][ANON_AND_FILE][MAX_NR_ZONES];