Lines Matching refs:counters_max
24 values->counters_max = 16; in perf_read_values_init()
25 values->counterrawid = malloc(values->counters_max in perf_read_values_init()
27 values->countername = malloc(values->counters_max in perf_read_values_init()
51 if (!values->threads_max || !values->counters_max) in perf_read_values_destroy()
105 values->value[i] = zalloc(values->counters_max * sizeof(**values->value)); in perf_read_values__findnew_thread()
120 int i, counters_max = values->counters_max * 2; in perf_read_values__enlarge_counters() local
121 u64 *counterrawid = realloc(values->counterrawid, counters_max * sizeof(*values->counterrawid)); in perf_read_values__enlarge_counters()
128 countername = realloc(values->countername, counters_max * sizeof(*values->countername)); in perf_read_values__enlarge_counters()
135 u64 *value = realloc(values->value[i], counters_max * sizeof(**values->value)); in perf_read_values__enlarge_counters()
143 for (j = values->counters_max; j < counters_max; j++) in perf_read_values__enlarge_counters()
149 values->counters_max = counters_max; in perf_read_values__enlarge_counters()
171 if (values->counters == values->counters_max) { in perf_read_values__findnew_counter()