Home
last modified time | relevance | path

Searched refs:sb_logblocks (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/fs/xfs/
Dxfs_mount.c512 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes()
513 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes()
799 if (!sbp->sb_logblocks) { in xfs_mountfs()
813 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
Dxfs_log.c621 if (mp->m_sb.sb_logblocks < min_logfsbs) { in xfs_log_mount()
624 mp->m_sb.sb_logblocks, min_logfsbs); in xfs_log_mount()
626 } else if (mp->m_sb.sb_logblocks > XFS_MAX_LOG_BLOCKS) { in xfs_log_mount()
629 mp->m_sb.sb_logblocks, XFS_MAX_LOG_BLOCKS); in xfs_log_mount()
631 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount()
634 XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks), in xfs_log_mount()
Dxfs_fsops.c181 if (nb == mp->m_sb.sb_logblocks && in xfs_growfs_log_private()
Dxfs_fsmap.c429 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
Dxfs_rtalloc.c941 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) in xfs_growfs_rt()
Dxfs_super.c1104 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_ag.c105 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs()
210 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
277 int64_t logblocks = mp->m_sb.sb_logblocks; in xfs_agfblock_init()
Dxfs_sb.c469 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); in __xfs_sb_from_disk()
612 to->sb_logblocks = cpu_to_be32(from->sb_logblocks); in xfs_sb_to_disk()
1081 geo->logblocks = sbp->sb_logblocks; in xfs_fs_geometry()
Dxfs_refcount_btree.c435 agblocks -= mp->m_sb.sb_logblocks; in xfs_refcountbt_calc_reserves()
Dxfs_format.h111 xfs_extlen_t sb_logblocks; /* number of log blocks */ member
202 __be32 sb_logblocks; /* number of log blocks */ member
Dxfs_rmap_btree.c584 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
Dxfs_ialloc_btree.c558 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
/Linux-v5.4/fs/xfs/scrub/
Dagheader.c142 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()