| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | arena_atomics.c | 8 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 D | rbtree.c | 15 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_nodes() 37 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_nodes_nested() 59 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_and_remove() 81 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_add_and_remove_array() 102 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_first_and_remove() 126 LIBBPF_OPTS(bpf_test_run_opts, opts, in test_rbtree_api_release_aliasing()
|
| H A D | atomics.c | 10 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 D | local_kptr_stash.c | 11 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 D | dummy_st_ops.c | 31 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 D | tc_opts.c | 15 LIBBPF_OPTS(bpf_prog_attach_opts, opta); in serial_test_tc_opts_basic() 16 LIBBPF_OPTS(bpf_prog_detach_opts, optd); in serial_test_tc_opts_basic() 17 LIBBPF_OPTS(bpf_prog_query_opts, optq); in serial_test_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_opt in test_tc_opts_revision_target() [all...] |
| H A D | kprobe_multi_test.c | 16 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_test_run() 104 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_addrs() 123 LIBBPF_OPTS(bpf_link_create_opts, opts); in test_link_api_syms() 174 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_pattern() 182 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_addrs() 201 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_syms() 220 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_attach_api_fails() 336 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in test_session_skel_api() 337 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_session_skel_api() 372 LIBBPF_OPTS(bpf_kprobe_multi_opt in test_session_cookie_skel_api() [all...] |
| H A D | stream.c | 22 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 D | bpf_cookie.c | 73 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_test_run() 104 LIBBPF_OPTS(bpf_link_create_opts, opts); in kprobe_multi_link_api_subtest() 180 LIBBPF_OPTS(bpf_kprobe_multi_opts, opts); in kprobe_multi_attach_api_subtest() 181 LIBBPF_OPTS(bpf_test_run_opts, topts); in kprobe_multi_attach_api_subtest() 275 LIBBPF_OPTS(bpf_uprobe_multi_opts, opts); in uprobe_multi_attach_api_subtest() 514 LIBBPF_OPTS(bpf_test_run_opts, opts); in tracing_subtest() 515 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in tracing_subtest() 571 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in lsm_subtest() 602 LIBBPF_OPTS(bpf_link_create_opts, link_opts); in tp_btf_subtest() 603 LIBBPF_OPTS(bpf_raw_tp_opt in tp_btf_subtest() [all...] |
| H A D | raw_tp_writable_test_run.c | 21 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 D | custom_sec_handlers.c | 62 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 D | cgroup_mprog_opts.c | 20 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 D | get_func_ip_test.c | 14 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_function_entry() 67 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_function_body_kprobe() 68 LIBBPF_OPTS(bpf_kprobe_opts, kopts); in test_function_body_kprobe()
|
| H A D | stacktrace_ips.c | 52 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() 90 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_stacktrace_ips_raw_tp()
|
| H A D | xdp_adjust_tail.c | 12 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 D | kfunc_call.c | 93 LIBBPF_OPTS(bpf_test_run_opts, topts); in verify_success() 155 LIBBPF_OPTS(bpf_object_open_opts, opts); in verify_fail() 156 LIBBPF_OPTS(bpf_test_run_opts, topts); in verify_fail() 238 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_subprog() 262 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_subprog_lskel()
|
| H A D | percpu_alloc.c | 11 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_array() 47 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_array_sleepable() 80 LIBBPF_OPTS(bpf_test_run_opts, topts); in test_cgrp_local_storage()
|
| H A D | timer.c | 13 LIBBPF_OPTS(bpf_test_run_opts, topts); in spin_lock_thread() 28 LIBBPF_OPTS(bpf_test_run_opts, topts); in timer() 108 LIBBPF_OPTS(bpf_test_run_opts, opts); in test_timer_interrupt()
|
| H A D | crypto_sanity.c | 82 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 D | tc_links.c | 18 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 D | missed.c | 14 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 D | dynptr.c | 101 LIBBPF_OPTS(bpf_test_run_opts, topts, in verify_success() 132 LIBBPF_OPTS(bpf_test_run_opts, topts, in verify_success() 155 LIBBPF_OPTS(bpf_test_run_opts, opts, in verify_success()
|
| H A D | bpf_obj_pinning.c | 38 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 D | ksyms_module.c | 13 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_ksyms_module_lskel() 40 LIBBPF_OPTS(bpf_test_run_opts, topts, in test_ksyms_module_libbpf()
|
| H A D | xdp_context_test_run.c | 207 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS); in test_xdp_context_veth() 208 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_xdp_context_veth() 298 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS); in test_tuntap() 299 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tuntap() 332 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 2, in test_tuntap() 363 LIBBPF_OPTS(bpf_tc_hook, tc_hook, .attach_point = BPF_TC_INGRESS); in test_tuntap_mirred() 364 LIBBPF_OPTS(bpf_tc_opts, tc_opts, .handle = 1, .priority = 1); in test_tuntap_mirred()
|