Lines Matching refs:sbp
563 xfs_sb_t *sbp = &mp->m_sb; in xfs_set_inode_alloc() local
575 icount = sbp->sb_dblocks * sbp->sb_imax_pct; in xfs_set_inode_alloc()
577 icount += sbp->sb_agblocks - 1; in xfs_set_inode_alloc()
578 do_div(icount, sbp->sb_agblocks); in xfs_set_inode_alloc()
585 agino = XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1); in xfs_set_inode_alloc()
1082 xfs_sb_t *sbp = &mp->m_sb; in xfs_fs_statfs() local
1103 statp->f_bsize = sbp->sb_blocksize; in xfs_fs_statfs()
1104 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
1105 statp->f_blocks = sbp->sb_dblocks - lsize; in xfs_fs_statfs()
1121 sbp->sb_icount); in xfs_fs_statfs()
1135 statp->f_blocks = sbp->sb_rblocks; in xfs_fs_statfs()
1137 sbp->sb_frextents * sbp->sb_rextsize; in xfs_fs_statfs()
1235 xfs_sb_t *sbp = &mp->m_sb; in xfs_fs_remount() local
1256 mp->m_maxagi = xfs_set_inode_alloc(mp, sbp->sb_agcount); in xfs_fs_remount()
1260 mp->m_maxagi = xfs_set_inode_alloc(mp, sbp->sb_agcount); in xfs_fs_remount()
1297 if (XFS_SB_VERSION_NUM(sbp) == XFS_SB_VERSION_5 && in xfs_fs_remount()
1298 xfs_sb_has_ro_compat_feature(sbp, in xfs_fs_remount()
1302 (sbp->sb_features_ro_compat & in xfs_fs_remount()