Searched refs:virtqueue (Results 1 - 15 of 15) sorted by relevance

/barrelfish-master/include/virtio/
H A Dvirtqueue.h32 struct virtqueue;
34 /// interrupt handler for virtqueue interrupts
35 typedef void (*virtq_intr_hander_t)(struct virtqueue *, void *);
37 /// virtqueue default alignment
57 * this structure holds necessary data to allocate a new virtqueue
75 uint8_t auto_add; ///< adds this virtqueue to the device
92 * \brief allocates and initiates a new virtqueue structure
95 * \param vq pointer where to store the new virtqueue pointer
100 struct virtqueue **vq);
103 * \brief allocates and initiates a new virtqueue structur
[all...]
H A Dvirtio_guest.h13 struct virtqueue;
32 errval_t (*add)(struct virtqueue *vq);
65 static inline errval_t virtio_guest_add_virtq(struct virtqueue *vq)
H A Dvirtqueue_host.h15 #include <virtio/virtqueue.h>
38 * \brief allocates and initiates a new virtqueue structure with no vring mem
51 * \brief allocates and initiates a new virtqueue structure
70 * \param vq pointer to the virtqueue memory to be freed
84 * Getter functions for certain values of the virtqueue structure
90 * \param vq pointer to the virtqueue structure
100 * \param vq pointer to the virtqueue structure
107 * \brief Returns the queue index of the virtqueue of the device
109 * \param vq pointer to the virtqueue structure
118 * \param the virtqueue t
[all...]
H A Dvirtio_device.h375 * \brief returns a pointer to a virtqueue of the device
380 * \returns pointer to the requested virtqueue
381 * NULL if no such virtqueue exists
387 * \brief returns a pointer to a virtqueue of the device
392 * \returns pointer to the requested virtqueue
393 * NULL if no such virtqueue exists
395 struct virtqueue *virtio_device_get_virtq(struct virtio_device *vdev,
400 * \brief exposes the virtqueue to the device such that it can be used
403 * \param vq the virtqueue to be added to the device
408 struct virtqueue *v
[all...]
/barrelfish-master/lib/virtio/
H A Dvirtqueue.c16 #include <virtio/virtqueue.h>
46 struct virtqueue struct
98 * \param vq virtqueue to enable the interrupts
104 static bool virtqueue_interrupt_enable(struct virtqueue *vq,
124 * \brief initializes the vring structure of the virtqueue
126 * \param vq virtqueue of the vring to initialize
128 static void virtqueue_init_vring(struct virtqueue *vq)
157 * \param vq the virtqueue to initialize the indirect descriptors
162 static errval_t virtqueue_init_indirect(struct virtqueue *vq,
180 static bool virtqueue_should_notify_host(struct virtqueue *v
[all...]
H A Ddevice.h20 struct virtqueue;
54 struct virtqueue **vq;
68 errval_t (*set_virtq)(struct virtio_device *dev, struct virtqueue *vq);
H A Ddevice.c15 #include <virtio/virtqueue.h>
383 * \brief returns a pointer to a virtqueue of the device
388 * \returns pointer to the requested virtqueue
389 * NULL if no such virtqueue exists
404 struct virtqueue *vq)
452 struct virtqueue *vq = vdev->vq[i];
460 USER_PANIC_ERR(err, "adding the virtqueue to the deivce\n");
472 * \brief returns a pointer to a virtqueue of the device
477 * \returns pointer to the requested virtqueue
478 * NULL if no such virtqueue exist
[all...]
H A Dhost.c15 #include <virtio/virtqueue.h>
H A Dvirtqueue_host.c17 #include <virtio/virtqueue.h>
205 * \brief allocates and initiates a new virtqueue structure with no vring mem
207 * \param vq pointer to the array of virtqueue pointers
257 * \brief allocates and initiates a new virtqueue structure
336 * \brief allocates and initiates a new virtqueue structure
339 * \param vq pointer where to store the new virtqueue pointer
346 * \brief allocates and initiates a new virtqueue structure
350 * \param vq pointer where to store the new virtqueue pointer
435 * \param vq pointer to the virtqueue memory to be freed
454 * \param vq pointer to the virtqueue structur
[all...]
/barrelfish-master/lib/virtio/guest/
H A Dchannel_flounder.c13 #include <virtio/virtqueue.h>
84 static errval_t add_vring(struct virtqueue *vq)
/barrelfish-master/usr/drivers/virtio/block/
H A Ddevice.c16 #include <virtio/virtqueue.h>
46 * \param arg the argument passed to the virtqueue when allocating it
53 struct virtqueue *vq = dev->blk.vq;
H A Dmain_host.c19 #include <virtio/virtqueue.h>
H A Drequest.c18 #include <virtio/virtqueue.h>
60 * descriptors on the virtqueue of the device
185 struct virtqueue *vq = dev->blk.vq;
243 struct virtqueue *vq = dev->blk.vq;
264 DEBUG_ERR(err, "failure while polling virtqueue\n");
276 * \brief works through the virtqueue and handling all the completed descriptors
/barrelfish-master/include/virtio/devices/
H A Dvirtio_block.h122 * The driver queues requests to the virtqueue, and they are used by the device
188 struct virtqueue *vq;
329 struct virqueue_host *vq; ///< the single virtqueue
/barrelfish-master/lib/virtio/backends/
H A Dvirtio_device_mmio.c14 #include <virtio/virtqueue.h>
241 struct virtqueue *vq)
247 VIRTIO_DEBUG_TL("setting virtqueue [VQ(%u) @ %s]\n", queue_index, dev->dev_name);

Completed in 109 milliseconds