Lines Matching refs:max_entries
48 int max_entries = 0; in cpu_map__read() local
61 if (new_max >= max_entries) { in cpu_map__read()
62 max_entries = new_max + MAX_NR_CPUS / 2; in cpu_map__read()
63 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()
72 if (nr_cpus == max_entries) { in cpu_map__read()
73 max_entries += MAX_NR_CPUS; in cpu_map__read()
74 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()
119 int max_entries = 0; in cpu_map__new() local
154 if (nr_cpus == max_entries) { in cpu_map__new()
155 max_entries += MAX_NR_CPUS; in cpu_map__new()
156 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__new()