Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/vhost/
Dvhost.h54 struct vhost_virtqueue { struct
121 struct vhost_virtqueue *vqs; argument
130 long vhost_dev_init(struct vhost_dev *, struct vhost_virtqueue *vqs, int nvqs);
135 int vhost_vq_access_ok(struct vhost_virtqueue *vq);
138 int vhost_get_vq_desc(struct vhost_dev *, struct vhost_virtqueue *,
142 void vhost_discard_vq_desc(struct vhost_virtqueue *, int n);
144 int vhost_add_used(struct vhost_virtqueue *, unsigned int head, int len);
145 int vhost_add_used_n(struct vhost_virtqueue *, struct vring_used_elem *heads,
147 void vhost_add_used_and_signal(struct vhost_dev *, struct vhost_virtqueue *,
149 void vhost_add_used_and_signal_n(struct vhost_dev *, struct vhost_virtqueue *,
[all …]
Dtest.c34 struct vhost_virtqueue vqs[VHOST_TEST_VQ_MAX];
41 struct vhost_virtqueue *vq = &n->dev.vqs[VHOST_TEST_VQ]; in handle_vq()
94 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_vq_kick()
124 struct vhost_virtqueue *vq) in vhost_test_stop_vq()
169 struct vhost_virtqueue *vq; in vhost_test_run()
Dnet.c49 struct vhost_virtqueue vqs[VHOST_NET_VQ_MAX];
117 struct vhost_virtqueue *vq = &net->dev.vqs[VHOST_NET_VQ_TX]; in handle_tx()
236 static int get_rx_bufs(struct vhost_virtqueue *vq, in get_rx_bufs()
292 struct vhost_virtqueue *vq = &net->dev.vqs[VHOST_NET_VQ_RX]; in handle_rx()
399 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_tx_kick()
408 struct vhost_virtqueue *vq = container_of(work, struct vhost_virtqueue, in handle_rx_kick()
457 struct vhost_virtqueue *vq) in vhost_net_disable_vq()
469 struct vhost_virtqueue *vq) in vhost_net_enable_vq()
485 struct vhost_virtqueue *vq) in vhost_net_stop_vq()
605 struct vhost_virtqueue *vq; in vhost_net_set_backend()
Dvhost.c155 struct vhost_virtqueue *vq) in vhost_vq_reset()
266 struct vhost_virtqueue *vqs, int nvqs) in vhost_dev_init()
517 static int vq_log_access_ok(struct vhost_virtqueue *vq, void __user *log_base) in vq_log_access_ok()
532 int vhost_vq_access_ok(struct vhost_virtqueue *vq) in vhost_vq_access_ok()
573 static int init_used(struct vhost_virtqueue *vq, in init_used()
589 struct vhost_virtqueue *vq; in vhost_set_vring()
816 struct vhost_virtqueue *vq; in vhost_dev_ioctl()
929 int vhost_log_write(struct vhost_virtqueue *vq, struct vhost_log *log, in vhost_log_write()
1011 static int get_indirect(struct vhost_dev *dev, struct vhost_virtqueue *vq, in get_indirect()
1107 int vhost_get_vq_desc(struct vhost_dev *dev, struct vhost_virtqueue *vq, in vhost_get_vq_desc()
[all …]