Lines Matching refs:mp
67 struct xfs_mount *mp = XFS_M(sb); in xfs_fs_get_uuid() local
71 mp->m_fsname); in xfs_fs_get_uuid()
76 memcpy(buf, &mp->m_sb.sb_uuid, sizeof(uuid_t)); in xfs_fs_get_uuid()
88 struct xfs_mount *mp = ip->i_mount; in xfs_bmbt_to_iomap() local
104 iomap->offset = XFS_FSB_TO_B(mp, imap->br_startoff); in xfs_bmbt_to_iomap()
105 iomap->length = XFS_FSB_TO_B(mp, imap->br_blockcount); in xfs_bmbt_to_iomap()
121 struct xfs_mount *mp = ip->i_mount; in xfs_fs_map_blocks() local
130 if (XFS_FORCED_SHUTDOWN(mp)) in xfs_fs_map_blocks()
151 limit = mp->m_super->s_maxbytes; in xfs_fs_map_blocks()
167 end_fsb = XFS_B_TO_FSB(mp, (xfs_ufsize_t)offset + length); in xfs_fs_map_blocks()
168 offset_fsb = XFS_B_TO_FSBT(mp, offset); in xfs_fs_map_blocks()
205 *device_generation = mp->m_generation; in xfs_fs_map_blocks()
256 struct xfs_mount *mp = ip->i_mount; in xfs_fs_commit_blocks() local
306 tp = xfs_trans_alloc(mp, XFS_TRANS_SETATTR_NOT_SIZE); in xfs_fs_commit_blocks()
307 error = xfs_trans_reserve(tp, &M_RES(mp)->tr_ichange, 0, 0); in xfs_fs_commit_blocks()