Searched refs:sock (Results 1 – 1 of 1) sorted by relevance
1119 struct sock *io_uring_get_socket(struct file *file) in io_uring_get_socket()4109 struct socket *sock; in io_shutdown() local4115 sock = sock_from_file(req->file); in io_shutdown()4116 if (unlikely(!sock)) in io_shutdown()4119 ret = __sys_shutdown_sock(sock, req->shutdown.how); in io_shutdown()4865 static bool io_net_retry(struct socket *sock, int flags) in io_net_retry() argument4869 return sock->type == SOCK_STREAM || sock->type == SOCK_SEQPACKET; in io_net_retry()4951 struct socket *sock; in io_sendmsg() local4956 sock = sock_from_file(req->file); in io_sendmsg()4957 if (unlikely(!sock)) in io_sendmsg()[all …]