1#ifndef _VIRTIO_RING_ALLOCATION_H
2#define _VIRTIO_RING_ALLOCATION_H
6 unsigned int vring_align,
14 unsigned int vring_align,
int align(int length, int align)
GLuint GLenum GLsizei GLsizei GLint GLint GLboolean packed
struct virtqueue * vring_new_virtqueue_packed(unsigned int index, unsigned int num, unsigned int vring_align, VirtIODevice *vdev, void *pages, void(*notify)(struct virtqueue *), void *control)
struct virtqueue * vring_new_virtqueue_split(unsigned int index, unsigned int num, unsigned int vring_align, VirtIODevice *vdev, void *pages, void(*notify)(struct virtqueue *), void *control)
unsigned int vring_control_block_size(u16 qsize, bool packed)
unsigned long vring_size_packed(unsigned int num, unsigned long align)
unsigned int vring_control_block_size_packed(u16 qsize)