Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
vhost_virtqueue Struct Reference

#include <vhost.h>

Data Fields

struct vhost_devdev
 
struct mutex mutex
 
unsigned int num
 
struct vring_desc __userdesc
 
struct vring_avail __useravail
 
struct vring_used __userused
 
struct filekick
 
struct filecall
 
struct fileerror
 
struct eventfd_ctxcall_ctx
 
struct eventfd_ctxerror_ctx
 
struct eventfd_ctxlog_ctx
 
struct vhost_poll poll
 
vhost_work_fn_t handle_kick
 
u16 last_avail_idx
 
u16 avail_idx
 
u16 last_used_idx
 
u16 used_flags
 
u16 signalled_used
 
bool signalled_used_valid
 
bool log_used
 
u64 log_addr
 
struct iovec iov [UIO_MAXIOV]
 
struct iovec hdr [sizeof(struct virtio_net_hdr_mrg_rxbuf)]
 
struct iovecindirect
 
size_t vhost_hlen
 
size_t sock_hlen
 
struct vring_used_elemheads
 
void __rcuprivate_data
 
void __userlog_base
 
struct vhost_loglog
 
int upend_idx
 
int done_idx
 
struct ubuf_infoubuf_info
 
struct vhost_ubuf_refubufs
 

Detailed Description

Definition at line 74 of file vhost.h.

Field Documentation

Definition at line 81 of file vhost.h.

u16 avail_idx

Definition at line 99 of file vhost.h.

struct file* call

Definition at line 84 of file vhost.h.

struct eventfd_ctx* call_ctx

Definition at line 86 of file vhost.h.

Definition at line 80 of file vhost.h.

Definition at line 75 of file vhost.h.

int done_idx

Definition at line 141 of file vhost.h.

struct file* error

Definition at line 85 of file vhost.h.

struct eventfd_ctx* error_ctx

Definition at line 87 of file vhost.h.

vhost_work_fn_t handle_kick

Definition at line 93 of file vhost.h.

Definition at line 121 of file vhost.h.

Definition at line 125 of file vhost.h.

struct iovec* indirect

Definition at line 122 of file vhost.h.

Definition at line 117 of file vhost.h.

struct file* kick

Definition at line 83 of file vhost.h.

u16 last_avail_idx

Definition at line 96 of file vhost.h.

u16 last_used_idx

Definition at line 102 of file vhost.h.

Definition at line 136 of file vhost.h.

u64 log_addr

Definition at line 115 of file vhost.h.

void __user* log_base

Definition at line 135 of file vhost.h.

struct eventfd_ctx* log_ctx

Definition at line 88 of file vhost.h.

bool log_used

Definition at line 114 of file vhost.h.

Definition at line 78 of file vhost.h.

unsigned int num

Definition at line 79 of file vhost.h.

Definition at line 90 of file vhost.h.

void __rcu* private_data

Definition at line 133 of file vhost.h.

u16 signalled_used

Definition at line 108 of file vhost.h.

bool signalled_used_valid

Definition at line 111 of file vhost.h.

size_t sock_hlen

Definition at line 124 of file vhost.h.

Definition at line 143 of file vhost.h.

Definition at line 146 of file vhost.h.

int upend_idx

Definition at line 139 of file vhost.h.

Definition at line 82 of file vhost.h.

u16 used_flags

Definition at line 105 of file vhost.h.

size_t vhost_hlen

Definition at line 123 of file vhost.h.


The documentation for this struct was generated from the following file: