Searched refs:map_nr_max (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/linux/
H A Dshrinker.h23 int map_nr_max; member in struct:shrinker_info
/linux-master/mm/
H A Dshrinker.c30 nr = DIV_ROUND_UP(info->map_nr_max, SHRINKER_UNIT_BITS);
45 int nr = DIV_ROUND_UP(new->map_nr_max, SHRINKER_UNIT_BITS);
46 int start = old ? DIV_ROUND_UP(old->map_nr_max, SHRINKER_UNIT_BITS) : 0;
89 info->map_nr_max = shrinker_nr_max;
126 if (new_nr_max <= old->map_nr_max)
133 new->map_nr_max = new_nr_max;
203 if (!WARN_ON_ONCE(shrinker_id >= info->map_nr_max)) {
300 for (index = 0; index < shrinker_id_to_index(child_info->map_nr_max); index++) {
518 if (index < shrinker_id_to_index(info->map_nr_max)) {

Completed in 132 milliseconds