Searched refs:sock (Results 1 – 3 of 3) sorted by relevance
88 struct socket *sock; in io_shutdown() local94 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() argument107 return sock->type == SOCK_STREAM || sock->type == SOCK_SEQPACKET; in io_net_retry()285 struct socket *sock; in io_sendmsg() local290 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 …]
774 struct sock *sock = ctx->ring_sock->sk; in __io_sqe_files_unregister() local777 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() local875 struct sk_buff_head list, *head = &sock->sk_receive_queue; in io_rsrc_file_put()
156 struct sock *io_uring_get_socket(struct file *file) in io_uring_get_socket()