Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xfs_iops.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_acl.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_alloc.h"
#include "xfs_quota.h"
#include "xfs_mount.h"
#include "xfs_bmap_btree.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_bmap.h"
#include "xfs_rtalloc.h"
#include "xfs_error.h"
#include "xfs_itable.h"
#include "xfs_attr.h"
#include "xfs_buf_item.h"
#include "xfs_utils.h"
#include "xfs_vnodeops.h"
#include "xfs_inode_item.h"
#include "xfs_trace.h"
#include <linux/capability.h>
#include <linux/xattr.h>
#include <linux/namei.h>
#include <linux/posix_acl.h>
#include <linux/security.h>
#include <linux/fiemap.h>
#include <linux/slab.h>

Go to the source code of this file.

Macros

#define XFS_FIEMAP_FLAGS   (FIEMAP_FLAG_SYNC|FIEMAP_FLAG_XATTR)
 

Functions

STATIC int xfs_init_security (struct inode *inode, struct inode *dir, const struct qstr *qstr)
 
STATIC void xfs_cleanup_inode (struct inode *dir, struct inode *inode, struct dentry *dentry)
 
STATIC int xfs_vn_mknod (struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
 
STATIC int xfs_vn_create (struct inode *dir, struct dentry *dentry, umode_t mode, bool flags)
 
STATIC int xfs_vn_mkdir (struct inode *dir, struct dentry *dentry, umode_t mode)
 
STATIC struct dentryxfs_vn_lookup (struct inode *dir, struct dentry *dentry, unsigned int flags)
 
STATIC struct dentryxfs_vn_ci_lookup (struct inode *dir, struct dentry *dentry, unsigned int flags)
 
STATIC int xfs_vn_link (struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
 
STATIC int xfs_vn_unlink (struct inode *dir, struct dentry *dentry)
 
STATIC int xfs_vn_symlink (struct inode *dir, struct dentry *dentry, const char *symname)
 
STATIC int xfs_vn_rename (struct inode *odir, struct dentry *odentry, struct inode *ndir, struct dentry *ndentry)
 
STATIC voidxfs_vn_follow_link (struct dentry *dentry, struct nameidata *nd)
 
STATIC void xfs_vn_put_link (struct dentry *dentry, struct nameidata *nd, void *p)
 
STATIC int xfs_vn_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
 
int xfs_setattr_nonsize (struct xfs_inode *ip, struct iattr *iattr, int flags)
 
int xfs_setattr_size (struct xfs_inode *ip, struct iattr *iattr, int flags)
 
STATIC int xfs_vn_setattr (struct dentry *dentry, struct iattr *iattr)
 
STATIC int xfs_vn_update_time (struct inode *inode, struct timespec *now, int flags)
 
STATIC int xfs_fiemap_format (void **arg, struct getbmapx *bmv, int *full)
 
STATIC int xfs_vn_fiemap (struct inode *inode, struct fiemap_extent_info *fieinfo, u64 start, u64 length)
 
STATIC void xfs_diflags_to_iflags (struct inode *inode, struct xfs_inode *ip)
 
void xfs_setup_inode (struct xfs_inode *ip)
 

Macro Definition Documentation

#define XFS_FIEMAP_FLAGS   (FIEMAP_FLAG_SYNC|FIEMAP_FLAG_XATTR)

Definition at line 941 of file xfs_iops.c.

Function Documentation

STATIC void xfs_cleanup_inode ( struct inode dir,
struct inode inode,
struct dentry dentry 
)

Definition at line 96 of file xfs_iops.c.

STATIC void xfs_diflags_to_iflags ( struct inode inode,
struct xfs_inode *  ip 
)

Definition at line 1105 of file xfs_iops.c.

STATIC int xfs_fiemap_format ( void **  arg,
struct getbmapx bmv,
int full 
)

Definition at line 948 of file xfs_iops.c.

STATIC int xfs_init_security ( struct inode inode,
struct inode dir,
const struct qstr qstr 
)

Definition at line 77 of file xfs_iops.c.

int xfs_setattr_nonsize ( struct xfs_inode *  ip,
struct iattr iattr,
int  flags 
)

Definition at line 458 of file xfs_iops.c.

int xfs_setattr_size ( struct xfs_inode *  ip,
struct iattr iattr,
int  flags 
)

Definition at line 689 of file xfs_iops.c.

void xfs_setup_inode ( struct xfs_inode *  ip)

Definition at line 1140 of file xfs_iops.c.

STATIC struct dentry* xfs_vn_ci_lookup ( struct inode dir,
struct dentry dentry,
unsigned int  flags 
)
read

Definition at line 222 of file xfs_iops.c.

STATIC int xfs_vn_create ( struct inode dir,
struct dentry dentry,
umode_t  mode,
bool  flags 
)

Definition at line 178 of file xfs_iops.c.

STATIC int xfs_vn_fiemap ( struct inode inode,
struct fiemap_extent_info fieinfo,
u64  start,
u64  length 
)

Definition at line 986 of file xfs_iops.c.

STATIC void* xfs_vn_follow_link ( struct dentry dentry,
struct nameidata nd 
)

Definition at line 366 of file xfs_iops.c.

STATIC int xfs_vn_getattr ( struct vfsmount mnt,
struct dentry dentry,
struct kstat stat 
)

Definition at line 404 of file xfs_iops.c.

STATIC int xfs_vn_link ( struct dentry old_dentry,
struct inode dir,
struct dentry dentry 
)

Definition at line 262 of file xfs_iops.c.

STATIC struct dentry* xfs_vn_lookup ( struct inode dir,
struct dentry dentry,
unsigned int  flags 
)
read

Definition at line 197 of file xfs_iops.c.

STATIC int xfs_vn_mkdir ( struct inode dir,
struct dentry dentry,
umode_t  mode 
)

Definition at line 188 of file xfs_iops.c.

STATIC int xfs_vn_mknod ( struct inode dir,
struct dentry dentry,
umode_t  mode,
dev_t  rdev 
)

Definition at line 115 of file xfs_iops.c.

STATIC void xfs_vn_put_link ( struct dentry dentry,
struct nameidata nd,
void p 
)

Definition at line 392 of file xfs_iops.c.

STATIC int xfs_vn_rename ( struct inode odir,
struct dentry odentry,
struct inode ndir,
struct dentry ndentry 
)

Definition at line 342 of file xfs_iops.c.

STATIC int xfs_vn_setattr ( struct dentry dentry,
struct iattr iattr 
)

Definition at line 891 of file xfs_iops.c.

STATIC int xfs_vn_symlink ( struct inode dir,
struct dentry dentry,
const char symname 
)

Definition at line 307 of file xfs_iops.c.

STATIC int xfs_vn_unlink ( struct inode dir,
struct dentry dentry 
)

Definition at line 283 of file xfs_iops.c.

STATIC int xfs_vn_update_time ( struct inode inode,
struct timespec now,
int  flags 
)

Definition at line 901 of file xfs_iops.c.