Searched refs:vring (Results 1 - 4 of 4) sorted by relevance

/barrelfish-2018-10-04/include/virtio/
H A Dvirtio_ring.h120 struct vring struct
129 * \brief Calculates the size of a vring structure in memory aligned
169 static inline uint16_t *vring_get_used_event(struct vring *vr)
180 static inline uint16_t *vring_get_avail_event(struct vring *vr)
186 * We layout the vring structure in memory as follows:
188 * struct vring {
211 * \brief Initializes a vring structure
213 * \param vr vring structure to initialize
214 * \param num the number of vring descriptors
216 * \param align alignment constraints for the vring
[all...]
/barrelfish-2018-10-04/lib/virtio/
H A Dvirtqueue.c44 * information not stored with the vring structure
53 /* vring information */
54 struct vring vring; ///< vring data structure member in struct:virtqueue
55 struct capref vring_cap; ///< capability of the vring data structure
56 lvaddr_t vring_vaddr; ///< virtual address of the vring in memory
57 lpaddr_t vring_paddr; ///< physical address of the vring
58 lvaddr_t vring_align; ///< the alignment of the vring
60 uint16_t desc_num; ///< number of descriptors of this vring
[all...]
H A Dvirtqueue_host.c45 * information not stored with the vring structure
54 /* vring information */
55 struct vring vring; ///< vring data structure member in struct:virtqueue_host
56 struct capref vring_cap; ///< capability of the vring data structure
57 lvaddr_t vring_vaddr; ///< virtual address of the vring in memory
58 lpaddr_t vring_paddr; ///< physical address of the vring
59 lvaddr_t vring_align; ///< the alignment of the vring
61 uint16_t desc_num; ///< number of descriptors of this vring
[all...]
/barrelfish-2018-10-04/lib/virtio/host/
H A Dchannel_flounder.c176 struct capref vring)
201 st->err = virtio_vq_host_init_vring(vdev, vring, vq_id, ndesc, has_buffers);
208 st->err = vdev->cb_h->add(vdev,vring, ndesc, has_buffers, vq_id);
172 virtio_add_call__rx(struct virtio_binding *_binding, uint16_t vq_id, uint16_t ndesc, uint8_t has_buffers, struct capref vring) argument

Completed in 38 milliseconds