Home
last modified time | relevance | path

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

/linux-6.1.9/samples/bpf/
Dxdp_sample_user.c151 struct bpf_map *sample_map[NUM_MAP]; variable
1200 sample_map[i] = maps[i]; in sample_setup_maps()
1220 if (bpf_map__set_max_entries(sample_map[i], sample_map_count[i]) < 0) in sample_setup_maps()
1223 sample_map[MAP_DEVMAP_XMIT_MULTI] = maps[MAP_DEVMAP_XMIT_MULTI]; in sample_setup_maps()
1233 MAP_SHARED, bpf_map__fd(sample_map[i]), 0); in sample_setup_maps_mappings()
1420 if (map_collect_percpu_devmap(bpf_map__fd(sample_map[MAP_DEVMAP_XMIT_MULTI]), rec) < 0) in sample_stats_collect()
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst361 …bpftool-620059 [004] d... 2634685.517912: bpf_trace_printk: map_create sample_map idx 0 type 2 va…