Searched refs:tmp_cpus (Results 1 – 1 of 1) sorted by relevance
28 static struct cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new() argument35 memcpy(cpus->map, tmp_cpus, payload_size); in cpu_map__trim_new()46 int *tmp_cpus = NULL, *tmp; in cpu_map__read_all_cpu_map() local66 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read_all_cpu_map()69 tmp_cpus = tmp; in cpu_map__read_all_cpu_map()73 tmp_cpus[nr_cpus++] = prev; in cpu_map__read_all_cpu_map()77 tmp = realloc(tmp_cpus, max_entries * sizeof(int)); in cpu_map__read_all_cpu_map()80 tmp_cpus = tmp; in cpu_map__read_all_cpu_map()83 tmp_cpus[nr_cpus++] = cpu; in cpu_map__read_all_cpu_map()93 cpus = cpu_map__trim_new(nr_cpus, tmp_cpus); in cpu_map__read_all_cpu_map()[all …]