Linux Kernel
3.7.1
|
Go to the source code of this file.
#define XFS_ADDAFORK_SPACE_RES | ( | mp | ) | ((mp)->m_dirblkfsbs + XFS_DAENTER_BMAP1B(mp, XFS_DATA_FORK)) |
Definition at line 55 of file xfs_trans_space.h.
#define XFS_ATTRRM_SPACE_RES | ( | mp | ) | XFS_DAREMOVE_SPACE_RES(mp, XFS_ATTR_FORK) |
Definition at line 57 of file xfs_trans_space.h.
#define XFS_ATTRSET_SPACE_RES | ( | mp, | |
v | |||
) | (XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK) + XFS_B_TO_FSB(mp, v)) |
Definition at line 60 of file xfs_trans_space.h.
#define XFS_CREATE_SPACE_RES | ( | mp, | |
nl | |||
) | (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) |
Definition at line 62 of file xfs_trans_space.h.
#define XFS_DAENTER_1B | ( | mp, | |
w | |||
) | ((w) == XFS_DATA_FORK ? (mp)->m_dirblkfsbs : 1) |
Definition at line 31 of file xfs_trans_space.h.
#define XFS_DAENTER_BLOCKS | ( | mp, | |
w | |||
) | (XFS_DAENTER_1B(mp,w) * XFS_DAENTER_DBS(mp,w)) |
Definition at line 34 of file xfs_trans_space.h.
#define XFS_DAENTER_BMAP1B | ( | mp, | |
w | |||
) | XFS_NEXTENTADD_SPACE_RES(mp, XFS_DAENTER_1B(mp, w), w) |
Definition at line 36 of file xfs_trans_space.h.
#define XFS_DAENTER_BMAPS | ( | mp, | |
w | |||
) | (XFS_DAENTER_DBS(mp,w) * XFS_DAENTER_BMAP1B(mp,w)) |
Definition at line 38 of file xfs_trans_space.h.
#define XFS_DAENTER_DBS | ( | mp, | |
w | |||
) | (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) |
Definition at line 32 of file xfs_trans_space.h.
#define XFS_DAENTER_SPACE_RES | ( | mp, | |
w | |||
) | (XFS_DAENTER_BLOCKS(mp,w) + XFS_DAENTER_BMAPS(mp,w)) |
Definition at line 40 of file xfs_trans_space.h.
#define XFS_DAREMOVE_SPACE_RES | ( | mp, | |
w | |||
) | XFS_DAENTER_BMAPS(mp,w) |
Definition at line 42 of file xfs_trans_space.h.
#define XFS_DIOSTRAT_SPACE_RES | ( | mp, | |
v | |||
) | (XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK) + (v)) |
Definition at line 64 of file xfs_trans_space.h.
#define XFS_DIRENTER_MAX_SPLIT | ( | mp, | |
nl | |||
) | 1 |
Definition at line 43 of file xfs_trans_space.h.
#define XFS_DIRENTER_SPACE_RES | ( | mp, | |
nl | |||
) |
Definition at line 44 of file xfs_trans_space.h.
#define XFS_DIRREMOVE_SPACE_RES | ( | mp | ) | XFS_DAREMOVE_SPACE_RES(mp, XFS_DATA_FORK) |
Definition at line 47 of file xfs_trans_space.h.
#define XFS_EXTENTADD_SPACE_RES | ( | mp, | |
w | |||
) | (XFS_BM_MAXLEVELS(mp,w) - 1) |
Definition at line 26 of file xfs_trans_space.h.
#define XFS_GROWFS_SPACE_RES | ( | mp | ) | (2 * XFS_AG_MAXLEVELS(mp)) |
Definition at line 66 of file xfs_trans_space.h.
#define XFS_GROWFSRT_SPACE_RES | ( | mp, | |
b | |||
) | ((b) + XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK)) |
Definition at line 68 of file xfs_trans_space.h.
#define XFS_IALLOC_SPACE_RES | ( | mp | ) | (XFS_IALLOC_BLOCKS(mp) + (mp)->m_in_maxlevels - 1) |
Definition at line 49 of file xfs_trans_space.h.
#define XFS_LINK_SPACE_RES | ( | mp, | |
nl | |||
) | XFS_DIRENTER_SPACE_RES(mp,nl) |
Definition at line 70 of file xfs_trans_space.h.
Definition at line 24 of file xfs_trans_space.h.
#define XFS_MKDIR_SPACE_RES | ( | mp, | |
nl | |||
) | (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) |
Definition at line 72 of file xfs_trans_space.h.
Definition at line 27 of file xfs_trans_space.h.
#define XFS_QM_DQALLOC_SPACE_RES | ( | mp | ) |
Definition at line 74 of file xfs_trans_space.h.
#define XFS_QM_QINOCREATE_SPACE_RES | ( | mp | ) | XFS_IALLOC_SPACE_RES(mp) |
Definition at line 77 of file xfs_trans_space.h.
#define XFS_REMOVE_SPACE_RES | ( | mp | ) | XFS_DIRREMOVE_SPACE_RES(mp) |
Definition at line 79 of file xfs_trans_space.h.
#define XFS_RENAME_SPACE_RES | ( | mp, | |
nl | |||
) | (XFS_DIRREMOVE_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl)) |
Definition at line 81 of file xfs_trans_space.h.
#define XFS_SYMLINK_SPACE_RES | ( | mp, | |
nl, | |||
b | |||
) | (XFS_IALLOC_SPACE_RES(mp) + XFS_DIRENTER_SPACE_RES(mp,nl) + (b)) |
Definition at line 83 of file xfs_trans_space.h.