/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A 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_opt [all...] |
H A 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_opt in test_link_update_same_prog() [all...] |
H A 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()
|
H A 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()
|
H A D | cgroup_iter.c | 53 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in read_from_cgroup_iter() 97 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup() 114 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_invalid_cgroup_spec() 194 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_walk_dead_self_only()
|
H A D | test_tunnel.c | 277 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog() 279 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog() 318 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_vxlan_tunnel() 402 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_ip6vxlan_tunnel() 472 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_ipip_tunnel()
|
H A 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()
|
H A D | pe_preserve_elems.c | 13 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts); in test_one_map()
|
H A D | reference_tracking.c | 8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
|
H A 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A 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_opt in test_link_update_same_prog() [all...] |
H A D | fexit_bpf2bpf.c | 71 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_fexit_bpf2bpf_common() 240 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in test_fmod_ret_freplace() 318 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_obj_load_failure_common()
|
H A D | reference_tracking.c | 8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
|
H A D | bpf_iter.c | 567 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map() 665 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_hash_map() 756 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_array_map() 841 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_array_map() 918 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_map() 991 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_rdonly_buf_out_of_bound()
|
H A D | pe_preserve_elems.c | 13 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts); in test_one_map()
|
H A D | probe_user.c | 8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in test_probe_user()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/map_tests/ |
H A D | array_map_batch_ops.c | 16 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update() 61 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in test_array_map_batch_ops()
|
H A D | htab_map_batch_ops.c | 19 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update() 93 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in __test_map_lookup_and_delete_batch()
|
/kernel/linux/linux-6.6/samples/hid/ |
H A D | hid_surface_dial.c | 96 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, tattr, in attach_prog() 124 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, tattr, in set_haptic()
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf_common.h | 33 #define DECLARE_LIBBPF_OPTS(TYPE, NAME, ...) \ macro
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/map_tests/ |
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf_legacy.h | 115 #define DECLARE_LIBBPF_OPTS LIBBPF_OPTS macro
|
/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A D | iter.c | 13 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | iter.c | 16 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
|