Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
v9fs_vfs.h File Reference

Go to the source code of this file.

Macros

#define P9_LOCK_TIMEOUT   (30*HZ)
 

Functions

struct inodev9fs_alloc_inode (struct super_block *sb)
 
void v9fs_destroy_inode (struct inode *inode)
 
struct inodev9fs_get_inode (struct super_block *sb, umode_t mode, dev_t)
 
int v9fs_init_inode (struct v9fs_session_info *v9ses, struct inode *inode, umode_t mode, dev_t)
 
void v9fs_evict_inode (struct inode *inode)
 
ino_t v9fs_qid2ino (struct p9_qid *qid)
 
void v9fs_stat2inode (struct p9_wstat *, struct inode *, struct super_block *)
 
void v9fs_stat2inode_dotl (struct p9_stat_dotl *, struct inode *)
 
int v9fs_dir_release (struct inode *inode, struct file *filp)
 
int v9fs_file_open (struct inode *inode, struct file *file)
 
void v9fs_inode2stat (struct inode *inode, struct p9_wstat *stat)
 
int v9fs_uflags2omode (int uflags, int extended)
 
ssize_t v9fs_file_readn (struct file *, char *, char __user *, u32, u64)
 
ssize_t v9fs_fid_readn (struct p9_fid *, char *, char __user *, u32, u64)
 
void v9fs_blank_wstat (struct p9_wstat *wstat)
 
int v9fs_vfs_setattr_dotl (struct dentry *, struct iattr *)
 
int v9fs_file_fsync_dotl (struct file *filp, loff_t start, loff_t end, int datasync)
 
ssize_t v9fs_file_write_internal (struct inode *, struct p9_fid *, const char __user *, size_t, loff_t *, int)
 
int v9fs_refresh_inode (struct p9_fid *fid, struct inode *inode)
 
int v9fs_refresh_inode_dotl (struct p9_fid *fid, struct inode *inode)
 
int v9fs_open_to_dotl_flags (int flags)
 

Variables

struct file_system_type v9fs_fs_type
 
struct address_space_operations v9fs_addr_operations
 
struct file_operations v9fs_file_operations
 
struct file_operations v9fs_file_operations_dotl
 
struct file_operations v9fs_dir_operations
 
struct file_operations v9fs_dir_operations_dotl
 
struct dentry_operations v9fs_dentry_operations
 
struct dentry_operations v9fs_cached_dentry_operations
 
struct file_operations v9fs_cached_file_operations
 
struct file_operations v9fs_cached_file_operations_dotl
 
struct kmem_cachev9fs_inode_cache
 

Macro Definition Documentation

#define P9_LOCK_TIMEOUT   (30*HZ)

Definition at line 41 of file v9fs_vfs.h.

Function Documentation

struct inode* v9fs_alloc_inode ( struct super_block sb)
read

v9fs_alloc_inode - helper function to allocate an inode

Definition at line 241 of file vfs_inode.c.

void v9fs_blank_wstat ( struct p9_wstat wstat)

v9fs_blank_wstat - helper function to setup a 9P stat structure : structure to initialize

Definition at line 216 of file vfs_inode.c.

void v9fs_destroy_inode ( struct inode inode)

Definition at line 269 of file vfs_inode.c.

int v9fs_dir_release ( struct inode inode,
struct file filp 
)

v9fs_dir_release - close a directory : inode of the directory : file pointer to a directory

Definition at line 288 of file vfs_dir.c.

void v9fs_evict_inode ( struct inode inode)

v9fs_clear_inode - release an inode : inode to release

Definition at line 446 of file vfs_inode.c.

ssize_t v9fs_fid_readn ( struct p9_fid fid,
char data,
char __user udata,
u32  count,
u64  offset 
)

v9fs_fid_readn - read from a fid : fid to read : data buffer to read data into : user data buffer to read data into : size of buffer : offset at which to read data

Definition at line 383 of file vfs_file.c.

int v9fs_file_fsync_dotl ( struct file filp,
loff_t  start,
loff_t  end,
int  datasync 
)

Definition at line 567 of file vfs_file.c.

int v9fs_file_open ( struct inode inode,
struct file file 
)

Definition at line 56 of file vfs_file.c.

ssize_t v9fs_file_readn ( struct file filp,
char data,
char __user udata,
u32  count,
u64  offset 
)

v9fs_file_readn - read from a file : file pointer to read : data buffer to read data into : user data buffer to read data into : size of buffer : offset at which to read data

Definition at line 424 of file vfs_file.c.

ssize_t v9fs_file_write_internal ( struct inode ,
struct p9_fid ,
const char __user ,
size_t  ,
loff_t *  ,
int   
)

Definition at line 463 of file vfs_file.c.

struct inode* v9fs_get_inode ( struct super_block sb,
umode_t  mode,
dev_t  rdev 
)
read

v9fs_get_inode - helper function to setup an inode : superblock : mode to setup inode with

Definition at line 366 of file vfs_inode.c.

int v9fs_init_inode ( struct v9fs_session_info v9ses,
struct inode inode,
umode_t  mode,
dev_t   
)

Definition at line 274 of file vfs_inode.c.

void v9fs_inode2stat ( struct inode inode,
struct p9_wstat stat 
)
int v9fs_open_to_dotl_flags ( int  flags)

v9fs_open_to_dotl_flags- convert Linux specific open flags to plan 9 open flag. : flags to convert

Definition at line 214 of file vfs_inode_dotl.c.

ino_t v9fs_qid2ino ( struct p9_qid qid)

v9fs_qid2ino - convert qid into inode number : qid to hash

BUG: potential for inode number collisions?

Definition at line 1230 of file vfs_inode.c.

int v9fs_refresh_inode ( struct p9_fid fid,
struct inode inode 
)

Definition at line 1479 of file vfs_inode.c.

int v9fs_refresh_inode_dotl ( struct p9_fid fid,
struct inode inode 
)

Definition at line 962 of file vfs_inode_dotl.c.

void v9fs_stat2inode ( struct p9_wstat stat,
struct inode inode,
struct super_block sb 
)

v9fs_stat2inode - populate an inode structure with mistat info : Plan 9 metadata (mistat) structure : inode to populate : superblock of filesystem

Definition at line 1174 of file vfs_inode.c.

void v9fs_stat2inode_dotl ( struct p9_stat_dotl stat,
struct inode inode 
)

v9fs_stat2inode_dotl - populate an inode structure with stat info : stat structure : inode to populate : superblock of filesystem

Definition at line 626 of file vfs_inode_dotl.c.

int v9fs_uflags2omode ( int  uflags,
int  extended 
)

v9fs_uflags2omode- convert posix open flags to plan 9 mode bits : flags to convert : if .u extensions are active

Definition at line 175 of file vfs_inode.c.

int v9fs_vfs_setattr_dotl ( struct dentry dentry,
struct iattr iattr 
)

v9fs_vfs_setattr_dotl - set file metadata : file whose metadata to set : metadata assignment structure

Definition at line 564 of file vfs_inode_dotl.c.

Variable Documentation

struct address_space_operations v9fs_addr_operations

Definition at line 341 of file vfs_addr.c.

struct dentry_operations v9fs_cached_dentry_operations

Definition at line 138 of file vfs_dentry.c.

struct file_operations v9fs_cached_file_operations

Definition at line 745 of file vfs_file.c.

struct file_operations v9fs_cached_file_operations_dotl

Definition at line 758 of file vfs_file.c.

struct dentry_operations v9fs_dentry_operations

Definition at line 144 of file vfs_dentry.c.

struct file_operations v9fs_dir_operations

Definition at line 300 of file vfs_dir.c.

struct file_operations v9fs_dir_operations_dotl

Definition at line 308 of file vfs_dir.c.

struct file_operations v9fs_file_operations

Definition at line 772 of file vfs_file.c.

struct file_operations v9fs_file_operations_dotl

Definition at line 783 of file vfs_file.c.

struct file_system_type v9fs_fs_type

Definition at line 361 of file vfs_super.c.

struct kmem_cache* v9fs_inode_cache

Definition at line 44 of file v9fs.c.