Searched refs:sb_logblocks (Results 1 – 13 of 13) sorted by relevance
512 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()
621 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()
181 if (nb == mp->m_sb.sb_logblocks && in xfs_growfs_log_private()
429 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
941 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) in xfs_growfs_rt()
1104 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
105 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()
469 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()
435 agblocks -= mp->m_sb.sb_logblocks; in xfs_refcountbt_calc_reserves()
111 xfs_extlen_t sb_logblocks; /* number of log blocks */ member202 __be32 sb_logblocks; /* number of log blocks */ member
584 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
558 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
142 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()