• Home
  • Raw
  • Download

Lines Matching refs:vqs

48 	struct vhost_virtqueue vqs[2];  member
94 struct vhost_virtqueue *tx_vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_transport_do_send_pkt()
275 vq = &vsock->vqs[VSOCK_VQ_RX]; in vhost_transport_send_pkt_work()
341 struct vhost_virtqueue *tx_vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_transport_cancel_pkt()
418 struct vhost_virtqueue *vq = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_more_replies()
592 for (i = 0; i < ARRAY_SIZE(vsock->vqs); i++) { in vhost_vsock_start()
593 vq = &vsock->vqs[i]; in vhost_vsock_start()
624 for (i = 0; i < ARRAY_SIZE(vsock->vqs); i++) { in vhost_vsock_start()
625 vq = &vsock->vqs[i]; in vhost_vsock_start()
649 for (i = 0; i < ARRAY_SIZE(vsock->vqs); i++) { in vhost_vsock_stop()
650 struct vhost_virtqueue *vq = &vsock->vqs[i]; in vhost_vsock_stop()
669 struct vhost_virtqueue **vqs; in vhost_vsock_dev_open() local
680 vqs = kmalloc_array(ARRAY_SIZE(vsock->vqs), sizeof(*vqs), GFP_KERNEL); in vhost_vsock_dev_open()
681 if (!vqs) { in vhost_vsock_dev_open()
690 vqs[VSOCK_VQ_TX] = &vsock->vqs[VSOCK_VQ_TX]; in vhost_vsock_dev_open()
691 vqs[VSOCK_VQ_RX] = &vsock->vqs[VSOCK_VQ_RX]; in vhost_vsock_dev_open()
692 vsock->vqs[VSOCK_VQ_TX].handle_kick = vhost_vsock_handle_tx_kick; in vhost_vsock_dev_open()
693 vsock->vqs[VSOCK_VQ_RX].handle_kick = vhost_vsock_handle_rx_kick; in vhost_vsock_dev_open()
695 vhost_dev_init(&vsock->dev, vqs, ARRAY_SIZE(vsock->vqs), in vhost_vsock_dev_open()
714 for (i = 0; i < ARRAY_SIZE(vsock->vqs); i++) in vhost_vsock_flush()
715 if (vsock->vqs[i].handle_kick) in vhost_vsock_flush()
716 vhost_poll_flush(&vsock->vqs[i].poll); in vhost_vsock_flush()
787 kfree(vsock->dev.vqs); in vhost_vsock_dev_release()
851 for (i = 0; i < ARRAY_SIZE(vsock->vqs); i++) { in vhost_vsock_set_features()
852 vq = &vsock->vqs[i]; in vhost_vsock_set_features()