Searched refs:ring_sock (Results 1 – 3 of 3) sorted by relevance
773 if (ctx->ring_sock) { in __io_sqe_files_unregister()774 struct sock *sock = ctx->ring_sock->sk; in __io_sqe_files_unregister()817 struct sock *sk = ctx->ring_sock->sk; in __io_scm_file_account()873 struct sock *sock = ctx->ring_sock->sk; in io_rsrc_file_put()
161 return ctx->ring_sock->sk; in io_uring_get_socket()2601 if (ctx->ring_sock) { in io_ring_ctx_free()2602 ctx->ring_sock->file = NULL; /* so that iput() is called */ in io_ring_ctx_free()2603 sock_release(ctx->ring_sock); in io_ring_ctx_free()3363 &ctx->ring_sock); in io_uring_get_file()3372 sock_release(ctx->ring_sock); in io_uring_get_file()3373 ctx->ring_sock = NULL; in io_uring_get_file()3375 ctx->ring_sock->file = file; in io_uring_get_file()
334 struct socket *ring_sock; member