Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
virtio_ring.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  vring_desc
 
struct  vring_avail
 
struct  vring_used_elem
 
struct  vring_used
 
struct  vring
 

Macros

#define VRING_DESC_F_NEXT   1
 
#define VRING_DESC_F_WRITE   2
 
#define VRING_DESC_F_INDIRECT   4
 
#define VRING_USED_F_NO_NOTIFY   1
 
#define VRING_AVAIL_F_NO_INTERRUPT   1
 
#define VIRTIO_RING_F_INDIRECT_DESC   28
 
#define VIRTIO_RING_F_EVENT_IDX   29
 
#define vring_used_event(vr)   ((vr)->avail->ring[(vr)->num])
 
#define vring_avail_event(vr)   (*(__u16 *)&(vr)->used->ring[(vr)->num])
 

Variables

struct vring_desc __attribute__
 

Macro Definition Documentation

#define VIRTIO_RING_F_EVENT_IDX   29

Definition at line 59 of file virtio_ring.h.

#define VIRTIO_RING_F_INDIRECT_DESC   28

Definition at line 53 of file virtio_ring.h.

#define vring_avail_event (   vr)    (*(__u16 *)&(vr)->used->ring[(vr)->num])

Definition at line 130 of file virtio_ring.h.

#define VRING_AVAIL_F_NO_INTERRUPT   1

Definition at line 50 of file virtio_ring.h.

#define VRING_DESC_F_INDIRECT   4

Definition at line 41 of file virtio_ring.h.

#define VRING_DESC_F_NEXT   1

Definition at line 37 of file virtio_ring.h.

#define VRING_DESC_F_WRITE   2

Definition at line 39 of file virtio_ring.h.

#define vring_used_event (   vr)    ((vr)->avail->ring[(vr)->num])

Definition at line 129 of file virtio_ring.h.

#define VRING_USED_F_NO_NOTIFY   1

Definition at line 46 of file virtio_ring.h.

Variable Documentation