Linux Kernel
3.7.1
|
#include <linux/backing-dev.h>
Go to the source code of this file.
Data Structures | |
struct | v9fs_session_info |
struct | v9fs_inode |
Macros | |
#define | V9FS_ACCESS_ANY |
#define | V9FS_ACCESS_MASK V9FS_ACCESS_ANY |
#define | V9FS_ACL_MASK V9FS_POSIX_ACL |
#define | V9FS_INO_INVALID_ATTR 0x01 |
#define | V9FS_PORT 564 |
#define | V9FS_DEFUSER "nobody" |
#define | V9FS_DEFANAME "" |
#define | V9FS_DEFUID (-2) |
#define | V9FS_DEFGID (-2) |
Enumerations | |
enum | p9_session_flags { V9FS_PROTO_2000U = 0x01, V9FS_PROTO_2000L = 0x02, V9FS_ACCESS_SINGLE = 0x04, V9FS_ACCESS_USER = 0x08, V9FS_ACCESS_CLIENT = 0x10, V9FS_POSIX_ACL = 0x20 } |
enum | p9_cache_modes { CACHE_NONE, CACHE_LOOSE, CACHE_FSCACHE } |
Functions | |
struct p9_fid * | v9fs_session_init (struct v9fs_session_info *, const char *, char *) |
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) |
struct dentry * | v9fs_vfs_lookup (struct inode *dir, struct dentry *dentry, unsigned int flags) |
int | v9fs_vfs_unlink (struct inode *i, struct dentry *d) |
int | v9fs_vfs_rmdir (struct inode *i, struct dentry *d) |
int | v9fs_vfs_rename (struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry) |
void | v9fs_vfs_put_link (struct dentry *dentry, struct nameidata *nd, void *p) |
struct inode * | v9fs_inode_from_fid (struct v9fs_session_info *v9ses, struct p9_fid *fid, struct super_block *sb, int new) |
struct inode * | v9fs_inode_from_fid_dotl (struct v9fs_session_info *v9ses, struct p9_fid *fid, struct super_block *sb, int new) |
Variables | |
struct inode_operations | v9fs_dir_inode_operations_dotl |
struct inode_operations | v9fs_file_inode_operations_dotl |
struct inode_operations | v9fs_symlink_inode_operations_dotl |
#define V9FS_ACCESS_ANY |
enum p9_session_flags - option flags for each 9P session : whether or not to use 9P2000.u extensions : whether or not to use 9P2000.l extensions : only the mounting user can access the hierarchy : a new attach will be issued for every user (default) : Just like user, but access check is performed on client. : use a single attach for all users : bit mask of different ACCESS options : POSIX ACLs are enforced
Session flags reflect options selected by users at mount time
#define V9FS_ACCESS_MASK V9FS_ACCESS_ANY |
#define V9FS_ACL_MASK V9FS_POSIX_ACL |
enum p9_cache_modes |
enum p9_cache_modes - user specified cache preferences : do not cache data, dentries, or directory contents (default) : cache data, dentries, and directory contents w/no consistency
eventually support loose, tight, time, session, default always none
enum p9_session_flags |
|
read |
Definition at line 550 of file vfs_inode.c.
|
read |
Definition at line 161 of file vfs_inode_dotl.c.
void v9fs_session_begin_cancel | ( | struct v9fs_session_info * | v9ses | ) |
void v9fs_session_cancel | ( | struct v9fs_session_info * | v9ses | ) |
void v9fs_session_close | ( | struct v9fs_session_info * | v9ses | ) |
|
read |
Definition at line 787 of file vfs_inode.c.
v9fs_vfs_put_link - release a symlink path : dentry for symlink : nameidata : unused
Definition at line 1330 of file vfs_inode.c.
int v9fs_vfs_rename | ( | struct inode * | old_dir, |
struct dentry * | old_dentry, | ||
struct inode * | new_dir, | ||
struct dentry * | new_dentry | ||
) |
v9fs_vfs_rename - VFS hook to rename an inode : old dir inode : old dentry : new dir inode : new dentry
Definition at line 973 of file vfs_inode.c.
v9fs_vfs_rmdir - VFS unlink hook to delete a directory : inode that is being unlinked : dentry that is being unlinked
Definition at line 958 of file vfs_inode.c.
v9fs_vfs_unlink - VFS unlink hook to delete an inode : inode that is being unlinked : dentry that is being unlinked
Definition at line 946 of file vfs_inode.c.
struct inode_operations v9fs_dir_inode_operations_dotl |
Definition at line 993 of file vfs_inode_dotl.c.
struct inode_operations v9fs_file_inode_operations_dotl |
Definition at line 1013 of file vfs_inode_dotl.c.
struct inode_operations v9fs_symlink_inode_operations_dotl |
Definition at line 1023 of file vfs_inode_dotl.c.