Home
last modified time | relevance | path

Searched refs:sb_rblocks (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_rtalloc.h49 if (mp->m_sb.sb_rblocks == 0) in xfs_rtmount_init()
55 # define xfs_rtmount_inodes(m) (((mp)->m_sb.sb_rblocks == 0)? 0 : (-ENOSYS))
Dxfs_rtalloc.c733 nmp->m_sb.sb_rblocks = min(nrblocks, nrblocks_step); in xfs_growfs_rt_bmblock()
734 nmp->m_sb.sb_rextents = xfs_rtb_to_rtx(nmp, nmp->m_sb.sb_rblocks); in xfs_growfs_rt_bmblock()
792 if (nmp->m_sb.sb_rblocks != mp->m_sb.sb_rblocks) in xfs_growfs_rt_bmblock()
794 nmp->m_sb.sb_rblocks - mp->m_sb.sb_rblocks); in xfs_growfs_rt_bmblock()
901 if (in->newblocks <= mp->m_sb.sb_rblocks) in xfs_growfs_rt()
904 if (mp->m_sb.sb_rblocks > 0 && in->extsize != mp->m_sb.sb_rextsize) in xfs_growfs_rt()
1027 if (sbp->sb_rblocks == 0) in xfs_rtmount_init()
1041 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_rtmount_init()
1042 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_rblocks) { in xfs_rtmount_init()
1045 (unsigned long long) mp->m_sb.sb_rblocks); in xfs_rtmount_init()
Dxfs_discard.c583 XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks) - 1); in xfs_trim_rtdev_extents()
685 max_blocks = mp->m_sb.sb_dblocks + mp->m_sb.sb_rblocks; in xfs_ioc_trim()
Dxfs_super.c886 statp->f_blocks = sbp->sb_rblocks; in xfs_fs_statfs()
1667 xfs_sb_validate_fsb_count(&mp->m_sb, mp->m_sb.sb_rblocks)) { in xfs_fs_fill_super()
1737 if (mp->m_sb.sb_rblocks) { in xfs_fs_fill_super()
1750 if (xfs_has_rmapbt(mp) && mp->m_sb.sb_rblocks) { in xfs_fs_fill_super()
Dxfs_trans.c546 be64_add_cpu(&sbp->sb_rblocks, tp->t_rblocks_delta); in xfs_trans_apply_sb_deltas()
668 mp->m_sb.sb_rblocks += tp->t_rblocks_delta; in xfs_trans_unreserve_and_mod_sb()
Dxfs_fsmap.c934 handlers[2].nr_sectors = XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_getfsmap()
Dxfs_ioctl.c501 if (mp->m_sb.sb_rblocks == 0 || mp->m_sb.sb_rextsize == 0 || in xfs_ioctl_setattr_xflags()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_sb.c119 if (sbp->sb_rblocks > 0) in xfs_sb_version_to_features()
251 if (sbp->sb_rblocks == 0) { in xfs_validate_rt_geometry()
259 sbp->sb_rextents != div_u64(sbp->sb_rblocks, sbp->sb_rextsize) || in xfs_validate_rt_geometry()
529 sbp->sb_rblocks ? "" : "zeroed "); in xfs_validate_sb_common()
627 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); in __xfs_sb_from_disk()
776 to->sb_rblocks = cpu_to_be64(from->sb_rblocks); in xfs_sb_to_disk()
1223 geo->rtblocks = sbp->sb_rblocks; in xfs_fs_geometry()
Dxfs_types.c146 return rtbno < mp->m_sb.sb_rblocks; in xfs_verify_rtbno()
Dxfs_format.h99 xfs_rfsblock_t sb_rblocks; /* number of realtime blocks */ member
188 __be64 sb_rblocks; /* number of realtime blocks */ member
Dxfs_bmap.c3125 return x < mp->m_sb.sb_rblocks; in xfs_bmap_adjacent_valid()
/linux-6.12.1/fs/xfs/scrub/
Drtbitmap.c63 if (mp->m_sb.sb_rblocks) { in xchk_setup_rtbitmap()
64 rtb->rextents = xfs_rtb_to_rtx(mp, mp->m_sb.sb_rblocks); in xchk_setup_rtbitmap()
Dquota_repair.c236 if (dq->q_rtb.count > mp->m_sb.sb_rblocks) { in xrep_quota_item()
238 dq->q_rtb.reserved += mp->m_sb.sb_rblocks; in xrep_quota_item()
239 dq->q_rtb.count = mp->m_sb.sb_rblocks; in xrep_quota_item()
Drtsummary.c98 if (mp->m_sb.sb_rblocks) { in xchk_setup_rtsummary()
101 rts->rextents = xfs_rtb_to_rtx(mp, mp->m_sb.sb_rblocks); in xchk_setup_rtsummary()
Dquota.c198 if (dq->q_rtb.hardlimit > mp->m_sb.sb_rblocks) in xchk_quota_item()
220 if (dq->q_ino.count > fs_icount || dq->q_rtb.count > mp->m_sb.sb_rblocks) in xchk_quota_item()
Dagheader.c132 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) in xchk_superblock()
Dinode.c531 mp->m_sb.sb_dblocks + mp->m_sb.sb_rblocks) in xchk_dinode()
Dinode_repair.c1498 if (count >= sc->mp->m_sb.sb_rblocks) in xrep_inode_blockcounts()