Lines Matching defs:vsk
92 struct vsock_sock *vsk; member
241 struct vsock_sock *vsk = vsock_sk(sk); in hvs_channel_cb() local
252 static void hvs_do_close_lock_held(struct vsock_sock *vsk, in hvs_do_close_lock_held()
431 static int hvs_sock_init(struct vsock_sock *vsk, struct vsock_sock *psk) in hvs_sock_init()
447 static int hvs_connect(struct vsock_sock *vsk) in hvs_connect()
475 static int hvs_shutdown(struct vsock_sock *vsk, int mode) in hvs_shutdown()
486 struct vsock_sock *vsk = in hvs_close_timeout() local
501 static bool hvs_close_lock_held(struct vsock_sock *vsk) in hvs_close_lock_held()
523 static void hvs_release(struct vsock_sock *vsk) in hvs_release()
532 static void hvs_destruct(struct vsock_sock *vsk) in hvs_destruct()
543 static int hvs_dgram_bind(struct vsock_sock *vsk, struct sockaddr_vm *addr) in hvs_dgram_bind()
548 static int hvs_dgram_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_dgram_dequeue()
554 static int hvs_dgram_enqueue(struct vsock_sock *vsk, in hvs_dgram_enqueue()
586 static ssize_t hvs_stream_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_dequeue()
626 static ssize_t hvs_stream_enqueue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_enqueue()
674 static s64 hvs_stream_has_data(struct vsock_sock *vsk) in hvs_stream_has_data()
698 static s64 hvs_stream_has_space(struct vsock_sock *vsk) in hvs_stream_has_space()
705 static u64 hvs_stream_rcvhiwat(struct vsock_sock *vsk) in hvs_stream_rcvhiwat()
710 static bool hvs_stream_is_active(struct vsock_sock *vsk) in hvs_stream_is_active()
726 int hvs_notify_poll_in(struct vsock_sock *vsk, size_t target, bool *readable) in hvs_notify_poll_in()
735 int hvs_notify_poll_out(struct vsock_sock *vsk, size_t target, bool *writable) in hvs_notify_poll_out()
743 int hvs_notify_recv_init(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_init()
750 int hvs_notify_recv_pre_block(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_pre_block()
757 int hvs_notify_recv_pre_dequeue(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_pre_dequeue()
764 int hvs_notify_recv_post_dequeue(struct vsock_sock *vsk, size_t target, in hvs_notify_recv_post_dequeue()
772 int hvs_notify_send_init(struct vsock_sock *vsk, in hvs_notify_send_init()
779 int hvs_notify_send_pre_block(struct vsock_sock *vsk, in hvs_notify_send_pre_block()
786 int hvs_notify_send_pre_enqueue(struct vsock_sock *vsk, in hvs_notify_send_pre_enqueue()
793 int hvs_notify_send_post_enqueue(struct vsock_sock *vsk, ssize_t written, in hvs_notify_send_post_enqueue()
836 static bool hvs_check_transport(struct vsock_sock *vsk) in hvs_check_transport()