Lines Matching refs:nr_cpus
151 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_record() local
152 struct datarec values[nr_cpus]; in map_collect_record()
168 for (i = 0; i < nr_cpus; i++) { in map_collect_record()
188 unsigned int nr_cpus = bpf_num_possible_cpus(); in map_collect_record_u64() local
189 struct u64rec values[nr_cpus]; in map_collect_record_u64()
202 for (i = 0; i < nr_cpus; i++) { in map_collect_record_u64()
298 unsigned int nr_cpus = bpf_num_possible_cpus(); in stats_print() local
319 for (i = 0; i < nr_cpus; i++) { in stats_print()
344 for (i = 0; i < nr_cpus; i++) { in stats_print()
370 for (i = 0; i < nr_cpus; i++) { in stats_print()
409 for (i = 0; i < nr_cpus; i++) { in stats_print()
442 for (i = 0; i < nr_cpus; i++) { in stats_print()
510 unsigned int nr_cpus = bpf_num_possible_cpus(); in alloc_rec_per_cpu() local
514 size = record_size * nr_cpus; in alloc_rec_per_cpu()
518 fprintf(stderr, "Mem alloc error (nr_cpus:%u)\n", nr_cpus); in alloc_rec_per_cpu()