Searched refs:as_len (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/mm/ |
D | percpu-stats.c | 56 int i, last_alloc, as_len, start, end; in chunk_map_stats() local 75 as_len = 0; in chunk_map_stats() 91 alloc_sizes[as_len] = 1; in chunk_map_stats() 95 alloc_sizes[as_len] = -1; in chunk_map_stats() 98 alloc_sizes[as_len++] *= (end - start) * PCPU_MIN_ALLOC_SIZE; in chunk_map_stats() 107 if (as_len > 0) { in chunk_map_stats() 108 sort(alloc_sizes, as_len, sizeof(int), cmpint, NULL); in chunk_map_stats() 111 for (i = 0, p = alloc_sizes; *p < 0 && i < as_len; i++, p++) { in chunk_map_stats() 117 cur_med_alloc = alloc_sizes[(i + as_len - 1) / 2]; in chunk_map_stats() 118 cur_max_alloc = alloc_sizes[as_len - 1]; in chunk_map_stats()
|