Searched refs:sb_rextsize (Results 1 – 10 of 10) sorted by relevance
154 return ip->i_mount->m_sb.sb_rextsize; in xfs_get_extsz_hint()
1868 (sbp->sb_rblocks && (in->extsize != sbp->sb_rextsize))) in xfs_growfs_rt()1937 nsbp->sb_rextsize = in->extsize; in xfs_growfs_rt()1942 nsbp->sb_blocksize * nsbp->sb_rextsize); in xfs_growfs_rt()1944 do_div(nsbp->sb_rextents, nsbp->sb_rextsize); in xfs_growfs_rt()1995 if (nsbp->sb_rextsize != sbp->sb_rextsize) in xfs_growfs_rt()1997 nsbp->sb_rextsize - sbp->sb_rextsize); in xfs_growfs_rt()
110 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */ member181 __be32 sb_rextsize; /* realtime extent size, blocks */ member
1967 if (rt && (temp = (align_alen % mp->m_sb.sb_rextsize))) { in xfs_bmap_extsize_align()1994 align_alen -= align_alen % mp->m_sb.sb_rextsize; in xfs_bmap_extsize_align()2182 prod = align / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()2189 ASSERT(ap->length % mp->m_sb.sb_rextsize == 0); in xfs_bmap_rtalloc()2200 ralen = ap->length / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()2208 if (ralen * mp->m_sb.sb_rextsize >= MAXEXTLEN) in xfs_bmap_rtalloc()2209 ralen = MAXEXTLEN / mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()2227 ap->blkno = rtx * mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()2238 do_div(ap->blkno, mp->m_sb.sb_rextsize); in xfs_bmap_rtalloc()2251 ap->blkno *= mp->m_sb.sb_rextsize; in xfs_bmap_rtalloc()[all …]
75 { offsetof(xfs_sb_t, sb_rextsize), 0 },369 (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE) || in xfs_mount_validate_sb()370 (sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) || in xfs_mount_validate_sb()571 to->sb_rextsize = be32_to_cpu(from->sb_rextsize); in xfs_sb_from_disk()1785 scounter = mp->m_sb.sb_rextsize; in xfs_mod_incore_sb_unlocked()1791 mp->m_sb.sb_rextsize = scounter; in xfs_mod_incore_sb_unlocked()
1020 size = mp->m_sb.sb_rextsize << in xfs_ioctl_setattr()1054 (mp->m_sb.sb_rextsize == 0) || in xfs_ioctl_setattr()1055 (ip->i_d.di_extsize % mp->m_sb.sb_rextsize)) { in xfs_ioctl_setattr()
1849 resrtextents /= mp->m_sb.sb_rextsize; in xfs_alloc_file_space()2107 mod = do_div(block, mp->m_sb.sb_rextsize); in xfs_free_file_space()2109 startoffset_fsb += mp->m_sb.sb_rextsize - mod; in xfs_free_file_space()2120 if (mod && (mod != mp->m_sb.sb_rextsize)) in xfs_free_file_space()
181 resrtextents /= mp->m_sb.sb_rextsize; in xfs_iomap_write_direct()
60 geo->rtextsize = mp->m_sb.sb_rextsize; in xfs_fs_geometry()
961 be32_add_cpu(&sbp->sb_rextsize, tp->t_rextsize_delta); in xfs_trans_apply_sb_deltas()