Searched refs:sb_rblocks (Results 1 – 18 of 18) sorted by relevance
/linux-6.12.1/fs/xfs/ |
D | xfs_rtalloc.h | 49 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))
|
D | xfs_rtalloc.c | 733 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()
|
D | xfs_discard.c | 583 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()
|
D | xfs_super.c | 886 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()
|
D | xfs_trans.c | 546 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()
|
D | xfs_fsmap.c | 934 handlers[2].nr_sectors = XFS_FSB_TO_BB(mp, mp->m_sb.sb_rblocks); in xfs_getfsmap()
|
D | xfs_ioctl.c | 501 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/ |
D | xfs_sb.c | 119 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()
|
D | xfs_types.c | 146 return rtbno < mp->m_sb.sb_rblocks; in xfs_verify_rtbno()
|
D | xfs_format.h | 99 xfs_rfsblock_t sb_rblocks; /* number of realtime blocks */ member 188 __be64 sb_rblocks; /* number of realtime blocks */ member
|
D | xfs_bmap.c | 3125 return x < mp->m_sb.sb_rblocks; in xfs_bmap_adjacent_valid()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | rtbitmap.c | 63 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()
|
D | quota_repair.c | 236 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()
|
D | rtsummary.c | 98 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()
|
D | quota.c | 198 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()
|
D | agheader.c | 132 if (sb->sb_rblocks != cpu_to_be64(mp->m_sb.sb_rblocks)) in xchk_superblock()
|
D | inode.c | 531 mp->m_sb.sb_dblocks + mp->m_sb.sb_rblocks) in xchk_dinode()
|
D | inode_repair.c | 1498 if (count >= sc->mp->m_sb.sb_rblocks) in xrep_inode_blockcounts()
|