Home
last modified time | relevance | path

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

1234

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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()
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 …]
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()
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_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()
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 …]
Darena_atomics.c13 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()
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()
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_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()
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()
Dtailcalls.c67 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 …]
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()
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()
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()
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()
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 …]
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()
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()
Dkfunc_call.c126 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()
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()
Dpercpu_alloc.c34 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()
Dmissed.c29 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()
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()
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()
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()
Dfor_each.c54 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()
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()
Draw_tp_writable_test_run.c65 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()

1234