/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_v1v2.c | 53 if (!ASSERT_GE(server_fd, 0, "server_fd")) in test_cgroup_v1v2() 56 if (!ASSERT_GE(client_fd, 0, "client_fd")) { in test_cgroup_v1v2() 65 if (!ASSERT_GE(cgroup_fd, 0, "cgroup_fd")) in test_cgroup_v1v2() 68 if (!ASSERT_GE(server_fd, 0, "server_fd")) { in test_cgroup_v1v2()
|
D | xdp_bonding.c | 228 if (!ASSERT_GE(s, 0, "socket")) in send_udp_packets() 294 ASSERT_GE(veth1_rx + veth2_rx, NPACKETS, "expected more packets"); in test_xdp_bonding_with_mode() 298 ASSERT_GE(diff, NPACKETS, in test_xdp_bonding_with_mode() 317 ASSERT_GE(diff, NPACKETS, in test_xdp_bonding_with_mode() 375 ASSERT_GE(veth1_2_rx, NPACKETS, "expected packets on veth1_2"); in test_xdp_bonding_redirect_multi() 395 if (!ASSERT_GE(veth, 0, "if_nametoindex veth")) in test_xdp_bonding_attach() 398 if (!ASSERT_GE(bond, 0, "if_nametoindex bond")) in test_xdp_bonding_attach() 472 if (!ASSERT_GE(bond, 0, "if_nametoindex bond")) in test_xdp_bonding_nested() 531 if (!ASSERT_GE(root_netns_fd, 0, "open /proc/self/ns/net")) in test_xdp_bonding()
|
D | sockopt_qos_to_cc.c | 38 if (!ASSERT_GE(cg_fd, 0, "cg-join(sockopt_qos_to_cc)")) in test_sockopt_qos_to_cc() 46 if (!ASSERT_GE(sock_fd, 0, "v6 socket open")) in test_sockopt_qos_to_cc()
|
D | send_signal.c | 33 if (!ASSERT_GE(pid, 0, "fork")) { in test_send_signal_common() 98 if (!ASSERT_GE(pmu_fd, 0, "perf_event_open")) { in test_send_signal_common() 122 if (!ASSERT_GE(err, 0, "reading pipe")) in test_send_signal_common()
|
D | tc_redirect.c | 148 if (!ASSERT_GE(token->orig_netns_fd, 0, "open /proc/self/ns/net")) in open_netns() 153 if (!ASSERT_GE(nsfd, 0, "open netns fd")) in open_netns() 363 if (!ASSERT_GE(listen_fd, 0, "listen")) in test_tcp() 372 if (!ASSERT_GE(client_fd, 0, "connect_to_fd")) in test_tcp() 376 if (!ASSERT_GE(accept_fd, 0, "accept")) in test_tcp() 575 if (!ASSERT_GE(fd, 0, "open /dev/net/tun")) in tun_open() 658 if (!ASSERT_GE(src_fd, 0, "tun_open tun_src")) in test_tc_redirect_peer_l3() 668 if (!ASSERT_GE(target_fd, 0, "tun_open tun_fwd")) in test_tc_redirect_peer_l3() 672 if (!ASSERT_GE(tunnel_pid, 0, "fork tun_relay_loop")) in test_tc_redirect_peer_l3() 683 if (!ASSERT_GE(ifindex, 0, "get_ifindex tun_fwd")) in test_tc_redirect_peer_l3()
|
D | perf_link.c | 43 if (!ASSERT_GE(pfd, 0, "perf_fd")) in test_perf_link() 52 if (!ASSERT_GE(link_fd, 0, "link_fd")) in test_perf_link()
|
D | bpf_tcp_ca.c | 278 if (!ASSERT_GE(lfd, 0, "lfd") || in test_dctcp_fallback() 283 if (!ASSERT_GE(cli_fd, 0, "cli_fd")) in test_dctcp_fallback() 287 if (!ASSERT_GE(srv_fd, 0, "srv_fd")) in test_dctcp_fallback()
|
D | bpf_iter_setsockopt.c | 114 if (!ASSERT_GE(listen_fd, 0, "start_server")) in do_bpf_iter_setsockopt() 146 if (!ASSERT_GE(iter_fd, 0, "create iter_fd")) in do_bpf_iter_setsockopt()
|
D | netcnt.c | 34 if (!ASSERT_GE(cg_fd, 0, "test__join_cgroup")) in test_netcnt()
|
D | attach_probe.c | 25 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_attach_probe()
|
D | bpf_cookie.c | 198 if (!ASSERT_GE(pfd, 0, "perf_fd")) in pe_subtest()
|
D | lookup_and_delete.c | 67 if (!ASSERT_GE(*map_fd, 0, "bpf_map__fd")) in setup_prog()
|
/tools/testing/selftests/filesystems/epoll/ |
D | epoll_wakeup_test.c | 172 ASSERT_GE(efd, 0); in TEST() 203 ASSERT_GE(efd, 0); in TEST() 235 ASSERT_GE(efd, 0); in TEST() 273 ASSERT_GE(efd, 0); in TEST() 311 ASSERT_GE(efd, 0); in TEST() 350 ASSERT_GE(efd, 0); in TEST() 391 ASSERT_GE(efd, 0); in TEST() 437 ASSERT_GE(efd, 0); in TEST() 483 ASSERT_GE(ctx.efd[0], 0); in TEST() 526 ASSERT_GE(ctx.efd[0], 0); in TEST() [all …]
|
/tools/testing/selftests/pidfd/ |
D | pidfd_wait.c | 56 ASSERT_GE(pidfd, 0); in TEST() 64 ASSERT_GE(pidfd, 0); in TEST() 72 ASSERT_GE(pid, 0); in TEST() 78 ASSERT_GE(pid, 0); in TEST() 105 ASSERT_GE(pid, 0); in TEST() 173 ASSERT_GE(pid, 0); in TEST()
|
D | pidfd_getfd_test.c | 144 ASSERT_GE(self->pid, 0); in FIXTURE_SETUP() 156 ASSERT_GE(self->pidfd, 0); in FIXTURE_SETUP() 205 ASSERT_GE(fd, 0); in TEST_F() 213 ASSERT_GE(ret, 0); in TEST_F()
|
/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 633 ASSERT_GE(fd, 0); in TEST_F() 682 ASSERT_GE(fd, 0); in TEST_F() 712 ASSERT_GE(dfd, 0); in TEST_F() 988 ASSERT_GE(fd, 0); in TEST_F() 1053 ASSERT_GE(img_fd, 0); in FIXTURE_SETUP() 1116 ASSERT_GE(fd, 0); in TEST_F() 1117 ASSERT_GE(close(fd), 0); in TEST_F() 1142 ASSERT_GE(open_tree_fd, 0); in TEST_F() 1145 ASSERT_GE(attr.userns_fd, 0); in TEST_F() 1252 ASSERT_GE(open_tree_fd, 0); in TEST_F() [all …]
|
/tools/testing/selftests/core/ |
D | close_range_test.c | 66 ASSERT_GE(fd, 0) { in TEST() 130 ASSERT_GE(fd, 0) { in TEST() 139 ASSERT_GE(pid, 0); in TEST() 219 ASSERT_GE(fd, 0) { in TEST() 228 ASSERT_GE(pid, 0); in TEST() 258 ASSERT_GE(fd, 0) { in TEST() 326 ASSERT_GE(fd, 0) { in TEST() 407 ASSERT_GE(pid, 0); in TEST() 501 ASSERT_GE(pid, 0); in TEST()
|
/tools/testing/selftests/pid_namespace/ |
D | regression_enomem.c | 32 ASSERT_GE(pid, 0); in TEST()
|
/tools/testing/selftests/move_mount_set_group/ |
D | move_mount_set_group_test.c | 240 ASSERT_GE(ret, 0); in FIXTURE_SETUP() 260 ASSERT_GE(ret, 0); in FIXTURE_TEARDOWN() 354 ASSERT_GE(ret, 0); in TEST_F()
|
/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 395 ASSERT_GE(pid, 0) { in TEST() 423 ASSERT_GE(fd, 0) { in TEST() 440 ASSERT_GE(fds[i], 0) { in TEST() 513 ASSERT_GE(pid, 0) { in TEST()
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3221 ASSERT_GE(pid, 0); in TEST() 3315 ASSERT_GE(pid, 0); in TEST() 3338 ASSERT_GE(listener, 0); in TEST() 3347 ASSERT_GE(pid, 0); in TEST() 3436 ASSERT_GE(listener, 0); in TEST() 3443 ASSERT_GE(pid, 0); in TEST() 3490 ASSERT_GE(listener, 0); in TEST() 3493 ASSERT_GE(pid, 0); in TEST() 3560 ASSERT_GE(listener, 0); in TEST() 3566 ASSERT_GE(pid, 0); in TEST() [all …]
|
/tools/testing/selftests/ptrace/ |
D | vmaccess.c | 40 ASSERT_GE(f, 0); in TEST()
|
/tools/testing/selftests/net/ |
D | tls.c | 103 ASSERT_GE(self->cfd, 0); in FIXTURE_SETUP() 219 ASSERT_GE(self->cfd, 0); in FIXTURE_SETUP() 285 ASSERT_GE(fd, 0); in chunked_sendfile() 288 ASSERT_GE(TLS_PAYLOAD_MAX_LEN, test_payload_size); in chunked_sendfile() 531 ASSERT_GE(pipe(p), 0); in TEST_F() 546 ASSERT_GE(pipe(p), 0); in TEST_F() 547 ASSERT_GE(pipe(p2), 0); in TEST_F() 566 ASSERT_GE(pipe(p), 0); in TEST_F() 585 ASSERT_GE(pipe(p), 0); in TEST_F() 1084 ASSERT_GE(fd, 0); in test_mutliproc() [all …]
|
/tools/testing/selftests/exec/ |
D | non-regular.c | 178 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP()
|
/tools/testing/selftests/vm/ |
D | hmm-tests.c | 90 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP() 99 ASSERT_GE(self->fd0, 0); in FIXTURE_SETUP() 101 ASSERT_GE(self->fd1, 0); in FIXTURE_SETUP() 519 ASSERT_GE(child_fd, 0); in TEST_F() 597 ASSERT_GE(child_fd, 0); in TEST_F() 749 ASSERT_GE(fd, 0); in TEST_F() 804 ASSERT_GE(fd, 0); in TEST_F()
|