Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dxdp_sample_user.c152 size_t sample_map_count[NUM_MAP]; variable
1206 sample_map_count[i] = sample_n_cpus; in sample_setup_maps()
1209 sample_map_count[i] = in sample_setup_maps()
1213 sample_map_count[i] = XDP_ACTION_MAX * sample_n_cpus; in sample_setup_maps()
1215 sample_map_count[i] = sample_n_cpus * sample_n_cpus; in sample_setup_maps()
1220 if (bpf_map__set_max_entries(sample_map[i], sample_map_count[i]) < 0) in sample_setup_maps()
1230 size_t size = sample_map_count[i] * sizeof(struct datarec); in sample_setup_maps_mappings()
1368 size = sample_map_count[i] * sizeof(**sample_mmap); in sample_exit()