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

Data Fields

struct list_head mux_list
 
struct p9_clientclient
 
int err
 
struct list_head req_list
 
struct list_head unsent_req_list
 
struct p9_req_treq
 
char tmp_buf [7]
 
int rsize
 
int rpos
 
charrbuf
 
int wpos
 
int wsize
 
charwbuf
 
struct list_head poll_pending_link
 
struct p9_poll_wait poll_wait [MAXPOLLWADDR]
 
poll_table pt
 
struct work_struct rq
 
struct work_struct wq
 
unsigned long wsched
 

Detailed Description

struct p9_conn - fd mux connection state information : list link for mux to manage multiple connections (?) : reference to client instance for this connection : error state : accounting for requests which have been sent : accounting for requests that haven't been sent : current request being processed (if any) : temporary buffer to read in header : amount to read for current frame : read position in current frame : current read buffer : write position for current frame : amount of data to write for current frame : current write buffer : pending links to be polled per conn : array of wait_q's for various worker threads : poll state : current read work : current write work : ????

Definition at line 136 of file trans_fd.c.

Field Documentation

Definition at line 138 of file trans_fd.c.

int err

Definition at line 139 of file trans_fd.c.

struct list_head mux_list

Definition at line 137 of file trans_fd.c.

struct list_head poll_pending_link

Definition at line 150 of file trans_fd.c.

Definition at line 151 of file trans_fd.c.

Definition at line 152 of file trans_fd.c.

char* rbuf

Definition at line 146 of file trans_fd.c.

Definition at line 142 of file trans_fd.c.

struct list_head req_list

Definition at line 140 of file trans_fd.c.

int rpos

Definition at line 145 of file trans_fd.c.

Definition at line 153 of file trans_fd.c.

int rsize

Definition at line 144 of file trans_fd.c.

char tmp_buf[7]

Definition at line 143 of file trans_fd.c.

struct list_head unsent_req_list

Definition at line 141 of file trans_fd.c.

char* wbuf

Definition at line 149 of file trans_fd.c.

int wpos

Definition at line 147 of file trans_fd.c.

Definition at line 154 of file trans_fd.c.

unsigned long wsched

Definition at line 155 of file trans_fd.c.

int wsize

Definition at line 148 of file trans_fd.c.


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