Home
last modified time | relevance | path

Searched refs:sb_rbmblocks (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_rtalloc.c101 for (bbno = oargs->mp->m_sb.sb_rbmblocks - 1; in xfs_rtcopy_summary()
518 else if (i > 0 && (int)bbno + i < mp->m_sb.sb_rbmblocks - 1) in xfs_rtallocate_extent_near()
524 else if (i <= 0 && (int)bbno - i < mp->m_sb.sb_rbmblocks - 1) in xfs_rtallocate_extent_near()
554 for (i = 0; i < args->mp->m_sb.sb_rbmblocks; i++) { in xfs_rtalloc_sumlevel()
732 nmp->m_sb.sb_rbmblocks = bmbno + 1; in xfs_growfs_rt_bmblock()
738 nmp->m_sb.sb_rbmblocks); in xfs_growfs_rt_bmblock()
759 rbmip->i_disk_size = nmp->m_sb.sb_rbmblocks * nmp->m_sb.sb_blocksize; in xfs_growfs_rt_bmblock()
776 if (mp->m_sb.sb_rbmblocks != nmp->m_sb.sb_rbmblocks || in xfs_growfs_rt_bmblock()
789 if (nmp->m_sb.sb_rbmblocks != mp->m_sb.sb_rbmblocks) in xfs_growfs_rt_bmblock()
791 nmp->m_sb.sb_rbmblocks - mp->m_sb.sb_rbmblocks); in xfs_growfs_rt_bmblock()
[all …]
Dxfs_trans.c542 be32_add_cpu(&sbp->sb_rbmblocks, tp->t_rbmblocks_delta); in xfs_trans_apply_sb_deltas()
667 mp->m_sb.sb_rbmblocks += tp->t_rbmblocks_delta; in xfs_trans_unreserve_and_mod_sb()
/linux-6.12.1/fs/xfs/scrub/
Drtbitmap_repair.c40 blocks = xfs_bmbt_calc_size(mp, mp->m_sb.sb_rbmblocks); in xrep_setup_rtbitmap()
137 if (mp->m_sb.sb_rbmblocks != rtb->rbmblocks) in xrep_rtbitmap_geometry()
139 rtb->rbmblocks - mp->m_sb.sb_rbmblocks); in xrep_rtbitmap_geometry()
Drtsummary_repair.c113 if (rts->rbmblocks != mp->m_sb.sb_rbmblocks) in xrep_rtsummary()
166 memset(mp->m_rsum_cache, 0xFF, mp->m_sb.sb_rbmblocks); in xrep_rtsummary()
Drtbitmap.c166 if (mp->m_sb.sb_rbmblocks != rtb->rbmblocks) { in xchk_rtbitmap()
Dagheader.c162 if (sb->sb_rbmblocks != cpu_to_be32(mp->m_sb.sb_rbmblocks)) in xchk_superblock()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_sb.c252 if (sbp->sb_rextents != 0 || sbp->sb_rbmblocks != 0 || in xfs_validate_rt_geometry()
261 sbp->sb_rbmblocks != xfs_sb_calc_rbmblocks(sbp)) in xfs_validate_rt_geometry()
637 to->sb_rbmblocks = be32_to_cpu(from->sb_rbmblocks); in __xfs_sb_from_disk()
786 to->sb_rbmblocks = cpu_to_be32(from->sb_rbmblocks); in xfs_sb_to_disk()
Dxfs_rtbitmap.h198 return log2_len * mp->m_sb.sb_rbmblocks + rbmoff; in xfs_rtsumoffs()
Dxfs_format.h109 xfs_extlen_t sb_rbmblocks; /* number of rt bitmap blocks */ member
198 __be32 sb_rbmblocks; /* number of rt bitmap blocks */ member
Dxfs_rtbitmap.c150 if (XFS_IS_CORRUPT(mp, block >= mp->m_sb.sb_rbmblocks)) { in xfs_rtbitmap_read_buf()