/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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() 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() 98 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.test_map_kptr_ref3), &opts); in test_map_kptr_success() [all …]
|
H A 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()
|
H A 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 …]
|
H A D | tailcalls.c | 61 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 70 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 90 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 114 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 123 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 132 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_1() 196 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2() 205 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2() 214 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_2() 268 err = bpf_prog_test_run_opts(main_fd, &topts); in test_tailcall_count() [all …]
|
H A 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()
|
H A 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_rb_nodes), &opts); in test_local_kptr_stash_unstash() 69 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.unstash_rb_node), &opts); in test_local_kptr_stash_unstash()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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_and_remove), &opts); in test_rbtree_add_and_remove() 70 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_first_and_remove), &opts); in test_rbtree_first_and_remove() 94 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.rbtree_api_release_aliasing), &opts); in test_rbtree_api_release_aliasing()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | kfunc_call.c | 124 err = bpf_prog_test_run_opts(prog_fd, &topts); in verify_success() 139 err = bpf_prog_test_run_opts(prog_fd, &topts); in verify_success() 202 err = bpf_prog_test_run_opts(prog_fd, &topts); in verify_fail() 247 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_subprog() 271 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_subprog_lskel()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | raw_tp_writable_test_run.c | 64 int err = bpf_prog_test_run_opts(filter_fd, &topts); in serial_test_raw_tp_writable_test_run() 72 err = bpf_prog_test_run_opts(filter_fd, &topts); in serial_test_raw_tp_writable_test_run()
|
H A 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() 190 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.map_list_push_pop_multiple), &opts); in test_linked_list_success() 196 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.inner_map_list_push_pop_multiple), &opts); in test_linked_list_success() 202 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.global_list_push_pop_multiple), &opts); in test_linked_list_success() 212 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.map_list_in_list), &opts); in test_linked_list_success() 218 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.inner_map_list_in_list), &opts); in test_linked_list_success() 224 ret = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.global_list_in_list), &opts); in test_linked_list_success()
|
H A D | prog_run_opts.c | 48 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_prog_run_opts() 64 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_prog_run_opts()
|
H A D | xdp.c | 35 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp() 46 err = bpf_prog_test_run_opts(prog_fd, &topts); in test_xdp()
|
H A D | parse_tcp_hdr_opt.c | 50 err = bpf_prog_test_run_opts(bpf_program__fd(prog), &topts); in test_parse_opt() 80 err = bpf_prog_test_run_opts(bpf_program__fd(prog), &topts); in test_parse_opt_dynptr()
|
H A D | xdp_noinline.c | 48 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.balancer_ingress_v4), &topts); in test_xdp_noinline() 59 err = bpf_prog_test_run_opts(bpf_program__fd(skel->progs.balancer_ingress_v6), &topts); in test_xdp_noinline()
|