Searched refs:MAX_NR_GENS (Results 1 – 2 of 2) sorted by relevance
127 return seq % MAX_NR_GENS; in lru_gen_from_seq()168 VM_WARN_ON_ONCE(gen >= MAX_NR_GENS); in lru_gen_is_active()183 VM_WARN_ON_ONCE(old_gen != -1 && old_gen >= MAX_NR_GENS); in lru_gen_update_size()184 VM_WARN_ON_ONCE(new_gen != -1 && new_gen >= MAX_NR_GENS); in lru_gen_update_size()
342 #define MAX_NR_GENS 4U macro393 #define NR_HIST_GENS MAX_NR_GENS417 unsigned long timestamps[MAX_NR_GENS];419 struct list_head folios[MAX_NR_GENS][ANON_AND_FILE][MAX_NR_ZONES];421 long nr_pages[MAX_NR_GENS][ANON_AND_FILE][MAX_NR_ZONES];482 int nr_pages[MAX_NR_GENS][ANON_AND_FILE][MAX_NR_ZONES];