Home
last modified time | relevance | path

Searched refs:ASSERT_OK (Results 1 – 25 of 259) sorted by relevance

1234567891011

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_kptr.c26 ASSERT_OK(ret, "test_map_kptr_ref1 refcount"); in test_map_kptr_success()
27 ASSERT_OK(opts.retval, "test_map_kptr_ref1 retval"); in test_map_kptr_success()
29 ASSERT_OK(ret, "test_map_kptr_ref2 refcount"); in test_map_kptr_success()
30 ASSERT_OK(opts.retval, "test_map_kptr_ref2 retval"); in test_map_kptr_success()
33 ASSERT_OK(ret, "test_ls_map_kptr_ref1 refcount"); in test_map_kptr_success()
34 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref1 retval"); in test_map_kptr_success()
37 ASSERT_OK(ret, "test_ls_map_kptr_ref2 refcount"); in test_map_kptr_success()
38 ASSERT_OK(lopts.retval, "test_ls_map_kptr_ref2 retval"); in test_map_kptr_success()
53 ASSERT_OK(ret, "array_map update"); in test_map_kptr_success()
56 ASSERT_OK(ret, "test_map_kptr_ref3 refcount"); in test_map_kptr_success()
[all …]
H A Dlinked_list.c139ASSERT_OK(bpf_map__update_elem(map, &key, sizeof(key), buf, sizeof(buf), 0), "check_and_free_field… in clear_fields()
169 ASSERT_OK(ret, "map_list_push_pop"); in test_linked_list_success()
170 ASSERT_OK(opts.retval, "map_list_push_pop retval"); in test_linked_list_success()
175 ASSERT_OK(ret, "inner_map_list_push_pop"); in test_linked_list_success()
176 ASSERT_OK(opts.retval, "inner_map_list_push_pop retval"); in test_linked_list_success()
181 ASSERT_OK(ret, "global_list_push_pop"); in test_linked_list_success()
182 ASSERT_OK(opts.retval, "global_list_push_pop retval"); in test_linked_list_success()
187 ASSERT_OK(ret, "global_list_push_pop_nested"); in test_linked_list_success()
188 ASSERT_OK(opts.retval, "global_list_push_pop_nested retval"); in test_linked_list_success()
193 ASSERT_OK(ret, "global_list_array_push_pop"); in test_linked_list_success()
[all …]
H A Darg_parsing.c33 ASSERT_OK(parse_test_list("arg_parsing", &set, true), "parsing"); in test_parse_test_list()
39 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "subtest name"); in test_parse_test_list()
42 ASSERT_OK(parse_test_list("arg_parsing,bpf_cookie", &set, true), in test_parse_test_list()
50 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list()
51 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list()
54 ASSERT_OK(parse_test_list("arg_parsing/arg_parsing,bpf_cookie", in test_parse_test_list()
65 ASSERT_OK(strcmp("arg_parsing", set.tests[0].name), "test name"); in test_parse_test_list()
66 ASSERT_OK(strcmp("arg_parsing", set.tests[0].subtests[0]), in test_parse_test_list()
68 ASSERT_OK(strcmp("bpf_cookie", set.tests[1].name), "test name"); in test_parse_test_list()
71 ASSERT_OK(parse_test_list("arg_parsing/arg_parsing", &set, true), in test_parse_test_list()
[all …]
H A Dtest_bpffs.c40 if (!ASSERT_OK(err, "unshare")) in fn()
44 if (!ASSERT_OK(err, "mount /")) in fn()
51 if ((err && errno != EEXIST) && !ASSERT_OK(err, "mkdir " TDIR)) in fn()
55 if (!ASSERT_OK(err, "mount tmpfs")) in fn()
59 if (!ASSERT_OK(err, "mkdir " TDIR "/fs1")) in fn()
62 if (!ASSERT_OK(err, "mkdir " TDIR "/fs2")) in fn()
66 if (!ASSERT_OK(err, "mount bpffs " TDIR "/fs1")) in fn()
69 if (!ASSERT_OK(err, "mount bpffs " TDIR "/fs2")) in fn()
73 if (!ASSERT_OK(err, "reading " TDIR "/fs1/maps.debug")) in fn()
76 if (!ASSERT_OK(err, "reading " TDIR "/fs2/progs.debug")) in fn()
[all …]
H A Dbpf_obj_pinning.c56 if (!ASSERT_OK(err, "fs_create")) in bpf_obj_pinning_detached()
83 if (!ASSERT_OK(err, "map_pin")) in bpf_obj_pinning_detached()
96 ASSERT_OK(err, "map_update"); in bpf_obj_pinning_detached()
101 ASSERT_OK(err, "map_lookup"); in bpf_obj_pinning_detached()
107 ASSERT_OK(close(map_fd), "close_map_fd"); in bpf_obj_pinning_detached()
109 ASSERT_OK(close(map_fd2), "close_map_fd2"); in bpf_obj_pinning_detached()
111 ASSERT_OK(close(fs_fd), "close_fs_fd"); in bpf_obj_pinning_detached()
113 ASSERT_OK(close(mnt_fd), "close_mnt_fd"); in bpf_obj_pinning_detached()
142 ASSERT_OK(chdir("/sys/fs/bpf"), "chdir"); in validate_pin()
156 ASSERT_OK(err, "obj_pin"); in validate_pin()
[all …]
H A Dexceptions.c33 if (!ASSERT_OK(ret, "exceptions__load")) in test_exceptions_success()
36 if (!ASSERT_OK(bpf_map_update_elem(bpf_map__fd(skel->maps.jmp_table), &(int){0}, in test_exceptions_success()
44 ASSERT_OK(ret, #_prog " prog run ret"); \ in test_exceptions_success()
126 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
136 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
146 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
156 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
166 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
176 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
186 if (!ASSERT_OK(bpf_program__set_attach_target(prog, in test_exceptions_success()
[all …]
H A Dmigrate_reuseport.c168 if (!ASSERT_OK(err, "lseek")) in setup_fastopen()
208 if (!ASSERT_OK(err, "bpf_link__destroy")) in pass_ack()
235 if (!ASSERT_OK(err, "setsockopt - SO_REUSEPORT")) in start_servers()
241 if (!ASSERT_OK(err, "bind")) in start_servers()
248 if (!ASSERT_OK(err, in start_servers()
255 if (!ASSERT_OK(err, "getsockname")) in start_servers()
263 if (!ASSERT_OK(err, "setsockopt - TCP_FASTOPEN")) in start_servers()
270 if (!ASSERT_OK(err, "listen")) in start_servers()
293 if (!ASSERT_OK(err, "settimeo")) in start_clients()
302 if (!ASSERT_OK(err, in start_clients()
[all …]
H A Dcgroup_tcp_skb.c72 if (!ASSERT_OK(err, "join_root_cgroup")) in talk_to_cgroup()
78 if (!ASSERT_OK(err, "join_cgroup")) in talk_to_cgroup()
90 if (!ASSERT_OK(err, "connect_fd_to_fd")) in talk_to_cgroup()
96 if (!ASSERT_OK(err, "join_root_cgroup")) in talk_to_cgroup()
119 if (!ASSERT_OK(err, "join_root_cgroup")) in talk_to_outside()
125 if (!ASSERT_OK(err, "join_cgroup")) in talk_to_outside()
131 if (!ASSERT_OK(err, "join_root_cgroup")) in talk_to_outside()
140 if (!ASSERT_OK(err, "connect_fd_to_fd")) in talk_to_outside()
182 if (!ASSERT_OK(err, "shutdown closing_fd")) in close_connection()
198 if (!ASSERT_OK(err, "close peer_fd")) in close_connection()
[all …]
H A Dsockmap_basic.c40 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4()
44 if (!ASSERT_OK(err, "connect")) in connected_socket_v4()
49 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4()
77 if (!ASSERT_OK(err, "lookup_elem(src)")) in compare_cookies()
81 if (!ASSERT_OK(err, "lookup_elem(dst)")) in compare_cookies()
103 if (!ASSERT_OK(err, "bpf_map_update")) in test_sockmap_create_update_free()
124 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_skmsg_helpers()
128 if (!ASSERT_OK(err, "bpf_prog_detach2")) in test_skmsg_helpers()
168 if (!ASSERT_OK(err, "bpf_link__update_program")) in test_skmsg_helpers_with_link()
186 if (!ASSERT_OK(err, "bpf_link_update")) in test_skmsg_helpers_with_link()
[all …]
H A Dtailcalls.c68 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
77 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
97 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
98 ASSERT_OK(topts.retval, "tailcall retval"); in test_tailcall_1()
121 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
130 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
139 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
203 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
212 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
221 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
[all …]
H A Dxdp_bonding.c37 ASSERT_OK(setns(root_netns_fd, CLONE_NEWNET), "restore_root_netns"); in restore_root_netns()
180 if (!ASSERT_OK(setns_by_name("ns_dst"), "set netns to ns_dst")) in bonding_setup()
201 ASSERT_OK(system("ip link delete bond1"), "delete bond1"); in bonding_cleanup()
202 ASSERT_OK(system("ip link delete veth1_1"), "delete veth1_1"); in bonding_cleanup()
203 ASSERT_OK(system("ip link delete veth1_2"), "delete veth1_2"); in bonding_cleanup()
204 ASSERT_OK(system("ip netns delete ns_dst"), "delete ns_dst"); in bonding_cleanup()
342 if (!ASSERT_OK(setns_by_name("ns_dst"), "could not set netns to ns_dst")) in test_xdp_bonding_redirect_multi()
354 if (!ASSERT_OK(err, "add interface to map_all")) in test_xdp_bonding_redirect_multi()
386 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth")) in test_xdp_bonding_attach()
388 if (!ASSERT_OK(system("ip link add bond type bond"), "add bond")) in test_xdp_bonding_attach()
[all …]
H A Darena_atomics.c14 if (!ASSERT_OK(err, "test_run_opts err")) in test_add()
16 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_add()
39 if (!ASSERT_OK(err, "test_run_opts err")) in test_sub()
41 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_sub()
64 if (!ASSERT_OK(err, "test_run_opts err")) in test_and()
66 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_and()
81 if (!ASSERT_OK(err, "test_run_opts err")) in test_or()
83 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_or()
98 if (!ASSERT_OK(err, "test_run_opts err")) in test_xor()
100 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_xor()
[all …]
H A Dlocal_kptr_stash.c24 ASSERT_OK(ret, "local_kptr_stash_add_nodes run"); in test_local_kptr_stash_simple()
25 ASSERT_OK(opts.retval, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_simple()
45 ASSERT_OK(ret, "local_kptr_stash_add_plain run"); in test_local_kptr_stash_plain()
46 ASSERT_OK(opts.retval, "local_kptr_stash_add_plain retval"); in test_local_kptr_stash_plain()
66 ASSERT_OK(ret, "local_kptr_stash_add_local_with_root run"); in test_local_kptr_stash_local_with_root()
67 ASSERT_OK(opts.retval, "local_kptr_stash_add_local_with_root retval"); in test_local_kptr_stash_local_with_root()
87 ASSERT_OK(ret, "local_kptr_stash_add_nodes run"); in test_local_kptr_stash_unstash()
88 ASSERT_OK(opts.retval, "local_kptr_stash_add_nodes retval"); in test_local_kptr_stash_unstash()
91 ASSERT_OK(ret, "local_kptr_stash_add_nodes run"); in test_local_kptr_stash_unstash()
113 ASSERT_OK(ret, "refcount_acquire_without_unstash run"); in test_refcount_acquire_without_unstash()
[all …]
H A Dxdp_devmap_attach.c41 if (!ASSERT_OK(err, "Generic attach of program with 8-byte devmap")) in test_xdp_with_devmap_helpers()
47 if (!ASSERT_OK(err, "bpf_prog_get_info_by_fd")) in test_xdp_with_devmap_helpers()
52 ASSERT_OK(err, "Add program to devmap entry"); in test_xdp_with_devmap_helpers()
55 ASSERT_OK(err, "Read devmap entry"); in test_xdp_with_devmap_helpers()
66 ASSERT_OK(err, "XDP test run"); in test_xdp_with_devmap_helpers()
72 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers()
128 if (!ASSERT_OK(err, "bpf_prog_get_info_by_fd")) in test_xdp_with_devmap_frags_helpers()
133 ASSERT_OK(err, "Add frags program to devmap entry"); in test_xdp_with_devmap_frags_helpers()
136 ASSERT_OK(err, "Read devmap entry"); in test_xdp_with_devmap_frags_helpers()
185 if (!ASSERT_OK(err, "Attach of program with 8-byte devmap")) in test_xdp_with_devmap_helpers_veth()
[all …]
H A Dlookup_and_delete.c20 if (!ASSERT_OK(err, "bpf_map_update_elem")) in fill_values()
37 if (!ASSERT_OK(err, "bpf_map_update_elem")) in fill_values_percpu()
55 if (!ASSERT_OK(err, "bpf_map__set_type")) in setup_prog()
59 if (!ASSERT_OK(err, "bpf_map__set_max_entries")) in setup_prog()
63 if (!ASSERT_OK(err, "test_lookup_and_delete__load")) in setup_prog()
88 if (!ASSERT_OK(err, "test_lookup_and_delete__attach")) in trigger_tp()
110 if (!ASSERT_OK(err, "fill_values")) in test_lookup_and_delete_hash()
117 if (!ASSERT_OK(err, "bpf_map_lookup_and_delete_elem")) in test_lookup_and_delete_hash()
146 if (!ASSERT_OK(err, "fill_values_percpu")) in test_lookup_and_delete_percpu_hash()
153 if (!ASSERT_OK(err, "bpf_map_lookup_and_delete_elem")) in test_lookup_and_delete_percpu_hash()
[all …]
H A Dtc_opts.c54 if (!ASSERT_OK(err, "prog_query")) in serial_test_tc_opts_basic()
63 ASSERT_OK(system(ping_cmd), ping_cmd); in serial_test_tc_opts_basic()
79 if (!ASSERT_OK(err, "prog_query")) in serial_test_tc_opts_basic()
88 ASSERT_OK(system(ping_cmd), ping_cmd); in serial_test_tc_opts_basic()
95 ASSERT_OK(err, "prog_detach_eg"); in serial_test_tc_opts_basic()
102 ASSERT_OK(err, "prog_detach_in"); in serial_test_tc_opts_basic()
159 if (!ASSERT_OK(err, "prog_query")) in test_tc_opts_before_target()
169 ASSERT_OK(system(ping_cmd), ping_cmd); in test_tc_opts_before_target()
189 if (!ASSERT_OK(err, "prog_query")) in test_tc_opts_before_target()
214 if (!ASSERT_OK(err, "prog_query")) in test_tc_opts_before_target()
[all …]
H A Dsockmap_ktls.c22 if (!ASSERT_OK(err, "listen")) in tcp_server()
47 if (!ASSERT_OK(err, "getsockopt")) in test_sockmap_ktls_disconnect_after_delete()
55 if (!ASSERT_OK(err, "connect")) in test_sockmap_ktls_disconnect_after_delete()
59 if (!ASSERT_OK(err, "bpf_map_update_elem")) in test_sockmap_ktls_disconnect_after_delete()
63 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in test_sockmap_ktls_disconnect_after_delete()
67 if (!ASSERT_OK(err, "bpf_map_delete_elem")) in test_sockmap_ktls_disconnect_after_delete()
71 ASSERT_OK(err, "disconnect"); in test_sockmap_ktls_disconnect_after_delete()
106 if (!ASSERT_OK(err, "bind")) in test_sockmap_ktls_update_fails_when_sock_has_ulp()
110 if (!ASSERT_OK(err, "getsockname")) in test_sockmap_ktls_update_fails_when_sock_has_ulp()
114 if (!ASSERT_OK(err, "connect")) in test_sockmap_ktls_update_fails_when_sock_has_ulp()
[all …]
H A Drbtree.c27 ASSERT_OK(ret, "rbtree_add_nodes run"); in test_rbtree_add_nodes()
28 ASSERT_OK(opts.retval, "rbtree_add_nodes retval"); in test_rbtree_add_nodes()
49 ASSERT_OK(ret, "rbtree_add_nodes_nested run"); in test_rbtree_add_nodes_nested()
50 ASSERT_OK(opts.retval, "rbtree_add_nodes_nested retval"); in test_rbtree_add_nodes_nested()
71 ASSERT_OK(ret, "rbtree_add_and_remove"); in test_rbtree_add_and_remove()
72 ASSERT_OK(opts.retval, "rbtree_add_and_remove retval"); in test_rbtree_add_and_remove()
93 ASSERT_OK(ret, "rbtree_add_and_remove_array"); in test_rbtree_add_and_remove_array()
94 ASSERT_OK(opts.retval, "rbtree_add_and_remove_array retval"); in test_rbtree_add_and_remove_array()
114 ASSERT_OK(ret, "rbtree_first_and_remove"); in test_rbtree_first_and_remove()
115 ASSERT_OK(opts.retval, "rbtree_first_and_remove retval"); in test_rbtree_first_and_remove()
[all …]
H A Datomics.c15 if (!ASSERT_OK(err, "test_run_opts err")) in test_add()
17 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_add()
40 if (!ASSERT_OK(err, "test_run_opts err")) in test_sub()
42 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_sub()
65 if (!ASSERT_OK(err, "test_run_opts err")) in test_and()
67 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_and()
87 if (!ASSERT_OK(err, "test_run_opts err")) in test_or()
89 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_or()
109 if (!ASSERT_OK(err, "test_run_opts err")) in test_xor()
111 if (!ASSERT_OK(topts.retval, "test_run_opts retval")) in test_xor()
[all …]
H A Dmap_init.c31 if (!ASSERT_OK(err, "bpf_map_update_elem")) in map_populate()
49 if (!ASSERT_OK(err, "bpf_map__set_type")) in setup()
53 if (!ASSERT_OK(err, "bpf_map__set_max_entries")) in setup()
57 if (!ASSERT_OK(err, "skel_load")) in setup()
65 if (!ASSERT_OK(err, "map_populate")) in setup()
89 if (!ASSERT_OK(test_map_init__attach(skel), "skel_attach")) in prog_run_insert_elem()
144 if (!ASSERT_OK(err, "bpf_map_delete_elem")) in test_pcpu_map_init()
149 if (!ASSERT_OK(err, "prog_run_insert_elem")) in test_pcpu_map_init()
154 if (!ASSERT_OK(err, "bpf_map_lookup_elem")) in test_pcpu_map_init()
186 if (!ASSERT_OK(err, "prog_run_insert_elem")) in test_pcpu_lru_map_init()
[all …]
H A Dtc_links.c60 if (!ASSERT_OK(err, "prog_query")) in serial_test_tc_links_basic()
71 ASSERT_OK(system(ping_cmd), ping_cmd); in serial_test_tc_links_basic()
93 if (!ASSERT_OK(err, "prog_query")) in serial_test_tc_links_basic()
104 ASSERT_OK(system(ping_cmd), ping_cmd); in serial_test_tc_links_basic()
140 if (!ASSERT_OK(err, "skel_load")) in test_tc_links_before_target()
182 if (!ASSERT_OK(err, "prog_query")) in test_tc_links_before_target()
195 ASSERT_OK(system(ping_cmd), ping_cmd); in test_tc_links_before_target()
235 if (!ASSERT_OK(err, "prog_query")) in test_tc_links_before_target()
252 ASSERT_OK(system(ping_cmd), ping_cmd); in test_tc_links_before_target()
294 if (!ASSERT_OK(err, "skel_load")) in test_tc_links_after_target()
[all …]
H A Dxdp_link.c33 if (!ASSERT_OK(err, "fd_info1")) in serial_test_xdp_link()
39 if (!ASSERT_OK(err, "fd_info2")) in serial_test_xdp_link()
45 if (!ASSERT_OK(err, "fd_attach")) in serial_test_xdp_link()
50 if (!ASSERT_OK(err, "id1_check_err") || !ASSERT_EQ(id0, id1, "id1_check_val")) in serial_test_xdp_link()
66 if (!ASSERT_OK(err, "prog_detach")) in serial_test_xdp_link()
77 if (!ASSERT_OK(err, "id1_check_err") || !ASSERT_EQ(id0, id1, "id1_check_val")) in serial_test_xdp_link()
113 if (!ASSERT_OK(err, "id2_check_err") || !ASSERT_EQ(id0, id2, "id2_check_val")) in serial_test_xdp_link()
118 if (!ASSERT_OK(err, "link_upd")) in serial_test_xdp_link()
124 if (!ASSERT_OK(err, "link_info")) in serial_test_xdp_link()
137 if (!ASSERT_OK(err, "link_detach")) in serial_test_xdp_link()
[all …]
H A Dtask_local_storage.c29 if (!ASSERT_OK(err, "skel_attach")) in test_sys_enter_exit()
54 if (!ASSERT_OK(err, "skel_attach")) in test_exit_creds()
97 if (!ASSERT_OK(err, "skel_attach")) in test_recursion()
111 ASSERT_OK(err, "lookup map_a"); in test_recursion()
117 ASSERT_OK(err, "lookup map_b"); in test_recursion()
123 ASSERT_OK(err, "get prog info"); in test_recursion()
129 ASSERT_OK(err, "get prog info"); in test_recursion()
179 if (!ASSERT_OK(err, "getaffinity")) in test_nodeadlock()
182 if (!ASSERT_OK(err, "setaffinity")) in test_nodeadlock()
198 ASSERT_OK(err, "attach prog"); in test_nodeadlock()
[all …]
H A Dcrypto_sanity.c108 if (!ASSERT_OK(err, "AF_ALG init fail")) in test_crypto_sanity()
125 if (!ASSERT_OK(err, "skb_crypto_setup") || in test_crypto_sanity()
126 !ASSERT_OK(opts.retval, "skb_crypto_setup retval")) in test_crypto_sanity()
129 if (!ASSERT_OK(skel->bss->status, "skb_crypto_setup status")) in test_crypto_sanity()
133 if (!ASSERT_OK(err, "create qdisc hook")) in test_crypto_sanity()
139 if (!ASSERT_OK(err, "make_sockaddr")) in test_crypto_sanity()
144 if (!ASSERT_OK(err, "attach encrypt filter")) in test_crypto_sanity()
157 if (!ASSERT_OK(skel->bss->status, "encrypt status")) in test_crypto_sanity()
164 if (!ASSERT_OK(err, "bpf_tc_detach encrypt")) in test_crypto_sanity()
169 if (!ASSERT_OK(err, "attach decrypt filter")) in test_crypto_sanity()
[all …]
H A Dcgroup_storage.c47 if (!ASSERT_OK(setup_network(&ns), "setup network")) in test_cgroup_storage()
61 ASSERT_OK(err, "first ping"); in test_cgroup_storage()
65 ASSERT_OK(err, "third ping"); in test_cgroup_storage()
69 if (!ASSERT_OK(err, "get first key")) in test_cgroup_storage()
73 if (!ASSERT_OK(err, "first packet count read")) in test_cgroup_storage()
80 if (!ASSERT_OK(err, "increment packet counter")) in test_cgroup_storage()
83 ASSERT_OK(err, "fourth ping"); in test_cgroup_storage()
87 ASSERT_OK(err, "sixth ping"); in test_cgroup_storage()

1234567891011