Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c39 if (!ASSERT_OK(err, "unshare")) in fn()
43 if (!ASSERT_OK(err, "mount /")) in fn()
47 if (!ASSERT_OK(err, "umount " TDIR)) in fn()
51 if (!ASSERT_OK(err, "mount tmpfs")) in fn()
55 if (!ASSERT_OK(err, "mkdir " TDIR "/fs1")) in fn()
58 if (!ASSERT_OK(err, "mkdir " TDIR "/fs2")) in fn()
62 if (!ASSERT_OK(err, "mount bpffs " TDIR "/fs1")) in fn()
65 if (!ASSERT_OK(err, "mount bpffs " TDIR "/fs2")) in fn()
69 if (!ASSERT_OK(err, "reading " TDIR "/fs1/maps.debug")) in fn()
72 if (!ASSERT_OK(err, "reading " TDIR "/fs2/progs.debug")) in fn()
[all …]
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 …]
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 …]
Dmap_kptr.c101 ASSERT_OK(ret, "test_map_kptr_ref refcount"); in test_map_kptr_success()
102 ASSERT_OK(opts.retval, "test_map_kptr_ref retval"); in test_map_kptr_success()
104 ASSERT_OK(ret, "test_map_kptr_ref2 refcount"); in test_map_kptr_success()
105 ASSERT_OK(opts.retval, "test_map_kptr_ref2 retval"); in test_map_kptr_success()
112 ASSERT_OK(ret, "array_map update"); in test_map_kptr_success()
115 ASSERT_OK(ret, "array_map update2"); in test_map_kptr_success()
119 ASSERT_OK(ret, "hash_map update"); in test_map_kptr_success()
121 ASSERT_OK(ret, "hash_map delete"); in test_map_kptr_success()
125 ASSERT_OK(ret, "hash_malloc_map update"); in test_map_kptr_success()
127 ASSERT_OK(ret, "hash_malloc_map delete"); in test_map_kptr_success()
[all …]
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 …]
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 …]
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 …]
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 …]
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()
123 if (!ASSERT_OK(err, "link_info")) in serial_test_xdp_link()
136 if (!ASSERT_OK(err, "link_detach")) in serial_test_xdp_link()
[all …]
Dsockmap_basic.c35 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4()
39 if (!ASSERT_OK(err, "connect")) in connected_socket_v4()
44 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4()
72 if (!ASSERT_OK(err, "lookup_elem(src)")) in compare_cookies()
76 if (!ASSERT_OK(err, "lookup_elem(dst)")) in compare_cookies()
98 if (!ASSERT_OK(err, "bpf_map_update")) in test_sockmap_create_update_free()
119 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_skmsg_helpers()
123 if (!ASSERT_OK(err, "bpf_prog_detach2")) in test_skmsg_helpers()
159 if (!ASSERT_OK(err, "update_elem(src)")) in test_sockmap_update()
163 if (!ASSERT_OK(err, "test_run")) in test_sockmap_update()
[all …]
Dtailcalls.c62 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
71 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
91 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
92 ASSERT_OK(topts.retval, "tailcall retval"); in test_tailcall_1()
115 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
124 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
133 ASSERT_OK(err, "tailcall"); in test_tailcall_1()
197 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
206 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
215 ASSERT_OK(err, "tailcall"); in test_tailcall_2()
[all …]
Dconnect_ping.c56 if (!ASSERT_OK(connect(sock_fd, sa, sa_len), "connect")) in subtest()
68 if (!ASSERT_OK(getsockname(sock_fd, sa, &sa_len), in subtest()
101 if (!ASSERT_OK(unshare(CLONE_NEWNET | CLONE_NEWNS), "unshare")) in test_connect_ping()
107 if (!ASSERT_OK(mount("none", "/sys", NULL, MS_PRIVATE, NULL), in test_connect_ping()
110 if (!ASSERT_OK(mount("sysfs", "/sys", "sysfs", 0, NULL), in test_connect_ping()
113 if (!ASSERT_OK(mount("bpffs", "/sys/fs/bpf", "bpf", 0, NULL), in test_connect_ping()
117 if (!ASSERT_OK(system("ip link set dev lo up"), "lo-up")) in test_connect_ping()
119 if (!ASSERT_OK(system("ip addr add 1.1.1.1 dev lo"), "lo-addr-v4")) in test_connect_ping()
121 if (!ASSERT_OK(system("ip -6 addr add 2001:db8::1 dev lo"), "lo-addr-v6")) in test_connect_ping()
Dsk_storage_tracing.c32 if (!ASSERT_OK(err, "map_lookup(sk_stg_map)")) in check_sk_stg()
65 if (!ASSERT_OK(err, "map_update(del_sk_stg_map)")) in do_test()
75 if (!ASSERT_OK(err, "read(passive_fd)")) in do_test()
80 if (!ASSERT_OK(err, "read(active_fd)")) in do_test()
89 if (!ASSERT_OK(err, "listen_fd sk_stg")) in do_test()
93 if (!ASSERT_OK(err, "active_fd sk_stg")) in do_test()
97 ASSERT_OK(err, "passive_fd sk_stg"); in do_test()
127 if (!ASSERT_OK(err, "test_sk_storage_tracing__attach")) { in serial_test_sk_storage_tracing()
Dtc_redirect.c98 if (!ASSERT_OK(system(cmd), cmd)) in netns_setup_namespaces()
167 if (!ASSERT_OK(system(cmd), cmd)) \
310 if (!ASSERT_OK(settimeo(accept_fd, TIMEOUT_MILLIS), "settimeo")) in test_tcp()
352 if (!ASSERT_OK(err, "set ipv4.ip_forward=0")) in set_forwarding()
356 if (!ASSERT_OK(err, "set ipv6.forwarding=0")) in set_forwarding()
395 ASSERT_OK(ret, "clock_gettime"); in rcv_tstamp()
415 ASSERT_OK(ret, "clock_get_time(CLOCK_TAI)"); in snd_tstamp()
432 ASSERT_OK(ret, "setsockopt(SO_TXTIME)"); in snd_tstamp()
456 if (!ASSERT_OK(err, "setsockopt(SO_TIMESTAMPNS_NEW)")) in test_inet_dtime()
465 if (!ASSERT_OK(err, "setsockopt(TCP_TX_DELAY)")) in test_inet_dtime()
[all …]
Dxdp_bonding.c36 ASSERT_OK(setns(root_netns_fd, CLONE_NEWNET), "restore_root_netns"); in restore_root_netns()
148 if (!ASSERT_OK(system(cmd), cmd)) \ in bonding_setup()
187 if (!ASSERT_OK(setns_by_name("ns_dst"), "set netns to ns_dst")) in bonding_setup()
208 ASSERT_OK(system("ip link delete bond1"), "delete bond1"); in bonding_cleanup()
209 ASSERT_OK(system("ip link delete veth1_1"), "delete veth1_1"); in bonding_cleanup()
210 ASSERT_OK(system("ip link delete veth1_2"), "delete veth1_2"); in bonding_cleanup()
211 ASSERT_OK(system("ip netns delete ns_dst"), "delete ns_dst"); in bonding_cleanup()
349 if (!ASSERT_OK(setns_by_name("ns_dst"), "could not set netns to ns_dst")) in test_xdp_bonding_redirect_multi()
361 if (!ASSERT_OK(err, "add interface to map_all")) in test_xdp_bonding_redirect_multi()
393 if (!ASSERT_OK(system("ip link add veth type veth"), "add veth")) in test_xdp_bonding_attach()
[all …]
Dxdp_adjust_tail.c21 if (!ASSERT_OK(err, "test_xdp_adjust_tail_shrink")) in test_xdp_adjust_tail_shrink()
25 ASSERT_OK(err, "ipv4"); in test_xdp_adjust_tail_shrink()
33 ASSERT_OK(err, "ipv6"); in test_xdp_adjust_tail_shrink()
56 if (!ASSERT_OK(err, "test_xdp_adjust_tail_grow")) in test_xdp_adjust_tail_grow()
60 ASSERT_OK(err, "ipv4"); in test_xdp_adjust_tail_grow()
68 ASSERT_OK(err, "ipv6"); in test_xdp_adjust_tail_grow()
93 if (!ASSERT_OK(err, "test_xdp_adjust_tail_grow")) in test_xdp_adjust_tail_grow2()
122 ASSERT_OK(err, "case-128"); in test_xdp_adjust_tail_grow2()
174 ASSERT_OK(err, "9Kb-10b"); in test_xdp_adjust_frags_tail_shrink()
185 ASSERT_OK(err, "9Kb-4Kb"); in test_xdp_adjust_frags_tail_shrink()
[all …]
Dcgroup_hierarchical_stats.c101 if (!ASSERT_OK(err, "mkdir")) in setup_bpffs()
110 ASSERT_OK(rmdir(BPFFS_ATTACH_COUNTERS), "rmdir "BPFFS_ATTACH_COUNTERS); in cleanup_bpffs()
116 ASSERT_OK(umount(BPFFS_ROOT), "unmount bpffs"); in cleanup_bpffs()
125 if (!ASSERT_OK(err, "setup_cgroup_environment")) in setup_cgroups()
200 if (!ASSERT_OK(read_from_file(path, buf, 128), "read cgroup_iter")) in get_attach_counter()
270 ASSERT_OK(err, "pin cgroup_iter"); in setup_cgroup_iter()
289 if (!ASSERT_OK(err, "setup_cgroup_iter")) in setup_progs()
295 if (!ASSERT_OK(err, "setup_cgroup_iter")) in setup_progs()
300 if (!ASSERT_OK(err, "attach")) in setup_progs()
315 ASSERT_OK(remove(path), "remove cgroup_iter pin"); in destroy_progs()
[all …]
Dxdp_cpumap_attach.c28 if (!ASSERT_OK(err, "Generic attach of program with 8-byte CPUMAP")) in test_xdp_with_cpumap_helpers()
32 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_cpumap_helpers()
37 if (!ASSERT_OK(err, "bpf_obj_get_info_by_fd")) in test_xdp_with_cpumap_helpers()
42 ASSERT_OK(err, "Add program to cpumap entry"); in test_xdp_with_cpumap_helpers()
45 ASSERT_OK(err, "Read cpumap entry"); in test_xdp_with_cpumap_helpers()
89 if (!ASSERT_OK(err, "bpf_obj_get_info_by_fd")) in test_xdp_with_cpumap_frags_helpers()
94 ASSERT_OK(err, "Add program to cpumap entry"); in test_xdp_with_cpumap_frags_helpers()
97 ASSERT_OK(err, "Read cpumap entry"); in test_xdp_with_cpumap_frags_helpers()
Dxdp_devmap_attach.c30 if (!ASSERT_OK(err, "Generic attach of program with 8-byte devmap")) in test_xdp_with_devmap_helpers()
34 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers()
39 if (!ASSERT_OK(err, "bpf_obj_get_info_by_fd")) in test_xdp_with_devmap_helpers()
44 ASSERT_OK(err, "Add program to devmap entry"); in test_xdp_with_devmap_helpers()
47 ASSERT_OK(err, "Read devmap entry"); in test_xdp_with_devmap_helpers()
102 if (!ASSERT_OK(err, "bpf_obj_get_info_by_fd")) in test_xdp_with_devmap_frags_helpers()
107 ASSERT_OK(err, "Add frags program to devmap entry"); in test_xdp_with_devmap_frags_helpers()
110 ASSERT_OK(err, "Read devmap entry"); in test_xdp_with_devmap_frags_helpers()
Dtest_tunnel.c98 if (!ASSERT_OK(system(cmd), cmd)) \
223 if (!ASSERT_OK(ret, "create tc hook")) in attach_tc_prog()
229 if (!ASSERT_OK(ret, "bpf_tc_attach")) { in attach_tc_prog()
238 if (!ASSERT_OK(ret, "bpf_tc_attach")) { in attach_tc_prog()
262 if (!ASSERT_OK(err, "add vxlan tunnel")) in test_vxlan_tunnel()
314 if (!ASSERT_OK(err, "update bpf local_ip_map")) in test_vxlan_tunnel()
319 if (!ASSERT_OK(err, "test_ping")) in test_vxlan_tunnel()
346 if (!ASSERT_OK(err, "add_ip6vxlan_tunnel")) in test_ip6vxlan_tunnel()
387 if (!ASSERT_OK(err, "update bpf local_ip_map")) in test_ip6vxlan_tunnel()
392 if (!ASSERT_OK(err, "test_ping")) in test_ip6vxlan_tunnel()
[all …]
Dtc_bpf.c33 if (!ASSERT_OK(ret, "bpf_obj_get_info_by_fd")) in test_tc_bpf_basic()
37 if (!ASSERT_OK(ret, "bpf_tc_attach")) in test_tc_bpf_basic()
48 if (!ASSERT_OK(ret, "bpf_tc_attach replace mode")) in test_tc_bpf_basic()
53 if (!ASSERT_OK(ret, "bpf_tc_query")) in test_tc_bpf_basic()
64 ASSERT_OK(ret, "bpf_tc_detach"); in test_tc_bpf_basic()
305 if (!ASSERT_OK(ret, "bpf_tc_attach valid handle unset")) in test_tc_bpf_api()
308 ASSERT_OK(bpf_tc_detach(hook, &opts_pf), "bpf_tc_detach"); in test_tc_bpf_api()
311 if (!ASSERT_OK(ret, "bpf_tc_attach valid priority unset")) in test_tc_bpf_api()
314 ASSERT_OK(bpf_tc_detach(hook, &opts_hf), "bpf_tc_detach"); in test_tc_bpf_api()
321 if (!ASSERT_OK(ret, "bpf_tc_attach valid both handle and priority unset")) in test_tc_bpf_api()
[all …]
Dget_func_ip_test.c16 if (!ASSERT_OK(err, "get_func_ip_test__load")) in test_function_entry()
20 if (!ASSERT_OK(err, "get_func_ip_test__attach")) in test_function_entry()
25 ASSERT_OK(err, "test_run"); in test_function_entry()
31 ASSERT_OK(err, "test_run"); in test_function_entry()
62 if (!ASSERT_OK(err, "get_func_ip_test__load")) in test_function_body()
73 ASSERT_OK(err, "test_run"); in test_function_body()
Dunpriv_bpf_disabled.c121 ASSERT_OK(bpf_map_update_elem(map_fds[i], &key, vals, 0), "map_update_elem"); in test_unpriv_bpf_disabled_positive()
122 ASSERT_OK(bpf_map_lookup_elem(map_fds[i], &key, &lookup_vals), "map_lookup_elem"); in test_unpriv_bpf_disabled_positive()
125 ASSERT_OK(bpf_map_delete_elem(map_fds[i], &key), "map_delete_elem"); in test_unpriv_bpf_disabled_positive()
182 if (ASSERT_OK(bpf_obj_get_info_by_fd(map_fds[0], &map_info, &map_info_len), in test_unpriv_bpf_disabled_negative()
190 if (ASSERT_OK(bpf_obj_get_info_by_fd(bpf_link__fd(skel->links.sys_nanosleep_enter), in test_unpriv_bpf_disabled_negative()
251 ASSERT_OK(bpf_obj_pin(map_fds[i], map_paths[i]), "pin map_fd"); in test_unpriv_bpf_disabled()
254 if (!ASSERT_OK(sysctl_set("/proc/sys/kernel/perf_event_paranoid", perf_event_paranoid_orig, in test_unpriv_bpf_disabled()
263 if (!ASSERT_OK(strcmp(unprivileged_bpf_disabled_orig, "1"), in test_unpriv_bpf_disabled()
267 if (!ASSERT_OK(ret, "set unprivileged_bpf_disabled")) in test_unpriv_bpf_disabled()
272 ASSERT_OK(bpf_obj_get_info_by_fd(prog_fd, &prog_info, &prog_info_len), in test_unpriv_bpf_disabled()
[all …]
Duser_ringbuf.c82 if (!ASSERT_OK(err, "set_max_entries")) in open_load_ringbuf_skel()
86 if (!ASSERT_OK(err, "set_max_entries")) in open_load_ringbuf_skel()
90 if (!ASSERT_OK(err, "skel_load")) in open_load_ringbuf_skel()
120 ASSERT_OK(munmap(mmap_ptr, page_size), "unmap_ro_cons"); in test_user_ringbuf_mappings()
129 ASSERT_OK(munmap(mmap_ptr, page_size), "unmap_rw_prod"); in test_user_ringbuf_mappings()
138 ASSERT_OK(munmap(mmap_ptr, page_size), "unmap_rw_data"); in test_user_ringbuf_mappings()
180 if (!ASSERT_OK(err, "skel_attach")) in load_skel_create_ringbufs()
233 ASSERT_OK(munmap(producer_pos_ptr, page_size), "unmap_producer_pos"); in manually_write_test_invalid_sample()
234 ASSERT_OK(munmap(data_ptr, page_size), "unmap_data_ptr"); in manually_write_test_invalid_sample()
245 if (!ASSERT_OK(err, "misaligned_skel")) in test_user_ringbuf_post_misaligned()
[all …]
Dmap_lookup_percpu_elem.c30 if (!ASSERT_OK(ret, "test_map_lookup_percpu_elem__load")) in test_map_lookup_percpu_elem()
34 if (!ASSERT_OK(ret, "test_map_lookup_percpu_elem__attach")) in test_map_lookup_percpu_elem()
38 ASSERT_OK(ret, "percpu_array_map update"); in test_map_lookup_percpu_elem()
41 ASSERT_OK(ret, "percpu_hash_map update"); in test_map_lookup_percpu_elem()
44 ASSERT_OK(ret, "percpu_lru_hash_map update"); in test_map_lookup_percpu_elem()

1234567