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()
554 static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr) in hvs_dgram_bind()
559 static int hvs_dgram_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_dgram_dequeue()
565 static int hvs_dgram_enqueue(struct vsock_sock *vsk, in hvs_dgram_enqueue()
603 static ssize_t hvs_stream_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_dequeue()
645 static ssize_t hvs_stream_enqueue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_enqueue()
693 static s64 hvs_stream_has_data(struct vsock_sock *vsk) in hvs_stream_has_data()
717 static s64 hvs_stream_has_space(struct vsock_sock *vsk) in hvs_stream_has_space()
724 static u64 hvs_stream_rcvhiwat(struct vsock_sock *vsk) in hvs_stream_rcvhiwat()
729 static bool hvs_stream_is_active(struct vsock_sock *vsk) in hvs_stream_is_active()
745 int hvs_notify_poll_in(struct vsock_sock *vsk, size_t target, bool *readable) in hvs_notify_poll_in()
754 int hvs_notify_poll_out(struct vsock_sock *vsk, size_t target, bool *writable) in hvs_notify_poll_out()
762 int hvs_notify_recv_init(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_init()
769 int hvs_notify_recv_pre_block(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_pre_block()
776 int hvs_notify_recv_pre_dequeue(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_pre_dequeue()
783 int hvs_notify_recv_post_dequeue(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_post_dequeue()
791 int hvs_notify_send_init(struct vsock_sock *vsk, in hvs_notify_send_init()
798 int hvs_notify_send_pre_block(struct vsock_sock *vsk, in hvs_notify_send_pre_block()
805 int hvs_notify_send_pre_enqueue(struct vsock_sock *vsk, in hvs_notify_send_pre_enqueue()
812 int hvs_notify_send_post_enqueue(struct vsock_sock *vsk, ssize_t written, in hvs_notify_send_post_enqueue()
819 int hvs_set_rcvlowat(struct vsock_sock *vsk, int val) in hvs_set_rcvlowat()
862 static bool hvs_check_transport(struct vsock_sock *vsk) in hvs_check_transport()