/linux/tools/testing/selftests/filesystems/epoll/ |
A 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() 851 ASSERT_GE(efd[0], 0); in TEST() 3405 ASSERT_GE(efd, 0); in TEST() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A 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()
|
A 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 serial_test_xdp_bonding()
|
A D | tc_redirect.c | 141 if (!ASSERT_GE(token->orig_netns_fd, 0, "open /proc/self/ns/net")) in open_netns() 146 if (!ASSERT_GE(nsfd, 0, "open netns fd")) in open_netns() 368 if (!ASSERT_GE(listen_fd, 0, "listen")) in test_tcp() 377 if (!ASSERT_GE(client_fd, 0, "connect_to_fd")) in test_tcp() 381 if (!ASSERT_GE(accept_fd, 0, "accept")) in test_tcp() 580 if (!ASSERT_GE(fd, 0, "open /dev/net/tun")) in tun_open() 663 if (!ASSERT_GE(src_fd, 0, "tun_open tun_src")) in test_tc_redirect_peer_l3() 673 if (!ASSERT_GE(target_fd, 0, "tun_open tun_fwd")) in test_tc_redirect_peer_l3() 677 if (!ASSERT_GE(tunnel_pid, 0, "fork tun_relay_loop")) in test_tc_redirect_peer_l3() 688 if (!ASSERT_GE(ifindex, 0, "get_ifindex tun_fwd")) in test_tc_redirect_peer_l3()
|
A 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()
|
A 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()
|
A D | bloom_filter_map.c | 35 if (!ASSERT_GE(fd, 0, "bpf_create_map bloom filter")) in test_fail_cases() 65 if (!ASSERT_GE(fd, 0, "bpf_create_map bloom filter success case")) in test_success_cases() 105 if (!ASSERT_GE(inner_map_fd, 0, "bpf_create_map bloom filter inner map")) in test_inner_map()
|
A D | perf_link.c | 44 if (!ASSERT_GE(pfd, 0, "perf_fd")) in serial_test_perf_link() 53 if (!ASSERT_GE(link_fd, 0, "link_fd")) in serial_test_perf_link()
|
A 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()
|
A 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()
|
A D | netcnt.c | 34 if (!ASSERT_GE(cg_fd, 0, "test__join_cgroup")) in serial_test_netcnt()
|
A D | attach_probe.c | 44 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_attach_probe()
|
A D | module_attach.c | 18 if (!ASSERT_GE(fd, 0, "testmode_file_open")) in trigger_module_test_writable()
|
/linux/tools/testing/selftests/mount_setattr/ |
A D | mount_setattr_test.c | 639 ASSERT_GE(fd, 0); in TEST_F() 688 ASSERT_GE(fd, 0); in TEST_F() 718 ASSERT_GE(dfd, 0); in TEST_F() 994 ASSERT_GE(fd, 0); in TEST_F() 1059 ASSERT_GE(img_fd, 0); in FIXTURE_SETUP() 1122 ASSERT_GE(fd, 0); in TEST_F() 1123 ASSERT_GE(close(fd), 0); in TEST_F() 1148 ASSERT_GE(open_tree_fd, 0); in TEST_F() 1258 ASSERT_GE(open_tree_fd, 0); in TEST_F() 1288 ASSERT_GE(open_tree_fd, 0); in TEST_F() [all …]
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_wait.c | 57 ASSERT_GE(pidfd, 0); in TEST() 65 ASSERT_GE(pidfd, 0); in TEST() 73 ASSERT_GE(pid, 0); in TEST() 79 ASSERT_GE(pid, 0); in TEST() 106 ASSERT_GE(pid, 0); in TEST() 174 ASSERT_GE(pid, 0); in TEST()
|
A 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()
|
/linux/tools/testing/selftests/core/ |
A 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()
|
/linux/tools/testing/selftests/move_mount_set_group/ |
A 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()
|
/linux/tools/testing/selftests/seccomp/ |
A D | seccomp_bpf.c | 3221 ASSERT_GE(pid, 0); in TEST() 3315 ASSERT_GE(pid, 0); in TEST() 3347 ASSERT_GE(pid, 0); in TEST() 3443 ASSERT_GE(pid, 0); in TEST() 3493 ASSERT_GE(pid, 0); in TEST() 3566 ASSERT_GE(pid, 0); in TEST() 3600 ASSERT_GE(pid, 0); in TEST() 3640 ASSERT_GE(pid, 0); in TEST() 3708 ASSERT_GE(pid, 0); in TEST() 3759 ASSERT_GE(pid, 0); in TEST() [all …]
|
/linux/tools/testing/selftests/filesystems/binderfs/ |
A 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()
|
/linux/tools/testing/selftests/net/ |
A D | tls.c | 122 ASSERT_GE(*cfd, 0); in ulp_sock_pair() 371 ASSERT_GE(fd, 0); in chunked_sendfile() 617 ASSERT_GE(pipe(p), 0); in TEST_F() 632 ASSERT_GE(pipe(p), 0); in TEST_F() 652 ASSERT_GE(pipe(p), 0); in TEST_F() 671 ASSERT_GE(pipe(p), 0); in TEST_F() 686 ASSERT_GE(pipe(p), 0); in TEST_F() 706 ASSERT_GE(pipe(p), 0); in TEST_F() 726 ASSERT_GE(pipe(p), 0); in TEST_F() 746 ASSERT_GE(pipe(p), 0); in TEST_F() [all …]
|
/linux/tools/testing/selftests/pid_namespace/ |
A D | regression_enomem.c | 32 ASSERT_GE(pid, 0); in TEST()
|
/linux/tools/testing/selftests/ptrace/ |
A D | vmaccess.c | 40 ASSERT_GE(f, 0); in TEST()
|
/linux/tools/testing/selftests/vm/ |
A 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()
|
/linux/tools/testing/selftests/exec/ |
A D | non-regular.c | 178 ASSERT_GE(self->fd, 0); in FIXTURE_SETUP()
|