Searched refs:client_fd (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_socket_cookie.c | 87 static int validate_map(struct bpf_map *map, int client_fd) in validate_map() argument 116 err = getsockname(client_fd, (struct sockaddr *)&addr, &len); in validate_map() 144 int client_fd = -1; in run_test() local 182 client_fd = connect_to_server(server_fd); in run_test() 183 if (client_fd == -1) in run_test() 186 if (validate_map(bpf_map__next(NULL, pobj), client_fd)) in run_test() 193 close(client_fd); in run_test()
|
/Linux-v4.19/tools/testing/selftests/android/ion/ |
D | ionapp_export.c | 41 int sockfd, client_fd, shared_fd; in main() local 111 client_fd = info.ionfd; in main() 118 printf("Sharing fd: %d, Client fd: %d\n", shared_fd, client_fd); in main()
|
/Linux-v4.19/tools/testing/vsock/ |
D | vsock_diag_test.c | 457 int client_fd; in test_connect_server() local 475 client_fd = accept(fd, &clientaddr.sa, &clientaddr_len); in test_connect_server() 477 } while (client_fd < 0 && errno == EINTR); in test_connect_server() 480 if (client_fd < 0) { in test_connect_server() 499 st = find_vsock_stat(&sockets, client_fd); in test_connect_server() 505 close(client_fd); in test_connect_server()
|
/Linux-v4.19/fs/notify/fanotify/ |
D | fanotify_user.c | 79 int client_fd; in create_fd() local 84 client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); in create_fd() 85 if (client_fd < 0) in create_fd() 86 return client_fd; in create_fd() 108 put_unused_fd(client_fd); in create_fd() 109 client_fd = PTR_ERR(new_file); in create_fd() 114 return client_fd; in create_fd()
|