Lines Matching refs:mp
54 #define XFS_BLOCKSIZE(mp) ((mp)->m_sb.sb_blocksize) argument
55 #define XFS_BLOCKMASK(mp) ((mp)->m_blockmask) argument
56 #define XFS_BLOCKWSIZE(mp) ((mp)->m_blockwsize) argument
57 #define XFS_BLOCKWMASK(mp) ((mp)->m_blockwmask) argument
62 #define XFS_SUMOFFS(mp,ls,bb) ((int)((ls) * (mp)->m_sb.sb_rbmblocks + (bb))) argument
63 #define XFS_SUMOFFSTOBLOCK(mp,s) \ argument
64 (((s) * (uint)sizeof(xfs_suminfo_t)) >> (mp)->m_sb.sb_blocklog)
65 #define XFS_SUMPTR(mp,bp,so) \ argument
67 (((so) * (uint)sizeof(xfs_suminfo_t)) & XFS_BLOCKMASK(mp))))
69 #define XFS_BITTOBLOCK(mp,bi) ((bi) >> (mp)->m_blkbit_log) argument
70 #define XFS_BLOCKTOBIT(mp,bb) ((bb) << (mp)->m_blkbit_log) argument
71 #define XFS_BITTOWORD(mp,bi) \ argument
72 ((int)(((bi) >> XFS_NBWORDLOG) & XFS_BLOCKWMASK(mp)))
126 struct xfs_mount *mp); /* file system mount structure */
134 struct xfs_mount *mp); /* file system mount structure */
145 struct xfs_mount *mp, /* file system mount point */
155 struct xfs_mount *mp, /* file system mount structure */
165 struct xfs_mount *mp, /* file system mount structure */
173 struct xfs_mount *mp, /* file system mount structure */
180 # define xfs_growfs_rt(mp,in) (ENOSYS) argument
181 # define xfs_rtmount_init(m) (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))
182 # define xfs_rtmount_inodes(m) (((mp)->m_sb.sb_rblocks == 0)? 0 : (ENOSYS))