Searched refs:get_nr_gens (Results 1 – 1 of 1) sorted by relevance
2719 static int get_nr_gens(struct lruvec *lruvec, int type) in get_nr_gens() function2727 return get_nr_gens(lruvec, LRU_GEN_FILE) >= MIN_NR_GENS && in seq_is_valid()2728 get_nr_gens(lruvec, LRU_GEN_FILE) <= get_nr_gens(lruvec, LRU_GEN_ANON) && in seq_is_valid()2729 get_nr_gens(lruvec, LRU_GEN_ANON) <= MAX_NR_GENS; in seq_is_valid()3867 if (get_nr_gens(lruvec, type) != MAX_NR_GENS) in inc_max_seq()4366 if (get_nr_gens(lruvec, type) == MIN_NR_GENS) in scan_pages()4541 if (get_nr_gens(lruvec, !swappiness) == MIN_NR_GENS) in evict_pages()