Searched refs:client_sk (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/fs/ksmbd/ |
D | transport_tcp.c | 74 static struct tcp_transport *alloc_transport(struct socket *client_sk) in alloc_transport() argument 82 t->sock = client_sk; in alloc_transport() 183 static int ksmbd_tcp_new_connection(struct socket *client_sk) in ksmbd_tcp_new_connection() argument 189 t = alloc_transport(client_sk); in ksmbd_tcp_new_connection() 191 sock_release(client_sk); in ksmbd_tcp_new_connection() 196 if (kernel_getpeername(client_sk, csin) < 0) { in ksmbd_tcp_new_connection() 226 struct socket *client_sk = NULL; in ksmbd_kthread_fn() local 236 ret = kernel_accept(iface->ksmbd_socket, &client_sk, in ksmbd_kthread_fn() 251 sock_release(client_sk); in ksmbd_kthread_fn() 256 client_sk->sk->sk_rcvtimeo = KSMBD_TCP_RECV_TIMEOUT; in ksmbd_kthread_fn() [all …]
|
/linux-6.1.9/tools/testing/selftests/cgroup/ |
D | test_memcontrol.c | 897 int sk, client_sk, ctl_fd, yes = 1, ret = -1; in tcp_server() local 927 client_sk = accept(sk, NULL, NULL); in tcp_server() 928 if (client_sk < 0) in tcp_server() 935 if (write(client_sk, buf, sizeof(buf)) <= 0) { in tcp_server() 942 close(client_sk); in tcp_server()
|