Lines Matching refs:max_entries
137 int max_entries = 0; in perf_cpu_map__read() local
153 if (new_max >= max_entries) { in perf_cpu_map__read()
154 max_entries = new_max + MAX_NR_CPUS / 2; in perf_cpu_map__read()
155 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read()
164 if (nr_cpus == max_entries) { in perf_cpu_map__read()
165 max_entries += MAX_NR_CPUS; in perf_cpu_map__read()
166 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__read()
211 int max_entries = 0; in perf_cpu_map__new() local
254 if (nr_cpus == max_entries) { in perf_cpu_map__new()
255 max_entries += MAX_NR_CPUS; in perf_cpu_map__new()
256 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); in perf_cpu_map__new()