/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_bpf.c | 12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \ 13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \ 14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \ 15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \ 16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \ 17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \ 18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \ 19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \ 20 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \ 22 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \ [all …]
|
D | flow_dissector_reattach.c | 124 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_link_create() 149 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_prog_attach_link_create() 176 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_prog_attach() 199 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_prog_detach() 243 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_create_close_query() 260 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_no_old_prog() 261 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_link_update_no_old_prog() 285 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_replace_old_prog() 286 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_link_update_replace_old_prog() 310 DECLARE_LIBBPF_OPTS(bpf_link_create_opts, create_opts); in test_link_update_same_prog() [all …]
|
D | xdp_do_redirect.c | 43 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog() 72 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_max_pkt_size() 97 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_do_redirect() 106 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_xdp_do_redirect()
|
D | attach_probe.c | 39 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in test_attach_probe_manual() 40 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, kprobe_opts); in test_attach_probe_manual() 161 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in test_uprobe_lib() 197 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in test_uprobe_ref_ctr()
|
D | test_tunnel.c | 369 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog() 371 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog() 410 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_vxlan_tunnel() 494 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_ip6vxlan_tunnel() 564 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_ipip_tunnel() 631 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_xfrm_tunnel()
|
D | cgroup_iter.c | 54 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in read_from_cgroup_iter() 98 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup() 115 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup_spec() 195 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_walk_dead_self_only()
|
D | assign_reuse.c | 84 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in run_assign_reuse() 88 DECLARE_LIBBPF_OPTS(bpf_tc_opts, tc_opts, in run_assign_reuse()
|
D | kfunc_module_order.c | 28 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, test_opts, .data_in = pkt_data, in test_kfunc_module_order()
|
D | reference_tracking.c | 8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
|
D | bpf_cookie.c | 24 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts); in kprobe_subtest() 320 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, opts); in uprobe_subtest() 374 DECLARE_LIBBPF_OPTS(bpf_tracepoint_opts, opts); in tp_subtest() 443 DECLARE_LIBBPF_OPTS(bpf_perf_event_opts, opts); in pe_subtest()
|
D | xdp_devmap_attach.c | 59 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_with_devmap_helpers() 209 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_with_devmap_helpers_veth()
|
D | pe_preserve_elems.c | 13 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts); in test_one_map()
|
D | bpf_iter.c | 81 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in do_read_map_iter_fd() 777 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map() 870 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_hash_map() 954 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_array_map() 1052 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_array_map() 1126 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_delete() 1254 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_map() 1338 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_rdonly_buf_out_of_bound()
|
D | fill_link_info.c | 156 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts, in test_kprobe_fill_link_info() 184 DECLARE_LIBBPF_OPTS(bpf_tracepoint_opts, opts, in test_tp_fill_link_info() 202 DECLARE_LIBBPF_OPTS(bpf_perf_event_opts, opts, in test_event_fill_link_info() 236 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, opts, in test_uprobe_fill_link_info()
|
D | lsm_cgroup.c | 67 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); in test_lsm_cgroup_functional() 68 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_lsm_cgroup_functional()
|
D | probe_user.c | 15 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in serial_test_probe_user()
|
D | xdp_context_test_run.c | 34 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_context_test_run()
|
/linux-6.12.1/tools/testing/selftests/bpf/map_tests/ |
D | array_map_batch_ops.c | 20 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update() 78 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in __test_map_lookup_and_update_batch()
|
D | lpm_trie_map_batch_ops.c | 28 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update() 75 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in test_lpm_trie_map_batch_ops()
|
D | htab_map_batch_ops.c | 20 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update() 87 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in __test_map_lookup_and_delete_batch()
|
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf_legacy.h | 115 #define DECLARE_LIBBPF_OPTS LIBBPF_OPTS macro
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | iter.c | 16 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
|
/linux-6.12.1/tools/perf/util/ |
D | bpf_counter.h | 125 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in bperf_trigger_reading()
|
/linux-6.12.1/samples/hid/ |
D | hid_surface_dial.c | 95 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, tattr, in set_haptic()
|
/linux-6.12.1/tools/perf/bench/ |
D | uprobe.c | 65 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in bench_uprobe__setup_bpf_skel()
|