Home
last modified time | relevance | path

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

/samples/bpf/
Dxdp_sample_user.c159 int sample_n_cpus; variable
454 rec = calloc(1, sizeof(*rec) + sample_n_cpus * sizeof(struct record)); in alloc_stats_record()
515 for (i = 0; i < sample_n_cpus; i++) { in alloc_stats_record()
554 for (i = 0; i < sample_n_cpus; i++) in free_stats_record()
701 for (to_cpu = 0; to_cpu < sample_n_cpus; to_cpu++) { in stats_get_cpumap_enqueue()
1198 sample_n_cpus = libbpf_num_possible_cpus(); in sample_setup_maps()
1207 sample_map_count[i] = sample_n_cpus; in sample_setup_maps()
1211 XDP_REDIRECT_ERR_MAX * sample_n_cpus; in sample_setup_maps()
1214 sample_map_count[i] = XDP_ACTION_MAX * sample_n_cpus; in sample_setup_maps()
1216 sample_map_count[i] = sample_n_cpus * sample_n_cpus; in sample_setup_maps()
[all …]