Searched refs:get_nr_gens (Results 1 – 1 of 1) sorted by relevance
2659 static int get_nr_gens(struct lruvec *lruvec, int type) in get_nr_gens() function2667 return get_nr_gens(lruvec, LRU_GEN_FILE) >= MIN_NR_GENS && in seq_is_valid()2668 get_nr_gens(lruvec, LRU_GEN_FILE) <= get_nr_gens(lruvec, LRU_GEN_ANON) && in seq_is_valid()2669 get_nr_gens(lruvec, LRU_GEN_ANON) <= MAX_NR_GENS; in seq_is_valid()3816 if (get_nr_gens(lruvec, type) != MAX_NR_GENS) in inc_max_seq()4399 if (get_nr_gens(lruvec, type) == MIN_NR_GENS) in scan_folios()4581 if (get_nr_gens(lruvec, !swappiness) == MIN_NR_GENS) in evict_folios()