/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | map_kptr.c | 25 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref1), &opts); in test_map_kptr_success() 28 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref2), &opts); in test_map_kptr_success() 32 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref1), &lopts); in test_map_kptr_success() 36 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_ls_map_kptr_ref2), &lopts); in test_map_kptr_success() 55 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 63 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 77 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 84 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() 91 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() [all …]
|
D | skb_ctx.c | 42 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx() 49 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx() 56 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx() 61 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx() 68 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx() 73 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx() 77 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_ctx()
|
D | local_kptr_stash.c | 23 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_rb_nodes), &opts); in test_local_kptr_stash_simple() 44 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_plain), &opts); in test_local_kptr_stash_plain() 65 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_local_with_root), &opts); in test_local_kptr_stash_local_with_root() 86 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_rb_nodes), &opts); in test_local_kptr_stash_unstash() 90 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.unstash_rb_node), &opts); in test_local_kptr_stash_unstash() 111 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.refcount_acquire_without_unstash), in test_refcount_acquire_without_unstash() 116 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.stash_refcounted_node), &opts); in test_refcount_acquire_without_unstash() 120 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.refcount_acquire_without_unstash), in test_refcount_acquire_without_unstash()
|
D | xdp_adjust_tail.c | 24 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_tail_shrink() 32 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_tail_shrink() 59 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_tail_grow() 67 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_tail_grow() 106 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_xdp_adjust_tail_grow2() 124 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_xdp_adjust_tail_grow2() 177 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_frags_tail_shrink() 188 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_frags_tail_shrink() 198 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_frags_tail_shrink() 241 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_adjust_frags_tail_grow() [all …]
|
D | arena_atomics.c | 13 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_add() 38 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_sub() 63 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_and() 80 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_or() 97 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xor() 114 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_cmpxchg() 136 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xchg() 156 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_uaf()
|
D | raw_tp_test_run.c | 49 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_raw_tp_test_run() 53 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_raw_tp_test_run() 63 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_raw_tp_test_run() 71 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_raw_tp_test_run() 78 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_raw_tp_test_run()
|
D | rbtree.c | 26 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_add_nodes), &opts); in test_rbtree_add_nodes() 48 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_add_nodes_nested), &opts); in test_rbtree_add_nodes_nested() 70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_add_and_remove), &opts); in test_rbtree_add_and_remove() 92 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_add_and_remove_array), &opts); in test_rbtree_add_and_remove_array() 113 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_first_and_remove), &opts); in test_rbtree_first_and_remove() 137 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_api_release_aliasing), &opts); in test_rbtree_api_release_aliasing()
|
D | atomics.c | 14 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_add() 39 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_sub() 64 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_and() 86 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_or() 108 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xor() 130 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_cmpxchg() 152 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xchg()
|
D | tailcalls.c | 67 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 76 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 96 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 120 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 129 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 138 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 202 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2() 211 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2() 220 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2() 324 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_count() [all …]
|
D | xdp_adjust_frags.c | 41 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_update_frags() 66 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_update_frags() 80 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_update_frags() 94 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_update_frags() 134 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp_update_frags()
|
D | refcounted_kptr.c | 34 …ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_wrong_owner_remove_fail_a1), &opts… in test_refcounted_kptr_wrong_owner() 38 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_wrong_owner_remove_fail_b), &opts); in test_refcounted_kptr_wrong_owner() 42 …ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_wrong_owner_remove_fail_a2), &opts… in test_refcounted_kptr_wrong_owner()
|
D | dummy_st_ops.c | 43 err = bpf_prog_test_run_opts(fd, &attr); in test_dummy_init_ret_value() 88 err = bpf_prog_test_run_opts(fd, &attr); in test_dummy_init_ptr_arg() 117 err = bpf_prog_test_run_opts(fd, &attr); in test_dummy_multiple_args() 144 err = bpf_prog_test_run_opts(fd, &attr); in test_dummy_sleepable() 169 err = bpf_prog_test_run_opts(fd, &attr); in test_dummy_sleepable_reject_null()
|
D | linked_list.c | 168 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.map_list_push_pop), &opts); in test_linked_list_success() 174 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.inner_map_list_push_pop), &opts); in test_linked_list_success() 180 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.global_list_push_pop), &opts); in test_linked_list_success() 186 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.global_list_push_pop_nested), &opts); in test_linked_list_success() 192 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.global_list_array_push_pop), &opts); in test_linked_list_success() 202 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.map_list_push_pop_multiple), &opts); in test_linked_list_success() 208 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.inner_map_list_push_pop_multiple), &opts); in test_linked_list_success() 214 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.global_list_push_pop_multiple), &opts); in test_linked_list_success() 224 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.map_list_in_list), &opts); in test_linked_list_success() 230 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.inner_map_list_in_list), &opts); in test_linked_list_success() [all …]
|
D | xdp_context_test_run.c | 23 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_xdp_context_error() 52 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_xdp_context_test_run() 64 err = bpf_prog_test_run_opts(prog_fd, &opts); in test_xdp_context_test_run()
|
D | get_func_ip_test.c | 31 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_function_entry() 36 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_function_entry() 92 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_function_body_kprobe()
|
D | kfunc_call.c | 126 err = bpf_prog_test_run_opts(prog_fd, &topts); in verify_success() 141 err = bpf_prog_test_run_opts(prog_fd, &topts); in verify_success() 204 err = bpf_prog_test_run_opts(prog_fd, &topts); in verify_fail() 249 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_subprog() 273 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_subprog_lskel()
|
D | pkt_access.c | 20 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_pkt_access() 27 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_pkt_access()
|
D | percpu_alloc.c | 34 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_array() 67 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_array_sleepable() 102 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_cgrp_local_storage()
|
D | missed.c | 29 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_missed_perf_kprobe() 79 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_missed_kprobe_recursion() 117 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_missed_tp_recursion()
|
D | get_func_args_test.c | 23 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_get_func_args_test() 31 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_get_func_args_test()
|
D | skb_load_bytes.c | 28 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_load_bytes() 36 err = bpf_prog_test_run_opts(prog_fd, &tattr); in test_skb_load_bytes()
|
D | ksyms_module.c | 27 err = bpf_prog_test_run_opts(skel->progs.load.prog_fd, &topts); in test_ksyms_module_lskel() 54 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.load), &topts); in test_ksyms_module_libbpf()
|
D | for_each.c | 54 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_pkt_access), &topts); in test_hash_map() 124 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_pkt_access), &topts); in test_array_map() 190 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_pkt_access), &topts); in test_multi_maps() 197 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_pkt_access), &topts); in test_multi_maps()
|
D | pe_preserve_elems.c | 30 err = bpf_prog_test_run_opts(bpf_program__fd(prog), &opts); in test_one_map() 40 err = bpf_prog_test_run_opts(bpf_program__fd(prog), &opts); in test_one_map()
|
D | raw_tp_writable_test_run.c | 65 int err = bpf_prog_test_run_opts(filter_fd, &topts); in serial_test_raw_tp_writable_test_run() 73 err = bpf_prog_test_run_opts(filter_fd, &topts); in serial_test_raw_tp_writable_test_run()
|