Home
last modified time | relevance | path

Searched refs:DECLARE_LIBBPF_OPTS (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtc_bpf.c11 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_h, .handle = 1); \
12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \
13 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_f, .prog_fd = __fd); \
14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \
15 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hf, .handle = 1, .prog_fd = __fd); \
16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \
17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \
19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \
21 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
[all …]
Dflow_dissector_reattach.c124 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 …]
Dxdp_do_redirect.c49 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in attach_tc_prog()
73 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_max_pkt_size()
98 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in serial_test_xdp_do_redirect()
107 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in serial_test_xdp_do_redirect()
Dtest_tunnel.c216 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts1, .handle = 1, in attach_tc_prog()
218 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts2, .handle = 1, in attach_tc_prog()
257 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_vxlan_tunnel()
341 DECLARE_LIBBPF_OPTS(bpf_tc_hook, tc_hook, in test_ip6vxlan_tunnel()
Dcgroup_iter.c53 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()
Dbpf_cookie.c23 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts); in kprobe_subtest()
244 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, opts); in uprobe_subtest()
298 DECLARE_LIBBPF_OPTS(bpf_tracepoint_opts, opts); in tp_subtest()
367 DECLARE_LIBBPF_OPTS(bpf_perf_event_opts, opts); in pe_subtest()
Dreference_tracking.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
Dbpf_iter.c82 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in do_read_map_iter_fd()
772 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map()
865 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_hash_map()
947 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_array_map()
1040 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_array_map()
1112 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_delete()
1236 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_map()
1320 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_rdonly_buf_out_of_bound()
Dpe_preserve_elems.c13 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts); in test_one_map()
Dlsm_cgroup.c66 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); in test_lsm_cgroup_functional()
67 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, update_opts); in test_lsm_cgroup_functional()
Dprobe_user.c15 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in serial_test_probe_user()
Dxdp_context_test_run.c34 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_context_test_run()
Dcore_extern.c132 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_core_extern()
Dbtf_dump.c273 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in btf_dump_data()
569 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in test_btf_dump_struct_data()
816 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in test_btf_datasec()
Dattach_probe.c30 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in test_attach_probe()
Dcgroup_hierarchical_stats.c249 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in setup_cgroup_iter()
Dcore_autosize.c56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
Dcgroup_link.c39 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, link_upd_opts); in serial_test_cgroup_link()
/linux-6.1.9/tools/testing/selftests/bpf/map_tests/
Darray_map_batch_ops.c20 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()
Dlpm_trie_map_batch_ops.c28 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()
Dhtab_map_batch_ops.c20 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.1.9/tools/lib/bpf/
Dlibbpf_legacy.h115 #define DECLARE_LIBBPF_OPTS LIBBPF_OPTS macro
/linux-6.1.9/tools/bpf/bpftool/
Diter.c13 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
Dgen.c146 DECLARE_LIBBPF_OPTS(btf_dump_emit_type_decl_opts, opts, in codegen_datasec_def()
331 DECLARE_LIBBPF_OPTS(btf_dump_emit_type_decl_opts, opts, in codegen_subskel_datasecs()
661 DECLARE_LIBBPF_OPTS(gen_loader_opts, opts); in gen_trace()
911 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_skeleton()
1281 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_subskeleton()
/linux-6.1.9/tools/perf/util/
Dbpf_counter.h125 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in bperf_trigger_reading()

12