Home
last modified time | relevance | path

Searched refs:vhost_virtqueue (Results 1 – 5 of 5) sorted by relevance

/drivers/vhost/
Dvhost.h57 struct vhost_virtqueue;
60 struct vhost_virtqueue { struct
119 struct vhost_virtqueue **vqs; argument
128 void vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue **vqs, int nvqs);
138 int vhost_vq_access_ok(struct vhost_virtqueue *vq);
141 int vhost_get_vq_desc(struct vhost_virtqueue *,
145 void vhost_discard_vq_desc(struct vhost_virtqueue *, int n);
147 int vhost_init_used(struct vhost_virtqueue *);
148 int vhost_add_used(struct vhost_virtqueue *, unsigned int head, int len);
149 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads,
[all …]
Dtest.c33 struct vhost_virtqueue vqs[VHOST_TEST_VQ_MAX];
40 struct vhost_virtqueue *vq = &n->vqs[VHOST_TEST_VQ]; in handle_vq()
95 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_vq_kick()
106 struct vhost_virtqueue **vqs; in vhost_test_open()
127 struct vhost_virtqueue *vq) in vhost_test_stop_vq()
171 struct vhost_virtqueue *vq; in vhost_test_run()
244 struct vhost_virtqueue *vq; in vhost_test_set_features()
Dvhost.c178 struct vhost_virtqueue *vq) in vhost_vq_reset()
253 static void vhost_vq_free_iovecs(struct vhost_virtqueue *vq) in vhost_vq_free_iovecs()
266 struct vhost_virtqueue *vq; in vhost_dev_alloc_iovecs()
295 struct vhost_virtqueue **vqs, int nvqs) in vhost_dev_init()
297 struct vhost_virtqueue *vq; in vhost_dev_init()
549 static int vq_access_ok(struct vhost_virtqueue *vq, unsigned int num, in vq_access_ok()
572 static int vq_log_access_ok(struct vhost_virtqueue *vq, in vq_log_access_ok()
586 int vhost_vq_access_ok(struct vhost_virtqueue *vq) in vhost_vq_access_ok()
639 struct vhost_virtqueue *vq; in vhost_vring_ioctl()
862 struct vhost_virtqueue *vq; in vhost_dev_ioctl()
[all …]
Dnet.c81 struct vhost_virtqueue *vq;
85 struct vhost_virtqueue vq;
126 vhost_net_ubuf_alloc(struct vhost_virtqueue *vq, bool zcopy) in vhost_net_ubuf_alloc()
281 struct vhost_virtqueue *vq) in vhost_zerocopy_signal_used()
309 struct vhost_virtqueue *vq = ubufs->vq; in vhost_zerocopy_callback()
337 struct vhost_virtqueue *vq = &nvq->vq; in handle_tx()
490 static int get_rx_bufs(struct vhost_virtqueue *vq, in get_rx_bufs()
557 struct vhost_virtqueue *vq = &nvq->vq; in handle_rx()
673 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_tx_kick()
682 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_rx_kick()
[all …]
Dscsi.c95 struct vhost_virtqueue *tvc_vq;
181 struct vhost_virtqueue vq;
240 struct vhost_virtqueue *vq; in tcm_vhost_init_inflight()
264 tcm_vhost_get_inflight(struct vhost_virtqueue *vq) in tcm_vhost_get_inflight()
565 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in tcm_vhost_allocate_evt()
604 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in tcm_vhost_do_evt_work()
655 struct vhost_virtqueue *vq = &vs->vqs[VHOST_SCSI_VQ_EVT].vq; in tcm_vhost_evt_work()
724 vhost_scsi_get_tag(struct vhost_virtqueue *vq, struct tcm_vhost_tpg *tpg, in vhost_scsi_get_tag()
967 struct vhost_virtqueue *vq, in vhost_scsi_send_bad_target()
985 vhost_scsi_handle_vq(struct vhost_scsi *vs, struct vhost_virtqueue *vq) in vhost_scsi_handle_vq()
[all …]