Lines Matching refs:sb_rextents
168 error = xfs_rtfind_forw(mp, tp, end, mp->m_sb.sb_rextents - 1, in xfs_rtallocate_range()
251 maxlen = min(mp->m_sb.sb_rextents, i + maxlen) - i; in xfs_rtallocate_extent_block()
446 if (bno >= mp->m_sb.sb_rextents) in xfs_rtallocate_extent_near()
447 bno = mp->m_sb.sb_rextents - 1; in xfs_rtallocate_extent_near()
450 maxlen = min(mp->m_sb.sb_rextents, bno + maxlen) - bno; in xfs_rtallocate_extent_near()
1023 ((sbp->sb_rextents & ((1 << mp->m_blkbit_log) - 1)) != 0); in xfs_growfs_rt()
1039 nsbp->sb_rextents = nsbp->sb_rblocks; in xfs_growfs_rt()
1040 do_div(nsbp->sb_rextents, nsbp->sb_rextsize); in xfs_growfs_rt()
1041 ASSERT(nsbp->sb_rextents != 0); in xfs_growfs_rt()
1042 nsbp->sb_rextslog = xfs_highbit32(nsbp->sb_rextents); in xfs_growfs_rt()
1105 if (nsbp->sb_rextents != sbp->sb_rextents) in xfs_growfs_rt()
1107 nsbp->sb_rextents - sbp->sb_rextents); in xfs_growfs_rt()
1115 error = xfs_rtfree_range(nmp, tp, sbp->sb_rextents, in xfs_growfs_rt()
1116 nsbp->sb_rextents - sbp->sb_rextents, &bp, &sumbno); in xfs_growfs_rt()
1126 nsbp->sb_rextents - sbp->sb_rextents); in xfs_growfs_rt()
1398 b = (mp->m_sb.sb_rextents * ((resid << 1) + 1ULL)) >> in xfs_rtpick_extent()
1400 if (b >= mp->m_sb.sb_rextents) in xfs_rtpick_extent()
1401 div64_u64_rem(b, mp->m_sb.sb_rextents, &b); in xfs_rtpick_extent()
1402 if (b + len > mp->m_sb.sb_rextents) in xfs_rtpick_extent()
1403 b = mp->m_sb.sb_rextents - len; in xfs_rtpick_extent()