Lines Matching refs:nr_cpus
186 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_record() local
187 struct datarec values[nr_cpus]; in map_collect_record()
203 for (i = 0; i < nr_cpus; i++) { in map_collect_record()
223 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_record_u64() local
224 struct u64rec values[nr_cpus]; in map_collect_record_u64()
237 for (i = 0; i < nr_cpus; i++) { in map_collect_record_u64()
333 unsigned int nr_cpus = bpf_num_possible_cpus(); in stats_print() local
354 for (i = 0; i < nr_cpus; i++) { in stats_print()
379 for (i = 0; i < nr_cpus; i++) { in stats_print()
405 for (i = 0; i < nr_cpus; i++) { in stats_print()
444 for (i = 0; i < nr_cpus; i++) { in stats_print()
477 for (i = 0; i < nr_cpus; i++) { in stats_print()
545 unsigned int nr_cpus = bpf_num_possible_cpus(); in alloc_rec_per_cpu() local
548 array = calloc(nr_cpus, record_size); in alloc_rec_per_cpu()
550 fprintf(stderr, "Mem alloc error (nr_cpus:%u)\n", nr_cpus); in alloc_rec_per_cpu()