Lines Matching refs:sb_blocksize
259 return sbp->sb_blocksize - sizeof(struct xfs_rtbuf_blkinfo); in xfs_rtbmblock_size()
260 return sbp->sb_blocksize; in xfs_rtbmblock_size()
276 if (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE || in xfs_validate_rt_geometry()
277 sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) in xfs_validate_rt_geometry()
466 if (sbp->sb_blocksize < XFS_MIN_CRC_BLOCKSIZE) { in xfs_validate_sb_common()
469 sbp->sb_blocksize, XFS_MIN_CRC_BLOCKSIZE); in xfs_validate_sb_common()
565 sbp->sb_blocksize < XFS_MIN_BLOCKSIZE || in xfs_validate_sb_common()
566 sbp->sb_blocksize > XFS_MAX_BLOCKSIZE || in xfs_validate_sb_common()
569 sbp->sb_blocksize != (1 << sbp->sb_blocklog) || in xfs_validate_sb_common()
576 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
582 (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE) || in xfs_validate_sb_common()
583 (sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) || in xfs_validate_sb_common()
634 if (sbp->sb_logsunit % sbp->sb_blocksize) { in xfs_validate_sb_common()
755 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); in __xfs_sb_from_disk()
927 to->sb_blocksize = cpu_to_be32(from->sb_blocksize); in xfs_sb_to_disk()
1193 mp->m_blockmask = sbp->sb_blocksize - 1; in xfs_sb_mount_common()
1203 mp->m_alloc_mxr[0] = xfs_allocbt_maxrecs(mp, sbp->sb_blocksize, true); in xfs_sb_mount_common()
1204 mp->m_alloc_mxr[1] = xfs_allocbt_maxrecs(mp, sbp->sb_blocksize, false); in xfs_sb_mount_common()
1208 mp->m_bmap_dmxr[0] = xfs_bmbt_maxrecs(mp, sbp->sb_blocksize, true); in xfs_sb_mount_common()
1209 mp->m_bmap_dmxr[1] = xfs_bmbt_maxrecs(mp, sbp->sb_blocksize, false); in xfs_sb_mount_common()
1213 mp->m_rmap_mxr[0] = xfs_rmapbt_maxrecs(mp, sbp->sb_blocksize, true); in xfs_sb_mount_common()
1214 mp->m_rmap_mxr[1] = xfs_rmapbt_maxrecs(mp, sbp->sb_blocksize, false); in xfs_sb_mount_common()
1218 mp->m_refc_mxr[0] = xfs_refcountbt_maxrecs(mp, sbp->sb_blocksize, true); in xfs_sb_mount_common()
1219 mp->m_refc_mxr[1] = xfs_refcountbt_maxrecs(mp, sbp->sb_blocksize, false); in xfs_sb_mount_common()
1425 geo->blocksize = sbp->sb_blocksize; in xfs_fs_geometry()
1499 geo->rtsectsize = sbp->sb_blocksize; in xfs_fs_geometry()