ReactOS 0.4.16-dev-297-gc569aee
virtio_ring_allocation.h
Go to the documentation of this file.
1#ifndef _VIRTIO_RING_ALLOCATION_H
2#define _VIRTIO_RING_ALLOCATION_H
3
4struct virtqueue *vring_new_virtqueue_split(unsigned int index,
5 unsigned int num,
6 unsigned int vring_align,
8 void *pages,
9 void (*notify)(struct virtqueue *),
10 void *control);
11
12struct virtqueue *vring_new_virtqueue_packed(unsigned int index,
13 unsigned int num,
14 unsigned int vring_align,
16 void *pages,
17 void (*notify)(struct virtqueue *),
18 void *control);
19
20unsigned int vring_control_block_size(u16 qsize, bool packed);
21unsigned int vring_control_block_size_packed(u16 qsize);
22unsigned long vring_size_packed(unsigned int num, unsigned long align);
23
24#endif /* _VIRTIO_RING_ALLOCATION_H */
USHORT u16
Definition: btrfs.h:13
int align(int length, int align)
Definition: dsound8.c:36
GLuint index
Definition: glext.h:6031
GLuint GLuint num
Definition: glext.h:9618
GLuint GLenum GLsizei GLsizei GLint GLint GLboolean packed
Definition: glext.h:9271
int notify
Definition: msacm.c:1366
Definition: dialog.c:52
VirtIODevice * vdev
Definition: VirtIO.h:44
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)
Definition: VirtIORing.c:486
unsigned int vring_control_block_size(u16 qsize, bool packed)
Definition: VirtIORing.c:474
unsigned long vring_size_packed(unsigned int num, unsigned long align)
unsigned int vring_control_block_size_packed(u16 qsize)