/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | tc_bpf.c | 11 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); \ 23 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1); 27 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic() 71 DECLARE_LIBBPF_OPTS(bpf_tc_hook, inv_hook, .attach_point = BPF_TC_INGRESS); in test_tc_bpf_api() 72 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1); in test_tc_bpf_api() [all …]
|
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_opts, create_opts); in test_link_update_same_prog() [all …]
|
A D | bpf_cookie.c | 13 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()
|
A D | bpf_iter.c | 593 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_hash_map() 688 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_hash_map() 778 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_array_map() 863 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_percpu_array_map() 941 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_delete() 1053 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_bpf_sk_storage_map() 1126 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, opts); in test_rdonly_buf_out_of_bound()
|
A D | reference_tracking.c | 23 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts, in test_reference_tracking()
|
A D | pe_preserve_elems.c | 13 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts); in test_one_map()
|
A D | probe_user.c | 9 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, ); in serial_test_probe_user()
|
A D | attach_probe.c | 15 DECLARE_LIBBPF_OPTS(bpf_uprobe_opts, uprobe_opts); in test_attach_probe()
|
A D | raw_tp_test_run.c | 19 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_raw_tp_test_run()
|
A D | xdp_attach.c | 14 DECLARE_LIBBPF_OPTS(bpf_xdp_set_link_opts, opts, in serial_test_xdp_attach()
|
A D | xdp_context_test_run.c | 34 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in test_xdp_context_test_run()
|
A D | core_extern.c | 131 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_core_extern()
|
A D | xdp_link.c | 12 DECLARE_LIBBPF_OPTS(bpf_xdp_set_link_opts, opts, .old_fd = -1); in serial_test_xdp_link()
|
A D | btf_dump.c | 250 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in btf_dump_data() 546 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in test_btf_dump_struct_data() 793 DECLARE_LIBBPF_OPTS(btf_dump_type_data_opts, opts); in test_btf_datasec()
|
A D | core_autosize.c | 56 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, open_opts); in test_core_autosize()
|
A D | pinning.c | 41 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts, in test_pinning()
|
A D | cgroup_link.c | 39 DECLARE_LIBBPF_OPTS(bpf_link_update_opts, link_upd_opts); in serial_test_cgroup_link()
|
A D | cgroup_attach_multi.c | 81 DECLARE_LIBBPF_OPTS(bpf_prog_attach_opts, attach_opts); in serial_test_cgroup_attach_multi()
|
/linux/tools/testing/selftests/bpf/map_tests/ |
A D | array_map_batch_ops.c | 19 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()
|
A D | lpm_trie_map_batch_ops.c | 27 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()
|
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()
|
/linux/tools/lib/bpf/ |
A D | libbpf_common.h | 57 #define DECLARE_LIBBPF_OPTS(TYPE, NAME, ...) \ macro
|
/linux/tools/bpf/bpftool/ |
A D | iter.c | 13 DECLARE_LIBBPF_OPTS(bpf_iter_attach_opts, iter_opts); in do_pin()
|
A D | gen.c | 145 DECLARE_LIBBPF_OPTS(btf_dump_emit_type_decl_opts, opts, in codegen_datasec_def() 489 DECLARE_LIBBPF_OPTS(gen_loader_opts, opts); in gen_trace() 657 DECLARE_LIBBPF_OPTS(bpf_object_open_opts, opts); in do_skeleton()
|
/linux/tools/perf/util/ |
A D | bpf_counter.h | 120 DECLARE_LIBBPF_OPTS(bpf_test_run_opts, opts, in bperf_trigger_reading()
|