Home
last modified time | relevance | path

Searched refs:max_nr_alloc (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/mm/
Dpercpu-stats.c36 int slot, max_nr_alloc; in find_max_nr_alloc() local
38 max_nr_alloc = 0; in find_max_nr_alloc()
41 max_nr_alloc = max(max_nr_alloc, chunk->nr_alloc); in find_max_nr_alloc()
43 return max_nr_alloc; in find_max_nr_alloc()
138 int slot, max_nr_alloc; in percpu_stats_show() local
143 max_nr_alloc = find_max_nr_alloc(); in percpu_stats_show()
147 buffer = vmalloc_array(2 * max_nr_alloc + 1, sizeof(int)); in percpu_stats_show()
154 if (max_nr_alloc < find_max_nr_alloc()) { in percpu_stats_show()
Dpage_alloc.c2938 int high, base_batch, batch, max_nr_alloc; in nr_pcp_alloc() local
2963 max_nr_alloc = max(high - pcp->count - base_batch, base_batch); in nr_pcp_alloc()
2968 if (batch <= max_nr_alloc && in nr_pcp_alloc()
2971 batch = min(batch, max_nr_alloc); in nr_pcp_alloc()