Searched refs:sock (Results 1 – 1 of 1) sorted by relevance
1126 struct sock *io_uring_get_socket(struct file *file) in io_uring_get_socket()3971 struct socket *sock; in io_shutdown() local3977 sock = sock_from_file(req->file, &ret); in io_shutdown()3978 if (unlikely(!sock)) in io_shutdown()3981 ret = __sys_shutdown_sock(sock, req->shutdown.how); in io_shutdown()4727 static bool io_net_retry(struct socket *sock, int flags) in io_net_retry() argument4731 return sock->type == SOCK_STREAM || sock->type == SOCK_SEQPACKET; in io_net_retry()4813 struct socket *sock; in io_sendmsg() local4818 sock = sock_from_file(req->file, &ret); in io_sendmsg()4819 if (unlikely(!sock)) in io_sendmsg()[all …]