Searched refs:tmp_cpus (Results 1 – 2 of 2) sorted by relevance
108 int *tmp_cpus = NULL, *tmp; in perf_cpu_map__read() local130 tmp_cpus = tmp; in perf_cpu_map__read()141 tmp_cpus = tmp; in perf_cpu_map__read()144 tmp_cpus[nr_cpus++] = cpu; in perf_cpu_map__read()158 free(tmp_cpus); in perf_cpu_map__read()182 int *tmp_cpus = NULL, *tmp; in perf_cpu_map__new() local231 tmp_cpus = tmp; in perf_cpu_map__new()248 free(tmp_cpus); in perf_cpu_map__new()308 int *tmp_cpus; in perf_cpu_map__merge() local327 if (!tmp_cpus) in perf_cpu_map__merge()[all …]
11290 int err, n, i, tmp_cpus; in libbpf_num_possible_cpus() local11293 tmp_cpus = READ_ONCE(cpus); in libbpf_num_possible_cpus()11294 if (tmp_cpus > 0) in libbpf_num_possible_cpus()11295 return tmp_cpus; in libbpf_num_possible_cpus()11301 tmp_cpus = 0; in libbpf_num_possible_cpus()11304 tmp_cpus++; in libbpf_num_possible_cpus()11308 WRITE_ONCE(cpus, tmp_cpus); in libbpf_num_possible_cpus()11309 return tmp_cpus; in libbpf_num_possible_cpus()
Completed in 27 milliseconds