Searched refs:alloc_sizes (Results 1 – 1 of 1) sorted by relevance
57 int *alloc_sizes, *p; in chunk_map_stats() local62 alloc_sizes = buffer; 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()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()116 cur_min_alloc = alloc_sizes[i]; 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()