| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | map_kptr.c | 26 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 D | linked_list.c | 140 …ASSERT_OK(bpf_map__update_elem(map, &key, sizeof(key), buf, sizeof(buf), 0), "check_and_free_field… in clear_fields() 170 ASSERT_OK(ret, "map_list_push_pop"); in test_linked_list_success() 171 ASSERT_OK(opts.retval, "map_list_push_pop retval"); in test_linked_list_success() 176 ASSERT_OK(ret, "inner_map_list_push_pop"); in test_linked_list_success() 177 ASSERT_OK(opts.retval, "inner_map_list_push_pop retval"); in test_linked_list_success() 182 ASSERT_OK(ret, "global_list_push_pop"); in test_linked_list_success() 183 ASSERT_OK(opts.retval, "global_list_push_pop retval"); in test_linked_list_success() 188 ASSERT_OK(ret, "global_list_push_pop_nested"); in test_linked_list_success() 189 ASSERT_OK(opts.retval, "global_list_push_pop_nested retval"); in test_linked_list_success() 194 ASSERT_OK(ret, "global_list_array_push_pop"); in test_linked_list_success() [all …]
|
| H A D | arg_parsing.c | 33 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 D | test_bpffs.c | 40 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 D | bpf_obj_pinning.c | 56 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 D | exceptions.c | 33 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 D | tailcalls.c | 70 ASSERT_OK(err, "tailcall"); in test_tailcall_1() 79 ASSERT_OK(err, "tailcall"); in test_tailcall_1() 99 ASSERT_OK(err, "tailcall"); in test_tailcall_1() 100 ASSERT_OK(topts.retval, "tailcall retval"); in test_tailcall_1() 123 ASSERT_OK(err, "tailcall"); in test_tailcall_1() 132 ASSERT_OK(err, "tailcall"); in test_tailcall_1() 141 ASSERT_OK(err, "tailcall"); in test_tailcall_1() 205 ASSERT_OK(err, "tailcall"); in test_tailcall_2() 214 ASSERT_OK(err, "tailcall"); in test_tailcall_2() 223 ASSERT_OK(er in test_tailcall_2() [all...] |
| H A D | sockmap_ktls.c | 24 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in init_ktls_pairs() 28 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in init_ktls_pairs() 39 if (!ASSERT_OK(err, "setsockopt(TLS_TX)")) in init_ktls_pairs() 43 if (!ASSERT_OK(err, "setsockopt(TLS_RX)")) in init_ktls_pairs() 55 if (!ASSERT_OK(err, "create_pair()")) in create_ktls_pairs() 59 if (!ASSERT_OK(err, "init_ktls_pairs(c, p)")) in create_ktls_pairs() 91 if (!ASSERT_OK(err, "bind")) in test_sockmap_ktls_update_fails_when_sock_has_ulp() 95 if (!ASSERT_OK(err, "getsockname")) in test_sockmap_ktls_update_fails_when_sock_has_ulp() 99 if (!ASSERT_OK(err, "connect")) in test_sockmap_ktls_update_fails_when_sock_has_ulp() 104 if (!ASSERT_OK(err, "setsockopt(TCP_ULP)")) in test_sockmap_ktls_update_fails_when_sock_has_ulp() [all …]
|
| H A D | migrate_reuseport.c | 168 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 D | sockmap_basic.c | 51 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4() 55 if (!ASSERT_OK(err, "connect")) in connected_socket_v4() 60 if (!ASSERT_OK(err, "setsockopt(TCP_REPAIR)")) in connected_socket_v4() 88 if (!ASSERT_OK(err, "lookup_elem(src)")) in compare_cookies() 92 if (!ASSERT_OK(err, "lookup_elem(dst)")) in compare_cookies() 114 if (!ASSERT_OK(err, "bpf_map_update")) in test_sockmap_create_update_free() 132 if (!ASSERT_OK(err, "create_pair")) in test_sockmap_vsock_delete_on_close() 142 if (!ASSERT_OK(err, "create_pair")) in test_sockmap_vsock_delete_on_close() 146 ASSERT_OK(err, "after close(), bpf_map_update"); in test_sockmap_vsock_delete_on_close() 168 if (!ASSERT_OK(err, "bpf_prog_attach")) in test_skmsg_helpers() [all …]
|
| H A D | cgroup_tcp_skb.c | 72 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 D | arena_atomics.c | 14 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 D | xdp_bonding.c | 37 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 D | local_kptr_stash.c | 24 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 D | cgroup_preorder.c | 24 if (!ASSERT_OK(err, "setsockopt")) in run_getsockopt_test() 34 if (!ASSERT_OK(err, "bpf_prog_attach_opts-child")) in run_getsockopt_test() 42 if (!ASSERT_OK(err, "bpf_prog_attach_opts-child_2")) in run_getsockopt_test() 47 if (!ASSERT_OK(err, "getsockopt")) in run_getsockopt_test() 66 if (!ASSERT_OK(err, "bpf_prog_attach_opts-parent")) in run_getsockopt_test() 74 if (!ASSERT_OK(err, "bpf_prog_attach_opts-parent_2")) in run_getsockopt_test() 78 if (!ASSERT_OK(err, "getsockopt")) in run_getsockopt_test() 89 ASSERT_OK(bpf_prog_detach2(prog_p2_fd, cg_parent, prog_p2_atype), in run_getsockopt_test() 92 ASSERT_OK(bpf_prog_detach2(prog_p_fd, cg_parent, prog_p_atype), in run_getsockopt_test() 95 ASSERT_OK(bpf_prog_detach2(prog_c2_fd, cg_child, prog_c2_atype), in run_getsockopt_test() [all …]
|
| H A D | lookup_and_delete.c | 20 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 D | atomics.c | 15 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 D | xdp_devmap_attach.c | 42 if (!ASSERT_OK(err, "Generic attach of program with 8-byte devmap")) in test_xdp_with_devmap_helpers() 48 if (!ASSERT_OK(err, "bpf_prog_get_info_by_fd")) in test_xdp_with_devmap_helpers() 53 ASSERT_OK(err, "Add program to devmap entry"); in test_xdp_with_devmap_helpers() 56 ASSERT_OK(err, "Read devmap entry"); in test_xdp_with_devmap_helpers() 67 ASSERT_OK(err, "XDP test run"); in test_xdp_with_devmap_helpers() 73 ASSERT_OK(err, "XDP program detach"); in test_xdp_with_devmap_helpers() 129 ASSERT_OK(err, "test_xdp_devmap_tailcall__load"); in test_xdp_devmap_tailcall() 152 if (!ASSERT_OK(err, "bpf_prog_get_info_by_fd")) in test_xdp_with_devmap_frags_helpers() 157 ASSERT_OK(err, "Add frags program to devmap entry"); in test_xdp_with_devmap_frags_helpers() 160 ASSERT_OK(err, "Read devmap entry"); in test_xdp_with_devmap_frags_helpers() [all …]
|
| H A D | res_spin_lock.c | 29 ASSERT_OK(err, "test_run"); in spin_lock_thread() 30 ASSERT_OK(topts.retval, "test_run retval"); in spin_lock_thread() 60 ASSERT_OK(err, "error"); in test_res_spin_lock_success() 61 ASSERT_OK(topts.retval, "retval"); in test_res_spin_lock_success() 65 ASSERT_OK(err, "error"); in test_res_spin_lock_success() 66 ASSERT_OK(topts.retval, "retval"); in test_res_spin_lock_success() 75 if (!ASSERT_OK(err, "pthread_create")) in test_res_spin_lock_success() 89 if (!ASSERT_OK(pthread_join(thread_id[i], &ret), "pthread_join")) in test_res_spin_lock_success() 96 ASSERT_OK(err, "err"); in test_res_spin_lock_success() 110 ASSERT_OK(load_module("bpf_test_rqspinlock.ko", false), "load module AA"); in serial_test_res_spin_lock_stress()
|
| H A D | refcounted_kptr.c | 35 ASSERT_OK(ret, "rbtree_wrong_owner_remove_fail_a1"); in test_refcounted_kptr_wrong_owner() 36 ASSERT_OK(opts.retval, "rbtree_wrong_owner_remove_fail_a1 retval"); in test_refcounted_kptr_wrong_owner() 39 ASSERT_OK(ret, "rbtree_wrong_owner_remove_fail_b"); in test_refcounted_kptr_wrong_owner() 40 ASSERT_OK(opts.retval, "rbtree_wrong_owner_remove_fail_b retval"); in test_refcounted_kptr_wrong_owner() 43 ASSERT_OK(ret, "rbtree_wrong_owner_remove_fail_a2"); in test_refcounted_kptr_wrong_owner() 44 ASSERT_OK(opts.retval, "rbtree_wrong_owner_remove_fail_a2 retval"); in test_refcounted_kptr_wrong_owner() 80 if (!ASSERT_OK(err, "bpf_map__update_elem")) in test_percpu_hash_refcounted_kptr_refcount_leak() 85 if (!ASSERT_OK(err, "bpf_prog_test_run_opts")) in test_percpu_hash_refcounted_kptr_refcount_leak() 91 if (!ASSERT_OK(err, "bpf_map__update_elem")) in test_percpu_hash_refcounted_kptr_refcount_leak() 96 ASSERT_OK(err, "bpf_prog_test_run_opts"); in test_percpu_hash_refcounted_kptr_refcount_leak()
|
| H A D | tc_opts.c | 54 if (!ASSERT_OK(err, "prog_query")) in test_ns_tc_opts_basic() 63 ASSERT_OK(system(ping_cmd), ping_cmd); in test_ns_tc_opts_basic() 79 if (!ASSERT_OK(err, "prog_query")) in test_ns_tc_opts_basic() 88 ASSERT_OK(system(ping_cmd), ping_cmd); in test_ns_tc_opts_basic() 95 ASSERT_OK(err, "prog_detach_eg"); in test_ns_tc_opts_basic() 102 ASSERT_OK(err, "prog_detach_in"); in test_ns_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 D | cgrp_kfunc.c | 25 if (!ASSERT_OK(err, "skel_load")) in open_load_cgrp_kfunc_skel() 60 if (!ASSERT_OK(skel->bss->err, "pre_mkdir_err")) in run_success_test() 72 if (!ASSERT_OK(mkdir_rm_test_dir(), "cgrp_mkdir")) in run_success_test() 76 ASSERT_OK(skel->bss->err, "post_rmdir_err"); in run_success_test() 103 if (!ASSERT_OK(skel->bss->err, "pre_mkdir_err")) in test_cgrp_from_id_ns() 108 if (!ASSERT_OK(pipe(pipe_fd), "pipe")) in test_cgrp_from_id_ns() 126 if (!ASSERT_OK(unshare(CLONE_NEWCGROUP), "unshare cgns")) in test_cgrp_from_id_ns() 130 if (!ASSERT_OK(ret, "test run ret")) in test_cgrp_from_id_ns() 133 if (!ASSERT_OK(opts.retval, "test run retval")) in test_cgrp_from_id_ns() 150 ASSERT_OK(res, "result from run"); in test_cgrp_from_id_ns() [all …]
|
| H A D | rbtree.c | 28 ASSERT_OK(ret, "rbtree_add_nodes run"); in test_rbtree_add_nodes() 29 ASSERT_OK(opts.retval, "rbtree_add_nodes retval"); in test_rbtree_add_nodes() 50 ASSERT_OK(ret, "rbtree_add_nodes_nested run"); in test_rbtree_add_nodes_nested() 51 ASSERT_OK(opts.retval, "rbtree_add_nodes_nested retval"); in test_rbtree_add_nodes_nested() 72 ASSERT_OK(ret, "rbtree_add_and_remove"); in test_rbtree_add_and_remove() 73 ASSERT_OK(opts.retval, "rbtree_add_and_remove retval"); in test_rbtree_add_and_remove() 94 ASSERT_OK(ret, "rbtree_add_and_remove_array"); in test_rbtree_add_and_remove_array() 95 ASSERT_OK(opts.retval, "rbtree_add_and_remove_array retval"); in test_rbtree_add_and_remove_array() 115 ASSERT_OK(ret, "rbtree_first_and_remove"); in test_rbtree_first_and_remove() 116 ASSERT_OK(opts.retval, "rbtree_first_and_remove retval"); in test_rbtree_first_and_remove() [all …]
|
| H A D | map_in_map.c | 98 if (!ASSERT_OK(err, "access_map_in_map load")) in test_map_in_map_access() 102 if (!ASSERT_OK(err, "access_map_in_map attach")) in test_map_in_map_access() 113 if (!ASSERT_OK(err, "close_thread")) in test_map_in_map_access() 117 if (!ASSERT_OK(err, "read_thread")) { in test_map_in_map_access() 127 ASSERT_OK(ctx.err, "err"); in test_map_in_map_access() 142 if (!ASSERT_OK(err, "add")) in add_del_fd_htab() 147 ASSERT_OK(err, "del"); in add_del_fd_htab() 160 if (!ASSERT_OK(err, "add")) in overwrite_fd_htab() 169 if (!ASSERT_OK(err, "overwrite")) in overwrite_fd_htab() 173 ASSERT_OK(err, "del"); in overwrite_fd_htab() [all …]
|
| H A D | task_local_storage.c | 37 if (!ASSERT_OK(err, "skel_attach")) in test_sys_enter_exit() 62 if (!ASSERT_OK(err, "skel_attach")) in test_exit_creds() 105 if (!ASSERT_OK(err, "skel_attach")) in test_recursion() 119 ASSERT_OK(err, "lookup map_a"); in test_recursion() 125 ASSERT_OK(err, "lookup map_b"); in test_recursion() 131 ASSERT_OK(err, "get prog info"); in test_recursion() 137 ASSERT_OK(err, "get prog info"); in test_recursion() 187 if (!ASSERT_OK(err, "getaffinity")) in test_nodeadlock() 190 if (!ASSERT_OK(err, "setaffinity")) in test_nodeadlock() 206 ASSERT_OK(er in test_nodeadlock() [all...] |