Searched refs:tmp_cpus (Results 1 – 1 of 1) sorted by relevance
30 static struct cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new() argument37 memcpy(cpus->map, tmp_cpus, payload_size); in cpu_map__trim_new()47 int *tmp_cpus = NULL, *tmp; in cpu_map__read() local63 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()66 tmp_cpus = tmp; in cpu_map__read()70 tmp_cpus[nr_cpus++] = prev; in cpu_map__read()74 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read()77 tmp_cpus = tmp; in cpu_map__read()80 tmp_cpus[nr_cpus++] = cpu; in cpu_map__read()90 cpus = cpu_map__trim_new(nr_cpus, tmp_cpus); in cpu_map__read()[all …]