Go to the source code of this file.
|
#define | XFS_DATA_FORK 0 |
|
#define | XFS_ATTR_FORK 1 |
|
#define | XFS_IEXT_BUFSZ 4096 |
|
#define | XFS_LINEAR_EXTS (XFS_IEXT_BUFSZ / (uint)sizeof(xfs_bmbt_rec_t)) |
|
#define | XFS_INLINE_EXTS 2 |
|
#define | XFS_INLINE_DATA 32 |
|
#define | XFS_ICHGTIME_MOD 0x1 /* data fork modification timestamp */ |
|
#define | XFS_ICHGTIME_CHG 0x2 /* inode field change timestamp */ |
|
#define | XFS_IFINLINE 0x01 /* Inline data is read in */ |
|
#define | XFS_IFEXTENTS 0x02 /* All extent pointers are read in */ |
|
#define | XFS_IFBROOT 0x04 /* i_broot points to the bmap b-tree root */ |
|
#define | XFS_IFEXTIREC 0x08 /* Indirection array of extent blocks */ |
|
#define | XFS_IFORK_Q(ip) ((ip)->i_d.di_forkoff != 0) |
|
#define | XFS_IFORK_BOFF(ip) ((int)((ip)->i_d.di_forkoff << 3)) |
|
#define | XFS_IFORK_PTR(ip, w) |
|
#define | XFS_IFORK_DSIZE(ip) |
|
#define | XFS_IFORK_ASIZE(ip) |
|
#define | XFS_IFORK_SIZE(ip, w) |
|
#define | XFS_IFORK_FORMAT(ip, w) |
|
#define | XFS_IFORK_FMT_SET(ip, w, n) |
|
#define | XFS_IFORK_NEXTENTS(ip, w) |
|
#define | XFS_IFORK_NEXT_SET(ip, w, n) |
|
#define | XFS_IFORK_MAXEXT(ip, w) (XFS_IFORK_SIZE(ip, w) / sizeof(xfs_bmbt_rec_t)) |
|
#define | XFS_IGET_CREATE 0x1 |
|
#define | XFS_IGET_UNTRUSTED 0x2 |
|
#define | XFS_IGET_DONTCACHE 0x4 |
|
#define | xfs_ipincount(ip) ((unsigned int) atomic_read(&ip->i_pincount)) |
|
#define | xfs_inobp_check(mp, bp) |
|
|
int | xfs_imap_to_bp (struct xfs_mount *, struct xfs_trans *, struct xfs_imap *, struct xfs_dinode **, struct xfs_buf **, uint, uint) |
|
int | xfs_iread (struct xfs_mount *, struct xfs_trans *, struct xfs_inode *, uint) |
|
void | xfs_dinode_to_disk (struct xfs_dinode *, struct xfs_icdinode *) |
|
void | xfs_idestroy_fork (struct xfs_inode *, int) |
|
void | xfs_idata_realloc (struct xfs_inode *, int, int) |
|
void | xfs_iroot_realloc (struct xfs_inode *, int, int) |
|
int | xfs_iread_extents (struct xfs_trans *, struct xfs_inode *, int) |
|
int | xfs_iextents_copy (struct xfs_inode *, xfs_bmbt_rec_t *, int) |
|
xfs_bmbt_rec_host_t * | xfs_iext_get_ext (xfs_ifork_t *, xfs_extnum_t) |
|
void | xfs_iext_insert (xfs_inode_t *, xfs_extnum_t, xfs_extnum_t, xfs_bmbt_irec_t *, int) |
|
void | xfs_iext_add (xfs_ifork_t *, xfs_extnum_t, int) |
|
void | xfs_iext_add_indirect_multi (xfs_ifork_t *, int, xfs_extnum_t, int) |
|
void | xfs_iext_remove (xfs_inode_t *, xfs_extnum_t, int, int) |
|
void | xfs_iext_remove_inline (xfs_ifork_t *, xfs_extnum_t, int) |
|
void | xfs_iext_remove_direct (xfs_ifork_t *, xfs_extnum_t, int) |
|
void | xfs_iext_remove_indirect (xfs_ifork_t *, xfs_extnum_t, int) |
|
void | xfs_iext_realloc_direct (xfs_ifork_t *, int) |
|
void | xfs_iext_direct_to_inline (xfs_ifork_t *, xfs_extnum_t) |
|
void | xfs_iext_inline_to_direct (xfs_ifork_t *, int) |
|
void | xfs_iext_destroy (xfs_ifork_t *) |
|
xfs_bmbt_rec_host_t * | xfs_iext_bno_to_ext (xfs_ifork_t *, xfs_fileoff_t, int *) |
|
xfs_ext_irec_t * | xfs_iext_bno_to_irec (xfs_ifork_t *, xfs_fileoff_t, int *) |
|
xfs_ext_irec_t * | xfs_iext_idx_to_irec (xfs_ifork_t *, xfs_extnum_t *, int *, int) |
|
void | xfs_iext_irec_init (xfs_ifork_t *) |
|
xfs_ext_irec_t * | xfs_iext_irec_new (xfs_ifork_t *, int) |
|
void | xfs_iext_irec_remove (xfs_ifork_t *, int) |
|
void | xfs_iext_irec_compact (xfs_ifork_t *) |
|
void | xfs_iext_irec_compact_pages (xfs_ifork_t *) |
|
void | xfs_iext_irec_compact_full (xfs_ifork_t *) |
|
void | xfs_iext_irec_update_extoffs (xfs_ifork_t *, int, int) |
|
#define XFS_ICHGTIME_CHG 0x2 /* inode field change timestamp */ |
#define XFS_ICHGTIME_MOD 0x1 /* data fork modification timestamp */ |
#define XFS_IEXT_BUFSZ 4096 |
#define XFS_IFBROOT 0x04 /* i_broot points to the bmap b-tree root */ |
#define XFS_IFEXTENTS 0x02 /* All extent pointers are read in */ |
#define XFS_IFEXTIREC 0x08 /* Indirection array of extent blocks */ |
#define XFS_IFINLINE 0x01 /* Inline data is read in */ |
#define XFS_IFORK_ASIZE |
( |
|
ip | ) |
|
#define XFS_IFORK_DSIZE |
( |
|
ip | ) |
|
#define XFS_IFORK_FMT_SET |
( |
|
ip, |
|
|
|
w, |
|
|
|
n |
|
) |
| |
Value:
((
ip)->i_d.di_format = (
n)) : \
((
ip)->i_d.di_aformat = (
n)))
Definition at line 196 of file xfs_inode.h.
#define XFS_IFORK_FORMAT |
( |
|
ip, |
|
|
|
w |
|
) |
| |
#define XFS_IFORK_NEXT_SET |
( |
|
ip, |
|
|
|
w, |
|
|
|
n |
|
) |
| |
Value:
((
ip)->i_d.di_nextents = (
n)) : \
((
ip)->i_d.di_anextents = (
n)))
Definition at line 204 of file xfs_inode.h.
#define XFS_IFORK_NEXTENTS |
( |
|
ip, |
|
|
|
w |
|
) |
| |
#define XFS_IFORK_PTR |
( |
|
ip, |
|
|
|
w |
|
) |
| |
#define XFS_IFORK_SIZE |
( |
|
ip, |
|
|
|
w |
|
) |
| |
#define XFS_IGET_CREATE 0x1 |
#define XFS_IGET_DONTCACHE 0x4 |
#define XFS_IGET_UNTRUSTED 0x2 |
#define XFS_INLINE_DATA 32 |
#define XFS_INLINE_EXTS 2 |
#define xfs_inobp_check |
( |
|
mp, |
|
|
|
bp |
|
) |
| |