Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
xfs_vnodeops.c File Reference
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_types.h"
#include "xfs_bit.h"
#include "xfs_log.h"
#include "xfs_trans.h"
#include "xfs_sb.h"
#include "xfs_ag.h"
#include "xfs_dir2.h"
#include "xfs_mount.h"
#include "xfs_da_btree.h"
#include "xfs_bmap_btree.h"
#include "xfs_ialloc_btree.h"
#include "xfs_dinode.h"
#include "xfs_inode.h"
#include "xfs_inode_item.h"
#include "xfs_itable.h"
#include "xfs_ialloc.h"
#include "xfs_alloc.h"
#include "xfs_bmap.h"
#include "xfs_acl.h"
#include "xfs_attr.h"
#include "xfs_error.h"
#include "xfs_quota.h"
#include "xfs_utils.h"
#include "xfs_rtalloc.h"
#include "xfs_trans_space.h"
#include "xfs_log_priv.h"
#include "xfs_filestream.h"
#include "xfs_vnodeops.h"
#include "xfs_trace.h"

Go to the source code of this file.

Macros

#define SYMLINK_MAPS   2
 

Functions

STATIC int xfs_readlink_bmap (xfs_inode_t *ip, char *link)
 
int xfs_readlink (xfs_inode_t *ip, char *link)
 
STATIC int xfs_free_eofblocks (xfs_mount_t *mp, xfs_inode_t *ip, bool need_iolock)
 
STATIC int xfs_inactive_symlink_rmt (xfs_inode_t *ip, xfs_trans_t **tpp)
 
int xfs_release (xfs_inode_t *ip)
 
int xfs_inactive (xfs_inode_t *ip)
 
int xfs_lookup (xfs_inode_t *dp, struct xfs_name *name, xfs_inode_t **ipp, struct xfs_name *ci_name)
 
int xfs_create (xfs_inode_t *dp, struct xfs_name *name, umode_t mode, xfs_dev_t rdev, xfs_inode_t **ipp)
 
void xfs_lock_inodes (xfs_inode_t **ips, int inodes, uint lock_mode)
 
void xfs_lock_two_inodes (xfs_inode_t *ip0, xfs_inode_t *ip1, uint lock_mode)
 
int xfs_remove (xfs_inode_t *dp, struct xfs_name *name, xfs_inode_t *ip)
 
int xfs_link (xfs_inode_t *tdp, xfs_inode_t *sip, struct xfs_name *target_name)
 
int xfs_symlink (xfs_inode_t *dp, struct xfs_name *link_name, const char *target_path, umode_t mode, xfs_inode_t **ipp)
 
int xfs_set_dmattrs (xfs_inode_t *ip, u_int evmask, u_int16_t state)
 
STATIC int xfs_alloc_file_space (xfs_inode_t *ip, xfs_off_t offset, xfs_off_t len, int alloc_type, int attr_flags)
 
STATIC int xfs_zero_remaining_bytes (xfs_inode_t *ip, xfs_off_t startoff, xfs_off_t endoff)
 
STATIC int xfs_free_file_space (xfs_inode_t *ip, xfs_off_t offset, xfs_off_t len, int attr_flags)
 
int xfs_change_file_space (xfs_inode_t *ip, int cmd, xfs_flock64_t *bf, xfs_off_t offset, int attr_flags)
 

Macro Definition Documentation

#define SYMLINK_MAPS   2

Definition at line 56 of file xfs_vnodeops.c.

Function Documentation

STATIC int xfs_alloc_file_space ( xfs_inode_t *  ip,
xfs_off_t  offset,
xfs_off_t  len,
int  alloc_type,
int  attr_flags 
)

Definition at line 1649 of file xfs_vnodeops.c.

int xfs_change_file_space ( xfs_inode_t *  ip,
int  cmd,
xfs_flock64_t bf,
xfs_off_t  offset,
int  attr_flags 
)

Definition at line 2110 of file xfs_vnodeops.c.

int xfs_create ( xfs_inode_t *  dp,
struct xfs_name name,
umode_t  mode,
xfs_dev_t  rdev,
xfs_inode_t **  ipp 
)

Definition at line 713 of file xfs_vnodeops.c.

STATIC int xfs_free_eofblocks ( xfs_mount_t *  mp,
xfs_inode_t *  ip,
bool  need_iolock 
)

Definition at line 154 of file xfs_vnodeops.c.

STATIC int xfs_free_file_space ( xfs_inode_t *  ip,
xfs_off_t  offset,
xfs_off_t  len,
int  attr_flags 
)

Definition at line 1911 of file xfs_vnodeops.c.

int xfs_inactive ( xfs_inode_t *  ip)

Definition at line 486 of file xfs_vnodeops.c.

STATIC int xfs_inactive_symlink_rmt ( xfs_inode_t *  ip,
xfs_trans_t **  tpp 
)

Definition at line 253 of file xfs_vnodeops.c.

int xfs_link ( xfs_inode_t *  tdp,
xfs_inode_t *  sip,
struct xfs_name target_name 
)

Definition at line 1252 of file xfs_vnodeops.c.

void xfs_lock_inodes ( xfs_inode_t **  ips,
int  inodes,
uint  lock_mode 
)

Definition at line 941 of file xfs_vnodeops.c.

void xfs_lock_two_inodes ( xfs_inode_t *  ip0,
xfs_inode_t *  ip1,
uint  lock_mode 
)

Definition at line 1047 of file xfs_vnodeops.c.

int xfs_lookup ( xfs_inode_t *  dp,
struct xfs_name name,
xfs_inode_t **  ipp,
struct xfs_name ci_name 
)

Definition at line 676 of file xfs_vnodeops.c.

int xfs_readlink ( xfs_inode_t *  ip,
char link 
)

Definition at line 107 of file xfs_vnodeops.c.

STATIC int xfs_readlink_bmap ( xfs_inode_t *  ip,
char link 
)

Definition at line 59 of file xfs_vnodeops.c.

int xfs_release ( xfs_inode_t *  ip)

Definition at line 389 of file xfs_vnodeops.c.

int xfs_remove ( xfs_inode_t *  dp,
struct xfs_name name,
xfs_inode_t *  ip 
)

Definition at line 1088 of file xfs_vnodeops.c.

int xfs_set_dmattrs ( xfs_inode_t *  ip,
u_int  evmask,
u_int16_t  state 
)

Definition at line 1596 of file xfs_vnodeops.c.

int xfs_symlink ( xfs_inode_t *  dp,
struct xfs_name link_name,
const char target_path,
umode_t  mode,
xfs_inode_t **  ipp 
)

Definition at line 1355 of file xfs_vnodeops.c.

STATIC int xfs_zero_remaining_bytes ( xfs_inode_t *  ip,
xfs_off_t  startoff,
xfs_off_t  endoff 
)

Definition at line 1820 of file xfs_vnodeops.c.