/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_sb.c | 439 if (sbp->sb_logblocks > XFS_MAX_LOG_BLOCKS) { in xfs_validate_sb_common() 442 sbp->sb_logblocks, XFS_MAX_LOG_BLOCKS); in xfs_validate_sb_common() 446 if (XFS_FSB_TO_B(mp, sbp->sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_validate_sb_common() 449 XFS_FSB_TO_B(mp, sbp->sb_logblocks), in xfs_validate_sb_common() 624 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); in __xfs_sb_from_disk() 773 to->sb_logblocks = cpu_to_be32(from->sb_logblocks); in xfs_sb_to_disk() 1193 geo->logblocks = sbp->sb_logblocks; in xfs_fs_geometry()
|
H A D | xfs_ag.c | 518 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs() 621 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init() 688 int64_t logblocks = mp->m_sb.sb_logblocks; in xfs_agfblock_init()
|
H A D | xfs_refcount_btree.c | 529 agblocks -= mp->m_sb.sb_logblocks; in xfs_refcountbt_calc_reserves()
|
H A D | xfs_format.h | 111 xfs_extlen_t sb_logblocks; /* number of log blocks */ member 202 __be32 sb_logblocks; /* number of log blocks */ member
|
H A D | xfs_rmap_btree.c | 720 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
|
H A D | xfs_ialloc_btree.c | 717 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_mount.c | 526 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes() 527 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes() 869 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 882 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
|
H A D | xfs_log.c | 601 if (mp->m_sb.sb_logblocks < min_logfsbs) { in xfs_log_mount() 604 mp->m_sb.sb_logblocks, min_logfsbs); in xfs_log_mount() 606 } else if (mp->m_sb.sb_logblocks > XFS_MAX_LOG_BLOCKS) { in xfs_log_mount() 609 mp->m_sb.sb_logblocks, XFS_MAX_LOG_BLOCKS); in xfs_log_mount() 611 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount() 614 XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks), in xfs_log_mount()
|
H A D | xfs_fsops.c | 181 if (nb == mp->m_sb.sb_logblocks && in xfs_growfs_log_private()
|
H A D | xfs_fsmap.c | 440 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
|
H A D | xfs_rtalloc.c | 958 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) in xfs_growfs_rt()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_mount.c | 413 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes() 414 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes() 807 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 824 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
|
H A D | xfs_fsmap.c | 443 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_getfsmap_logdev() 462 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
|
H A D | xfs_fsops.c | 243 if (nb == mp->m_sb.sb_logblocks && in xfs_growfs_log_private()
|
H A D | xfs_log.c | 683 if (mp->m_sb.sb_logblocks < min_logfsbs) { in xfs_log_mount() 686 mp->m_sb.sb_logblocks, min_logfsbs); in xfs_log_mount()
|
H A D | xfs_rtalloc.c | 1011 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) in xfs_growfs_rt()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_ag.c | 108 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs() 213 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init() 280 int64_t logblocks = mp->m_sb.sb_logblocks; in xfs_agfblock_init()
|
H A D | xfs_sb.c | 502 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); in __xfs_sb_from_disk() 645 to->sb_logblocks = cpu_to_be32(from->sb_logblocks); in xfs_sb_to_disk() 1125 geo->logblocks = sbp->sb_logblocks; in xfs_fs_geometry()
|
H A D | xfs_rmap_btree.c | 630 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
|
H A D | xfs_refcount_btree.c | 483 agblocks -= mp->m_sb.sb_logblocks; in xfs_refcountbt_calc_reserves()
|
H A D | xfs_format.h | 111 xfs_extlen_t sb_logblocks; /* number of log blocks */ member 202 __be32 sb_logblocks; /* number of log blocks */ member
|
H A D | xfs_ialloc_btree.c | 647 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
|
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | agheader.c | 164 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()
|
H A D | rmap.c | 406 mp->m_sb.sb_logblocks); in xchk_rmapbt_walk_ag_metadata()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | agheader.c | 142 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()
|