Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mod.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/moduleparam.h>
#include <net/9p/9p.h>
#include <linux/fs.h>
#include <linux/parser.h>
#include <net/9p/client.h>
#include <net/9p/transport.h>
#include <linux/list.h>
#include <linux/spinlock.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

void v9fs_register_trans (struct p9_trans_module *m)
 
 EXPORT_SYMBOL (v9fs_register_trans)
 
void v9fs_unregister_trans (struct p9_trans_module *m)
 
 EXPORT_SYMBOL (v9fs_unregister_trans)
 
: string identifying transport

v9fs_get_trans_by_name - get transport with the matching name

struct p9_trans_modulev9fs_get_trans_by_name (char *s)
 
 EXPORT_SYMBOL (v9fs_get_trans_by_name)
 
struct p9_trans_modulev9fs_get_default_trans (void)
 
 EXPORT_SYMBOL (v9fs_get_default_trans)
 
void v9fs_put_trans (struct p9_trans_module *m)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 27 of file mod.c.

Function Documentation

EXPORT_SYMBOL ( v9fs_register_trans  )
EXPORT_SYMBOL ( v9fs_unregister_trans  )
EXPORT_SYMBOL ( v9fs_get_trans_by_name  )
EXPORT_SYMBOL ( v9fs_get_default_trans  )
struct p9_trans_module* v9fs_get_default_trans ( void  )
read

v9fs_get_default_trans - get the default transport

Definition at line 133 of file mod.c.

struct p9_trans_module* v9fs_get_trans_by_name ( char s)
read

Definition at line 110 of file mod.c.

void v9fs_put_trans ( struct p9_trans_module m)

v9fs_put_trans - put trans : transport to put

Definition at line 162 of file mod.c.

void v9fs_register_trans ( struct p9_trans_module m)

v9fs_register_trans - register a new transport with 9p : structure describing the transport module and entry points

Definition at line 84 of file mod.c.

void v9fs_unregister_trans ( struct p9_trans_module m)

v9fs_unregister_trans - unregister a 9p transport : the transport to remove

Definition at line 97 of file mod.c.