Home
last modified time | relevance | path

Searched refs:bpf_prog_test_run_opts (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c25 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 Dskb_ctx.c42 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 Dxdp_adjust_tail.c24 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 Dtailcalls.c61 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 Draw_tp_test_run.c49 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 Dlocal_kptr_stash.c23 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 Datomics.c14 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 Dxdp_adjust_frags.c41 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 Drefcounted_kptr.c34 …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 Ddummy_st_ops.c43 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 Drbtree.c26 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 Dpkt_access.c20 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 Dxdp_context_test_run.c23 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 Dget_func_ip_test.c31 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 Dkfunc_call.c124 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 Dget_func_args_test.c23 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 Dskb_load_bytes.c28 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 Dksyms_module.c27 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 Dpe_preserve_elems.c30 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 Draw_tp_writable_test_run.c64 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 Dlinked_list.c168 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 Dprog_run_opts.c48 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 Dxdp.c35 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 Dparse_tcp_hdr_opt.c50 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 Dxdp_noinline.c48 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()

1234