Home
last modified time | relevance | path

Searched refs:tmp_cpus (Results 1 – 2 of 2) sorted by relevance

/linux/tools/lib/perf/
A Dcpumap.c108 int *tmp_cpus = NULL, *tmp; in perf_cpu_map__read() local
130 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() local
231 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() local
327 if (!tmp_cpus) in perf_cpu_map__merge()
[all …]
/linux/tools/lib/bpf/
A Dlibbpf.c11290 int err, n, i, tmp_cpus; in libbpf_num_possible_cpus() local
11293 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