Lines Matching refs:vring
120 struct vring
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
219 static inline void vring_init(struct vring *vr,
240 * \brief Maps the given capability and initializes the vring on the memory
243 * \param vr pointer to the vring structure to be initialized
245 * \param align alignment constraints for the vring
251 errval_t vring_init_from_cap(struct vring *vr,
257 * \brief allocates a new vring structure
259 * \param vr pointer to the vring structure
261 * \param align the alignment constraints for the vring
267 errval_t vring_alloc(struct vring *vr,
273 * \brief frees the resources used by the vring structure
275 * \param vr the vring to be freed
280 errval_t vring_free(struct vring *vr);