Lines Matching refs:MIN_NR_GENS
3180 return get_nr_gens(lruvec, LRU_GEN_FILE) >= MIN_NR_GENS && in seq_is_valid()
4279 while (min_seq[type] + MIN_NR_GENS <= lrugen->max_seq) { in try_to_inc_min_seq()
4455 else if (seq + MIN_NR_GENS == max_seq) in should_run_aging()
4468 if (min_seq[!can_swap] + MIN_NR_GENS > max_seq) in should_run_aging()
4470 if (min_seq[!can_swap] + MIN_NR_GENS < max_seq) in should_run_aging()
4480 if (young * MIN_NR_GENS > total) in should_run_aging()
4482 if (old * (MIN_NR_GENS + 2) < total) in should_run_aging()
4828 if (get_nr_gens(lruvec, type) == MIN_NR_GENS) in scan_folios()
5002 if (get_nr_gens(lruvec, !swappiness) == MIN_NR_GENS) in evict_folios()
5107 return min_seq[!can_swap] + MIN_NR_GENS <= max_seq ? nr_to_scan : 0; in get_nr_to_scan()
5638 if (seq + MIN_NR_GENS > max_seq) in run_eviction()
5811 lrugen->max_seq = MIN_NR_GENS + 1; in lru_gen_init_lruvec()
5814 for (i = 0; i <= MIN_NR_GENS + 1; i++) in lru_gen_init_lruvec()
5820 lruvec->mm_state.seq = MIN_NR_GENS; in lru_gen_init_lruvec()
5852 BUILD_BUG_ON(MIN_NR_GENS + 1 >= MAX_NR_GENS); in init_lru_gen()