/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | test_ima.c | 110 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima() 125 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima() 126 ASSERT_NEQ(ima_hash_from_bpf[1], 0, "ima_hash"); in test_test_ima() 148 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima() 149 ASSERT_NEQ(ima_hash_from_bpf[1], 0, "ima_hash"); in test_test_ima() 152 ASSERT_NEQ(ima_hash_from_bpf[1], bin_true_sample, in test_test_ima() 170 ASSERT_NEQ(ima_hash_from_bpf[0], 0, "ima_hash"); in test_test_ima() 171 ASSERT_NEQ(ima_hash_from_bpf[1], 0, "ima_hash"); in test_test_ima() 172 ASSERT_NEQ(ima_hash_from_bpf[2], 0, "ima_hash"); in test_test_ima() 173 ASSERT_NEQ(ima_hash_from_bpf[3], 0, "ima_hash"); in test_test_ima() [all …]
|
D | skb_ctx.c | 43 ASSERT_NEQ(err, 0, "ctx_size_in"); in test_skb_ctx() 50 ASSERT_NEQ(err, 0, "ctx_size_out"); in test_skb_ctx() 57 ASSERT_NEQ(err, 0, "len"); in test_skb_ctx() 62 ASSERT_NEQ(err, 0, "tc_index"); in test_skb_ctx() 69 ASSERT_NEQ(err, 0, "hash"); in test_skb_ctx() 74 ASSERT_NEQ(err, 0, "sk"); in test_skb_ctx()
|
D | xdp_cpumap_attach.c | 50 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_CPUMAP program")) in test_xdp_with_cpumap_helpers() 56 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_CPUMAP program to cpumap entry"); in test_xdp_with_cpumap_helpers() 65 ASSERT_NEQ(err, 0, "Add BPF_XDP program with frags to cpumap entry"); in test_xdp_with_cpumap_helpers() 108 ASSERT_NEQ(err, 0, "Add BPF_XDP program to cpumap entry"); in test_xdp_with_cpumap_frags_helpers()
|
D | xdp_devmap_attach.c | 52 if (!ASSERT_NEQ(err, 0, "Attach of BPF_XDP_DEVMAP program")) in test_xdp_with_devmap_helpers() 58 ASSERT_NEQ(err, 0, "Add non-BPF_XDP_DEVMAP program to devmap entry"); in test_xdp_with_devmap_helpers() 67 ASSERT_NEQ(err, 0, "Add BPF_XDP program with frags to devmap entry"); in test_xdp_with_devmap_helpers() 121 ASSERT_NEQ(err, 0, "Add BPF_XDP program to devmap entry"); in test_xdp_with_devmap_frags_helpers()
|
D | test_bpf_syscall_macro.c | 37 ASSERT_NEQ(skel->bss->arg1, exp_arg1, "syscall_arg1"); in test_bpf_syscall_macro() 45 ASSERT_NEQ(skel->bss->arg4_cx, exp_arg4, "syscall_arg4_from_cx"); in test_bpf_syscall_macro() 58 ASSERT_NEQ(skel->bss->arg4_core_cx, exp_arg4, "syscall_arg4_from_cx_core_variant"); in test_bpf_syscall_macro()
|
D | bpf_iter_setsockopt_unix.c | 20 if (!ASSERT_NEQ(fd, -1, "socket")) in create_unix_socket() 45 if (!ASSERT_NEQ(skel->data->sndbuf_getsockopt[i], -1, in test_sndbuf() 80 if (!ASSERT_NEQ(unix_fd, -1, "create_unix_server")) in test_bpf_iter_setsockopt_unix()
|
D | tcpbpf_user.c | 55 if (!ASSERT_NEQ(listen_fd, -1, "start_server")) in run_test() 59 if (!ASSERT_NEQ(cli_fd, -1, "connect_to_fd(listen_fd)")) in run_test() 63 if (!ASSERT_NEQ(accept_fd, -1, "accept(listen_fd)")) in run_test()
|
D | test_tunnel.c | 270 if (!ASSERT_NEQ(ifindex, 0, "vxlan11 ifindex")) in test_vxlan_tunnel() 284 if (!ASSERT_NEQ(ifindex, 0, "veth1 ifindex")) in test_vxlan_tunnel() 298 if (!ASSERT_NEQ(ifindex, 0, "vxlan00 ifindex")) in test_vxlan_tunnel() 354 if (!ASSERT_NEQ(ifindex, 0, "ip6vxlan11 ifindex")) in test_ip6vxlan_tunnel() 371 if (!ASSERT_NEQ(ifindex, 0, "ip6vxlan00 ifindex")) in test_ip6vxlan_tunnel()
|
D | time_tai.c | 55 ASSERT_NEQ(ts1, 0, "tai_ts1"); in test_time_tai() 56 ASSERT_NEQ(ts2, 0, "tai_ts2"); in test_time_tai()
|
D | raw_tp_test_run.c | 42 ASSERT_NEQ(skel->bss->count, 0, "check_count"); in test_raw_tp_test_run() 50 ASSERT_NEQ(err, 0, "test_run should fail for too small ctx"); in test_raw_tp_test_run()
|
D | ksyms_btf.c | 106 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms() 133 ASSERT_NEQ(data->out__existing_typeless, -1, "existing typeless ksym"); in test_weak_syms_lskel()
|
D | migrate_reuseport.c | 153 if (!ASSERT_NEQ(fd, -1, "open")) in setup_fastopen() 230 if (!ASSERT_NEQ(test_case->servers[i], -1, "socket")) in start_servers() 286 if (!ASSERT_NEQ(test_case->clients[i], -1, "socket")) in start_clients() 422 if (!ASSERT_NEQ(client, -1, "accept")) in count_requests()
|
D | bpf_mod_race.c | 75 if (!ASSERT_NEQ(load_module("bpf_testmod.ko"), 0, "load_module_thread must fail")) in load_module_thread() 124 if (!ASSERT_NEQ(fault_addr, MAP_FAILED, "mmap for uffd registration")) in test_bpf_mod_race_config()
|
D | xdp_do_redirect.c | 152 if (!ASSERT_NEQ(ifindex_src, 0, "ifindex_src") || in test_xdp_do_redirect() 153 !ASSERT_NEQ(ifindex_dst, 0, "ifindex_dst")) in test_xdp_do_redirect()
|
D | exhandler.c | 40 ASSERT_NEQ(skel->bss->exception_triggered, 0, "verify exceptions occurred"); in test_exhandler()
|
D | bpf_iter_setsockopt.c | 120 if (!ASSERT_NEQ(iter_skel->bss->listen_hport, 0, in do_bpf_iter_setsockopt() 139 if (!ASSERT_NEQ(iter_skel->bss->reuse_listen_hport, 0, in do_bpf_iter_setsockopt()
|
D | sockmap_basic.c | 144 if (!ASSERT_NEQ(sk, -1, "connected_socket_v4")) in test_sockmap_update() 165 if (!ASSERT_NEQ(topts.retval, 0, "test_run retval")) in test_sockmap_update() 222 if (!ASSERT_NEQ(sock_fd[i], -1, "connected_socket_v4")) in test_sockmap_copy()
|
D | map_ptr.c | 40 if (!ASSERT_NEQ(topts.retval, 0, "test_run retval")) in test_map_ptr()
|
D | task_local_storage.c | 59 ASSERT_NEQ(skel->bss->null_ptr_count, 0, "null_ptr_count"); in test_exit_creds()
|
D | kfunc_call.c | 248 ASSERT_NEQ(skel->data->active_res, -1, "active_res"); in test_subprog() 272 ASSERT_NEQ(skel->data->active_res, -1, "active_res"); in test_subprog_lskel()
|
D | tcp_hdr_options.c | 98 if (!ASSERT_NEQ(sk_fds->srv_fd, -1, "start_server")) in sk_fds_connect() 107 if (!ASSERT_NEQ(sk_fds->active_fd, -1, "")) { in sk_fds_connect() 125 if (!ASSERT_NEQ(sk_fds->passive_fd, -1, "accept(srv_fd)")) in sk_fds_connect()
|
D | btf_split.c | 42 ASSERT_NEQ(str_off, -ENOENT, "str_int_missing"); in test_btf_split()
|
D | trace_ext.c | 104 ASSERT_NEQ(bss_ext->ext_called, 0, in test_trace_ext()
|
D | htab_update.c | 92 if (!ASSERT_NEQ(tids, NULL, "no mem")) in test_concurrent_update()
|
D | send_signal.c | 46 ASSERT_NEQ(signal(SIGUSR1, sigusr1_handler), SIG_ERR, "signal"); in test_send_signal_common()
|