Lines Matching refs:vsk
304 vhost_transport_cancel_pkt(struct vsock_sock *vsk) in vhost_transport_cancel_pkt() argument
313 vsock = vhost_vsock_get(vsk->remote_addr.svm_cid, in vhost_transport_cancel_pkt()
314 sock_net(sk_vsock(vsk))); in vhost_transport_cancel_pkt()
318 cnt = virtio_transport_purge_skbs(vsk, &vsock->send_pkt_queue); in vhost_transport_cancel_pkt()
413 static bool vhost_transport_seqpacket_allow(struct vsock_sock *vsk,
417 vhost_transport_stream_allow(struct vsock_sock *vsk, u32 cid, u32 port) in vhost_transport_stream_allow() argument
476 static bool vhost_transport_seqpacket_allow(struct vsock_sock *vsk, in vhost_transport_seqpacket_allow() argument
479 struct net *net = sock_net(sk_vsock(vsk)); in vhost_transport_seqpacket_allow()
723 struct vsock_sock *vsk = vsock_sk(sk); in vhost_vsock_reset_orphans() local
733 if (vhost_vsock_get(vsk->remote_addr.svm_cid, sock_net(sk))) { in vhost_vsock_reset_orphans()
743 if (vsk->close_work_scheduled) in vhost_vsock_reset_orphans()
747 vsk->peer_shutdown = SHUTDOWN_MASK; in vhost_vsock_reset_orphans()