client_fd 103 fs/notify/fanotify/fanotify_user.c int client_fd; client_fd 108 fs/notify/fanotify/fanotify_user.c client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); client_fd 109 fs/notify/fanotify/fanotify_user.c if (client_fd < 0) client_fd 110 fs/notify/fanotify/fanotify_user.c return client_fd; client_fd 132 fs/notify/fanotify/fanotify_user.c put_unused_fd(client_fd); client_fd 133 fs/notify/fanotify/fanotify_user.c client_fd = PTR_ERR(new_file); client_fd 138 fs/notify/fanotify/fanotify_user.c return client_fd; client_fd 32 tools/testing/selftests/android/ion/ionapp_export.c int sockfd, client_fd, shared_fd; client_fd 102 tools/testing/selftests/android/ion/ionapp_export.c client_fd = info.ionfd; client_fd 109 tools/testing/selftests/android/ion/ionapp_export.c printf("Sharing fd: %d, Client fd: %d\n", shared_fd, client_fd); client_fd 70 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c int client_fd; client_fd 88 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c client_fd = accept(fd, (struct sockaddr *)&addr, &len); client_fd 89 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c if (CHECK_FAIL(client_fd < 0)) { client_fd 94 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c err += verify_sockopt(client_fd, CUSTOM_INHERIT1, "accept", 1); client_fd 95 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c err += verify_sockopt(client_fd, CUSTOM_INHERIT2, "accept", 1); client_fd 96 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c err += verify_sockopt(client_fd, CUSTOM_LISTENER, "accept", 0); client_fd 98 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c close(client_fd); client_fd 173 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c int server_fd = -1, client_fd; client_fd 204 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c client_fd = connect_to_server(server_fd); client_fd 205 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c if (CHECK_FAIL(client_fd < 0)) client_fd 208 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c CHECK_FAIL(verify_sockopt(client_fd, CUSTOM_INHERIT1, "connect", 0)); client_fd 209 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c CHECK_FAIL(verify_sockopt(client_fd, CUSTOM_INHERIT2, "connect", 0)); client_fd 210 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c CHECK_FAIL(verify_sockopt(client_fd, CUSTOM_LISTENER, "connect", 0)); client_fd 217 tools/testing/selftests/bpf/prog_tests/sockopt_inherit.c close(client_fd); client_fd 45 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c static int verify_sk(int map_fd, int client_fd, const char *msg, __u32 invoked, client_fd 52 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (CHECK_FAIL(bpf_map_lookup_elem(map_fd, &client_fd, &val) < 0)) { client_fd 128 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c int client_fd; client_fd 148 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c client_fd = connect_to_server(server_fd); client_fd 149 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (client_fd < 0) { client_fd 154 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c err += verify_sk(map_fd, client_fd, "syn-ack", client_fd 161 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c send_byte(client_fd); client_fd 162 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (wait_for_ack(client_fd, 100) < 0) { client_fd 168 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c err += verify_sk(map_fd, client_fd, "first payload byte", client_fd 176 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c close(client_fd); client_fd 214 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c int client_fd; client_fd 228 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c client_fd = accept(fd, (struct sockaddr *)&addr, &len); client_fd 229 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (CHECK_FAIL(client_fd < 0)) { client_fd 243 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c close(client_fd); client_fd 92 tools/testing/selftests/bpf/test_socket_cookie.c static int validate_map(struct bpf_map *map, int client_fd) client_fd 108 tools/testing/selftests/bpf/test_socket_cookie.c err = bpf_map_lookup_elem(map_fd, &client_fd, &val); client_fd 110 tools/testing/selftests/bpf/test_socket_cookie.c err = getsockname(client_fd, (struct sockaddr *)&addr, &len); client_fd 138 tools/testing/selftests/bpf/test_socket_cookie.c int client_fd = -1; client_fd 171 tools/testing/selftests/bpf/test_socket_cookie.c client_fd = connect_to_server(server_fd); client_fd 172 tools/testing/selftests/bpf/test_socket_cookie.c if (client_fd == -1) client_fd 175 tools/testing/selftests/bpf/test_socket_cookie.c if (validate_map(bpf_map__next(NULL, pobj), client_fd)) client_fd 182 tools/testing/selftests/bpf/test_socket_cookie.c close(client_fd); client_fd 453 tools/testing/vsock/vsock_diag_test.c int client_fd; client_fd 471 tools/testing/vsock/vsock_diag_test.c client_fd = accept(fd, &clientaddr.sa, &clientaddr_len); client_fd 473 tools/testing/vsock/vsock_diag_test.c } while (client_fd < 0 && errno == EINTR); client_fd 476 tools/testing/vsock/vsock_diag_test.c if (client_fd < 0) { client_fd 495 tools/testing/vsock/vsock_diag_test.c st = find_vsock_stat(&sockets, client_fd); client_fd 501 tools/testing/vsock/vsock_diag_test.c close(client_fd);