Home
last modified time | relevance | path

Searched refs:LIBBPF_OPTS (Results 1 – 25 of 179) sorted by relevance

12345678

/linux/tools/testing/selftests/bpf/prog_tests/
H A Darena_atomics.c8 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_add()
33 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_sub()
58 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_and()
75 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_or()
92 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xor()
109 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cmpxchg()
131 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xchg()
151 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_uaf()
167 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_arena_atomics()
197 LIBBPF_OPTS(bpf_test_run_opt in test_arena_atomics()
[all...]
H A Dkprobe_multi_test.c19 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_test_run()
107 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_addrs()
126 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_syms()
177 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_pattern()
185 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_addrs()
204 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_syms()
223 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_fails()
224 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_attach_api_fails()
395 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_session_skel_api()
396 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_session_skel_api()
[all …]
H A Drbtree.c16 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_nodes()
38 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_nodes_nested()
60 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_and_remove()
82 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_and_remove_array()
103 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_first_and_remove()
127 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_api_release_aliasing()
H A Datomics.c10 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_add()
35 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_sub()
60 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_and()
82 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_or()
104 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xor()
126 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cmpxchg()
148 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xchg()
H A Dlocal_kptr_stash.c11 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_simple()
32 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_plain()
53 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_local_with_root()
74 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_local_kptr_stash_unstash()
99 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_refcount_acquire_without_unstash()
H A Dtc_opts.c15 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_ns_tc_opts_basic()
16 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_ns_tc_opts_basic()
17 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_ns_tc_opts_basic()
113 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_tc_opts_before_target()
114 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_tc_opts_before_target()
115 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_before_target()
265 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_tc_opts_after_target()
266 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_tc_opts_after_target()
267 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_opts_after_target()
456 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_tc_opts_revision_target()
[all …]
H A Ddummy_st_ops.c31 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_init_ret_value()
57 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_init_ptr_arg()
103 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_multiple_args()
132 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_sleepable()
157 LIBBPF_OPTS(bpf_test_run_opts, attr, in test_dummy_sleepable_reject_null()
H A Dbpf_cookie.c74 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_test_run()
105 LIBBPF_OPTS(bpf_link_create_opts, opts); in kprobe_multi_link_api_subtest()
186 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in kprobe_multi_attach_api_subtest()
187 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_attach_api_subtest()
286 LIBBPF_OPTS(bpf_uprobe_multi_opts, opts); in uprobe_multi_attach_api_subtest()
527 LIBBPF_OPTS(bpf_test_run_opts, opts); in tracing_subtest()
528 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in tracing_subtest()
584 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in lsm_subtest()
615 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in tp_btf_subtest()
616 LIBBPF_OPTS(bpf_raw_tp_opt in tp_btf_subtest()
[all...]
H A Dstream.c22 LIBBPF_OPTS(bpf_test_run_opts, opts);
23 LIBBPF_OPTS(bpf_prog_stream_read_opts, ropts);
63 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_stream_errors()
64 LIBBPF_OPTS(bpf_prog_stream_read_opts, ropts); in test_stream_errors()
H A Draw_tp_writable_test_run.c21 LIBBPF_OPTS(bpf_prog_load_opts, trace_opts, in serial_test_raw_tp_writable_test_run()
39 LIBBPF_OPTS(bpf_prog_load_opts, skb_opts, in serial_test_raw_tp_writable_test_run()
60 LIBBPF_OPTS(bpf_test_run_opts, topts, in serial_test_raw_tp_writable_test_run()
H A Dcgroup_mprog_opts.c20 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_prog_attach_detach()
21 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_prog_attach_detach()
22 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_prog_attach_detach()
152 LIBBPF_OPTS(bpf_cgroup_opts, opta); in test_link_attach_detach()
153 LIBBPF_OPTS(bpf_cgroup_opts, optd); in test_link_attach_detach()
154 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_link_attach_detach()
278 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_preorder_prog_attach_detach()
279 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in test_preorder_prog_attach_detach()
386 LIBBPF_OPTS(bpf_cgroup_opts, opta); in test_preorder_link_attach_detach()
485 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in test_invalid_attach_detach()
H A Dcustom_sec_handlers.c62 LIBBPF_OPTS(libbpf_prog_handler_opts, abc1_opts, in register_sec_handlers()
68 LIBBPF_OPTS(libbpf_prog_handler_opts, abc2_opts, in register_sec_handlers()
74 LIBBPF_OPTS(libbpf_prog_handler_opts, custom_opts, in register_sec_handlers()
96 LIBBPF_OPTS(libbpf_prog_handler_opts, opts, in test_custom_sec_handlers()
H A Dxdp_adjust_tail.c12 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_xdp_adjust_tail_shrink()
47 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_xdp_adjust_tail_grow()
96 LIBBPF_OPTS(bpf_test_run_opts, tattr, in test_xdp_adjust_tail_grow2()
157 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xdp_adjust_frags_tail_shrink()
224 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xdp_adjust_frags_tail_grow_4k()
295 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_xdp_adjust_frags_tail_grow_64k()
H A Dtc_links.c18 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_tc_links_basic()
19 LIBBPF_OPTS(bpf_tcx_opts, optl); in serial_test_tc_links_basic()
117 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_before_target()
118 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_links_before_target()
271 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_after_target()
272 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_links_after_target()
425 LIBBPF_OPTS(bpf_prog_query_opts, optq); in test_tc_links_revision_target()
426 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_links_revision_target()
525 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tc_chain_classic()
526 LIBBPF_OPTS(bpf_tc_hoo in test_tc_chain_classic()
[all...]
H A Dkfunc_call.c95 LIBBPF_OPTS(bpf_test_run_opts, topts); in verify_success()
157 LIBBPF_OPTS(bpf_object_open_opts, opts); in verify_fail()
158 LIBBPF_OPTS(bpf_test_run_opts, topts); in verify_fail()
240 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_subprog()
264 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_subprog_lskel()
H A Dget_func_ip_test.c15 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_function_entry()
68 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_function_body_kprobe()
69 LIBBPF_OPTS(bpf_kprobe_opts, kopts); in test_function_body_kprobe()
146 LIBBPF_OPTS(bpf_test_run_opts, topts);
H A Dstacktrace_ips.c52 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts, in test_stacktrace_ips_kprobe_multi()
55 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_stacktrace_ips_kprobe_multi()
99 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_stacktrace_ips_raw_tp()
142 LIBBPF_OPTS(bpf_kprobe_opts, opts, in __test_stacktrace_ips()
145 LIBBPF_OPTS(bpf_test_run_opts, topts);
188 LIBBPF_OPTS(bpf_test_run_opts, topts);
H A Dcrypto_sanity.c82 LIBBPF_OPTS(bpf_tc_hook, qdisc_hook, .attach_point = BPF_TC_EGRESS); in test_crypto_sanity()
83 LIBBPF_OPTS(bpf_tc_opts, tc_attach_enc); in test_crypto_sanity()
84 LIBBPF_OPTS(bpf_tc_opts, tc_attach_dec); in test_crypto_sanity()
85 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_crypto_sanity()
H A Dpercpu_alloc.c12 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_array()
48 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_array_sleepable()
81 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cgrp_local_storage()
129 LIBBPF_OPTS(bpf_map_batch_opts, batch_opts);
405 LIBBPF_OPTS(bpf_map_batch_opts, batch_opts);
H A Dtimer.c28 LIBBPF_OPTS(bpf_test_run_opts, topts); in timer()
44 LIBBPF_OPTS(bpf_test_run_opts, topts); in timer()
206 LIBBPF_OPTS(bpf_test_run_opts, topts);
248 LIBBPF_OPTS(bpf_test_run_opts, topts);
324 LIBBPF_OPTS(bpf_test_run_opts, opts);
H A Dmissed.c14 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_missed_perf_kprobe()
66 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_missed_kprobe_recursion()
105 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_missed_tp_recursion()
H A Ddynptr.c101 LIBBPF_OPTS(bpf_test_run_opts, topts, in verify_success()
132 LIBBPF_OPTS(bpf_test_run_opts, topts, in verify_success()
158 LIBBPF_OPTS(bpf_test_run_opts, opts, in verify_success()
H A Dbpf_obj_pinning.c38 LIBBPF_OPTS(bpf_obj_pin_opts, pin_opts); in bpf_obj_pinning_detached()
39 LIBBPF_OPTS(bpf_obj_get_opts, get_opts); in bpf_obj_pinning_detached()
126 LIBBPF_OPTS(bpf_obj_pin_opts, pin_opts); in validate_pin()
186 LIBBPF_OPTS(bpf_obj_get_opts, get_opts); in validate_get()
H A Dmap_kptr.c11 LIBBPF_OPTS(bpf_test_run_opts, lopts); in test_map_kptr_success()
12 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_map_kptr_success()
121 LIBBPF_OPTS(bpf_test_run_opts, opts); in kern_sync_rcu_tasks_trace()
137 LIBBPF_OPTS(bpf_test_run_opts, lopts); in wait_for_map_release()
/linux/tools/lib/bpf/
H A Dfeatures.c55 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in probe_kern_global_data()
59 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, in probe_kern_global_data()
213 LIBBPF_OPTS(bpf_map_create_opts, opts, in probe_kern_array_mmap()
225 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_exp_attach_type()
247 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_kern_probe_read_kernel()
271 LIBBPF_OPTS(bpf_map_create_opts, map_opts, in probe_prog_bind_map()
275 LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, in probe_prog_bind_map()
338 LIBBPF_OPTS(bpf_prog_load_opts, opts, in probe_perf_link()
364 LIBBPF_OPTS(bpf_prog_load_opts, load_opts, in probe_uprobe_multi_link()
369 LIBBPF_OPTS(bpf_link_create_opt in probe_uprobe_multi_link()
[all...]

12345678