Searched refs:max_nr_alloc (Results 1 – 2 of 2) sorted by relevance
36 int slot, max_nr_alloc; in find_max_nr_alloc() local38 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() local143 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()
2938 int high, base_batch, batch, max_nr_alloc; in nr_pcp_alloc() local2963 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()