Home
last modified time | relevance | path

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

/mm/
Dpercpu-stats.c60 int i, last_alloc, as_len, start, end; in chunk_map_stats() local
79 as_len = 0; in chunk_map_stats()
95 alloc_sizes[as_len] = 1; in chunk_map_stats()
99 alloc_sizes[as_len] = -1; in chunk_map_stats()
102 alloc_sizes[as_len++] *= (end - start) * PCPU_MIN_ALLOC_SIZE; in chunk_map_stats()
111 if (as_len > 0) { in chunk_map_stats()
112 sort(alloc_sizes, as_len, sizeof(int), cmpint, NULL); in chunk_map_stats()
115 for (i = 0, p = alloc_sizes; *p < 0 && i < as_len; i++, p++) { in chunk_map_stats()
121 cur_med_alloc = alloc_sizes[(i + as_len - 1) / 2]; in chunk_map_stats()
122 cur_max_alloc = alloc_sizes[as_len - 1]; in chunk_map_stats()