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

#include <v9fs.h>

Data Fields

unsigned char flags
 
unsigned char nodev
 
unsigned short debug
 
unsigned int afid
 
unsigned int cache
 
charuname
 
charaname
 
unsigned int maxdata
 
unsigned int dfltuid
 
unsigned int dfltgid
 
u32 uid
 
struct p9_clientclnt
 
struct list_head slist
 
struct backing_dev_info bdi
 
struct rw_semaphore rename_sem
 

Detailed Description

struct v9fs_session_info - per-instance session information : session options of type &p9_session_flags : set to 1 to disable device mapping : debug level : authentication handle : cache mode of type &p9_cache_modes : the tag of the cache associated with this session : session cookie associated with FS-Cache : copy of options string given by user : string user name to mount hierarchy as : mount specifier for remote hierarchy : maximum data to be sent/recvd per protocol message : default numeric userid to mount hierarchy as : default numeric groupid to mount hierarchy as : if V9FS_ACCESS_SINGLE, the numeric uid which mounted the hierarchy : reference to 9P network client instantiated for this session : reference to list of registered 9p sessions

This structure holds state for each session instance established during a sys_mount() .

Bugs: there seems to be a lot of state which could be condensed and/or removed.

Definition at line 97 of file v9fs.h.

Field Documentation

unsigned int afid

Definition at line 102 of file v9fs.h.

char* aname

Definition at line 110 of file v9fs.h.

Definition at line 117 of file v9fs.h.

unsigned int cache

Definition at line 103 of file v9fs.h.

Definition at line 115 of file v9fs.h.

unsigned short debug

Definition at line 101 of file v9fs.h.

unsigned int dfltgid

Definition at line 113 of file v9fs.h.

unsigned int dfltuid

Definition at line 112 of file v9fs.h.

unsigned char flags

Definition at line 99 of file v9fs.h.

unsigned int maxdata

Definition at line 111 of file v9fs.h.

unsigned char nodev

Definition at line 100 of file v9fs.h.

struct rw_semaphore rename_sem

Definition at line 118 of file v9fs.h.

Definition at line 116 of file v9fs.h.

u32 uid

Definition at line 114 of file v9fs.h.

char* uname

Definition at line 109 of file v9fs.h.


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