Lines Matching refs:vsock_sock

95 	struct vsock_sock *vsk;
158 static bool hvs_check_transport(struct vsock_sock *vsk);
250 struct vsock_sock *vsk = vsock_sk(sk); in hvs_channel_cb()
261 static void hvs_do_close_lock_held(struct vsock_sock *vsk, in hvs_do_close_lock_held()
302 struct vsock_sock *vnew = NULL; in hvs_open_connection()
442 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init()
458 static int hvs_connect(struct vsock_sock *vsk) in hvs_connect()
486 static int hvs_shutdown(struct vsock_sock *vsk, int mode) in hvs_shutdown()
497 struct vsock_sock *vsk = in hvs_close_timeout()
498 container_of(work, struct vsock_sock, close_work.work); in hvs_close_timeout()
512 static bool hvs_close_lock_held(struct vsock_sock *vsk) in hvs_close_lock_held()
534 static void hvs_release(struct vsock_sock *vsk) in hvs_release()
543 static void hvs_destruct(struct vsock_sock *vsk) in hvs_destruct()
555 static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr) in hvs_dgram_bind()
560 static int hvs_dgram_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_dgram_dequeue()
566 static int hvs_dgram_enqueue(struct vsock_sock *vsk, in hvs_dgram_enqueue()
604 static ssize_t hvs_stream_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_dequeue()
646 static ssize_t hvs_stream_enqueue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_enqueue()
694 static s64 hvs_stream_has_data(struct vsock_sock *vsk) in hvs_stream_has_data()
718 static s64 hvs_stream_has_space(struct vsock_sock *vsk) in hvs_stream_has_space()
725 static u64 hvs_stream_rcvhiwat(struct vsock_sock *vsk) in hvs_stream_rcvhiwat()
730 static bool hvs_stream_is_active(struct vsock_sock *vsk) in hvs_stream_is_active()
746 int hvs_notify_poll_in(struct vsock_sock *vsk, size_t target, bool *readable) in hvs_notify_poll_in()
755 int hvs_notify_poll_out(struct vsock_sock *vsk, size_t target, bool *writable) in hvs_notify_poll_out()
763 int hvs_notify_recv_init(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_init()
770 int hvs_notify_recv_pre_block(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_pre_block()
777 int hvs_notify_recv_pre_dequeue(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_pre_dequeue()
784 int hvs_notify_recv_post_dequeue(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_post_dequeue()
792 int hvs_notify_send_init(struct vsock_sock *vsk, in hvs_notify_send_init()
799 int hvs_notify_send_pre_block(struct vsock_sock *vsk, in hvs_notify_send_pre_block()
806 int hvs_notify_send_pre_enqueue(struct vsock_sock *vsk, in hvs_notify_send_pre_enqueue()
813 int hvs_notify_send_post_enqueue(struct vsock_sock *vsk, ssize_t written, in hvs_notify_send_post_enqueue()
820 int hvs_notify_set_rcvlowat(struct vsock_sock *vsk, int val) in hvs_notify_set_rcvlowat()
863 static bool hvs_check_transport(struct vsock_sock *vsk) in hvs_check_transport()