Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
v9fs.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/parser.h>
#include <linux/idr.h>
#include <linux/slab.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>
#include <net/9p/transport.h>
#include "v9fs.h"
#include "v9fs_vfs.h"
#include "cache.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Enumerations

enum  {
  Opt_debug, Opt_dfltuid, Opt_dfltgid, Opt_afid,
  Opt_uname, Opt_remotename, Opt_trans, Opt_cache,
  Opt_cachetag, Opt_nodevmap, Opt_cache_loose, Opt_fscache,
  Opt_access, Opt_posixacl, Opt_err
}
 

Functions

struct p9_fidv9fs_session_init (struct v9fs_session_info *v9ses, const char *dev_name, char *data)
 
void v9fs_session_close (struct v9fs_session_info *v9ses)
 
void v9fs_session_cancel (struct v9fs_session_info *v9ses)
 
void v9fs_session_begin_cancel (struct v9fs_session_info *v9ses)
 
int v9fs_error_init (void)
 

Variables

struct kmem_cachev9fs_inode_cache
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 26 of file v9fs.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
Opt_debug 
Opt_dfltuid 
Opt_dfltgid 
Opt_afid 
Opt_uname 
Opt_remotename 
Opt_trans 
Opt_cache 
Opt_cachetag 
Opt_nodevmap 
Opt_cache_loose 
Opt_fscache 
Opt_access 
Opt_posixacl 
Opt_err 

Definition at line 51 of file v9fs.c.

Function Documentation

int v9fs_error_init ( void  )
void v9fs_session_begin_cancel ( struct v9fs_session_info v9ses)

v9fs_session_begin_cancel - Begin terminate of a session : session to terminate

After this call we don't allow any request other than clunk.

Definition at line 452 of file v9fs.c.

void v9fs_session_cancel ( struct v9fs_session_info v9ses)

v9fs_session_cancel - terminate a session : session to terminate

mark transport as disconnected and cancel all pending requests.

Definition at line 440 of file v9fs.c.

void v9fs_session_close ( struct v9fs_session_info v9ses)

v9fs_session_close - shutdown a session : session information structure

Definition at line 410 of file v9fs.c.

struct p9_fid* v9fs_session_init ( struct v9fs_session_info v9ses,
const char dev_name,
char data 
)
read

v9fs_session_init - initialize session : session information structure : device being mounted : options

Definition at line 293 of file v9fs.c.

Variable Documentation

struct kmem_cache* v9fs_inode_cache

Definition at line 44 of file v9fs.c.