Searched refs:sb_logsunit (Results 1 – 7 of 7) sorted by relevance
97 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) in xfs_log_calc_minimum_size()98 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size()
37 #define XLOG_BTOLSUNIT(log, b) (((b)+(log)->l_mp->m_sb.sb_logsunit-1) / \38 (log)->l_mp->m_sb.sb_logsunit)39 #define XLOG_LSUNITTOB(log, su) ((su) * (log)->l_mp->m_sb.sb_logsunit)
317 sbp->sb_logsunit > XLOG_MAX_RECORD_BSIZE || in xfs_validate_sb_common()503 to->sb_logsunit = be32_to_cpu(from->sb_logsunit); in __xfs_sb_from_disk()644 to->sb_logsunit = cpu_to_be32(from->sb_logsunit); in xfs_sb_to_disk()1164 geo->logsunit = sbp->sb_logsunit; in xfs_fs_geometry()
149 uint32_t sb_logsunit; /* stripe unit size for the log */ member240 __be32 sb_logsunit; /* stripe unit size for the log */ member
651 } else if (mp->m_sb.sb_logsunit > 1 && in xfs_log_mount()652 mp->m_sb.sb_logsunit % mp->m_sb.sb_blocksize) { in xfs_log_mount()655 mp->m_sb.sb_logsunit); in xfs_log_mount()1855 if (v2 && log->l_mp->m_sb.sb_logsunit > 1) { in xlog_sync()1863 ASSERT((v2 && log->l_mp->m_sb.sb_logsunit > 1 && in xlog_sync()1864 roundoff < log->l_mp->m_sb.sb_logsunit) in xlog_sync()1866 (log->l_mp->m_sb.sb_logsunit <= 1 && in xlog_sync()3262 log->l_mp->m_sb.sb_logsunit > 1) { in xlog_state_switch_iclogs()3263 uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); in xlog_state_switch_iclogs()3659 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) { in xfs_log_calc_unit_res()[all …]
1443 mp->m_sb.sb_logsunit > XLOG_BIG_RECORD_BSIZE) { in xfs_finish_flags()1444 mp->m_logbsize = mp->m_sb.sb_logsunit; in xfs_finish_flags()1446 mp->m_logbsize < mp->m_sb.sb_logsunit) { in xfs_finish_flags()
249 if (sb->sb_logsunit != cpu_to_be32(mp->m_sb.sb_logsunit)) in xchk_superblock()