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

#include <nbd.h>

Data Fields

int flags
 
int harderror
 
struct socketsock
 
struct filefile
 
int magic
 
spinlock_t queue_lock
 
struct list_head queue_head
 
struct requestactive_req
 
wait_queue_head_t active_wq
 
struct list_head waiting_queue
 
wait_queue_head_t waiting_wq
 
struct mutex tx_lock
 
struct gendisk * disk
 
int blksize
 
u64 bytesize
 
pid_t pid
 
int xmit_timeout
 

Detailed Description

Definition at line 24 of file nbd.h.

Field Documentation

struct request* active_req

Definition at line 33 of file nbd.h.

wait_queue_head_t active_wq

Definition at line 34 of file nbd.h.

int blksize

Definition at line 40 of file nbd.h.

u64 bytesize

Definition at line 41 of file nbd.h.

struct gendisk* disk

Definition at line 39 of file nbd.h.

Definition at line 28 of file nbd.h.

int flags

Definition at line 25 of file nbd.h.

int harderror

Definition at line 26 of file nbd.h.

int magic

Definition at line 29 of file nbd.h.

Definition at line 42 of file nbd.h.

struct list_head queue_head

Definition at line 32 of file nbd.h.

spinlock_t queue_lock

Definition at line 31 of file nbd.h.

Definition at line 27 of file nbd.h.

struct mutex tx_lock

Definition at line 38 of file nbd.h.

struct list_head waiting_queue

Definition at line 35 of file nbd.h.

wait_queue_head_t waiting_wq

Definition at line 36 of file nbd.h.

int xmit_timeout

Definition at line 43 of file nbd.h.


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