Home
last modified time | relevance | path

Searched refs:sock (Results 1 – 3 of 3) sorted by relevance

/io_uring/
Dnet.c88 struct socket *sock; in io_shutdown() local
94 sock = sock_from_file(req->file); in io_shutdown()
95 if (unlikely(!sock)) in io_shutdown()
98 ret = __sys_shutdown_sock(sock, shutdown->how); in io_shutdown()
103 static bool io_net_retry(struct socket *sock, int flags) in io_net_retry() argument
107 return sock->type == SOCK_STREAM || sock->type == SOCK_SEQPACKET; in io_net_retry()
285 struct socket *sock; in io_sendmsg() local
290 sock = sock_from_file(req->file); in io_sendmsg()
291 if (unlikely(!sock)) in io_sendmsg()
314 ret = __sys_sendmsg_sock(sock, &kmsg->msg, flags); in io_sendmsg()
[all …]
Drsrc.c774 struct sock *sock = ctx->ring_sock->sk; in __io_sqe_files_unregister() local
777 while ((skb = skb_dequeue(&sock->sk_receive_queue)) != NULL) in __io_sqe_files_unregister()
818 struct sock *sk = ctx->ring_sock->sk; in __io_scm_file_account()
874 struct sock *sock = ctx->ring_sock->sk; in io_rsrc_file_put() local
875 struct sk_buff_head list, *head = &sock->sk_receive_queue; in io_rsrc_file_put()
Dio_uring.c156 struct sock *io_uring_get_socket(struct file *file) in io_uring_get_socket()