Home
last modified time | relevance | path

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

12

/Linux-v5.15/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 …]
Dbpf_cookie.c13 DECLARE_LIBBPF_OPTS(bpf_kprobe_opts, opts); in kprobe_subtest()
62 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, opts); in uprobe_subtest()
116 DECLARE_LIBBPF_OPTS(bpf_tracepoint_opts, opts); in tp_subtest()
185 DECLARE_LIBBPF_OPTS(bpf_perf_event_opts, opts); in pe_subtest()
Dfexit_bpf2bpf.c72 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_fexit_bpf2bpf_common()
268 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in test_fmod_ret_freplace()
342 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_obj_load_failure_common()
Dreference_tracking.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
Dbpf_iter.c593 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map()
689 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_hash_map()
780 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_array_map()
865 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_array_map()
943 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_delete()
1055 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_map()
1128 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()
Dprobe_user.c8 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in test_probe_user()
Draw_tp_test_run.c19 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_raw_tp_test_run()
Dattach_probe.c10 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in test_attach_probe()
Dxdp_attach.c14 DECLARE_LIBBPF_OPTS(bpf_xdp_set_link_opts, opts, in test_xdp_attach()
Dxdp_context_test_run.c34 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_context_test_run()
Dxdp_link.c12 DECLARE_LIBBPF_OPTS(bpf_xdp_set_link_opts, opts, .old_fd = -1); in test_xdp_link()
Dcore_extern.c131 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_core_extern()
Dbtf_dump.c250 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in btf_dump_data()
531 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in test_btf_dump_struct_data()
776 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in test_btf_datasec()
Dcore_autosize.c56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
Dpinning.c41 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_pinning()
Dcgroup_link.c39 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, link_upd_opts); in test_cgroup_link()
/Linux-v5.15/tools/testing/selftests/bpf/map_tests/
Darray_map_batch_ops.c19 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update()
84 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in __test_map_lookup_and_update_batch()
Dlpm_trie_map_batch_ops.c27 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in map_batch_update()
80 DECLARE_LIBBPF_OPTS(bpf_map_batch_opts, opts, in test_lpm_trie_map_batch_ops()
Dhtab_map_batch_ops.c19 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()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf_common.h33 #define DECLARE_LIBBPF_OPTS(TYPE, NAME, ...) \ macro
/Linux-v5.15/tools/bpf/bpftool/
Diter.c13 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
Dgen.c127 DECLARE_LIBBPF_OPTS(btf_dump_emit_type_decl_opts, opts, in codegen_datasec_def()
434 DECLARE_LIBBPF_OPTS(gen_loader_opts, opts); in gen_trace()
603 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_skeleton()
/Linux-v5.15/tools/perf/util/
Dbpf_counter.h120 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in bperf_trigger_reading()

12