Home
last modified time | relevance | path

Searched refs:sb_logsunit (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_log_rlimit.c95 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) in xfs_log_calc_minimum_size()
96 lsunit = BTOBB(mp->m_sb.sb_logsunit); in xfs_log_calc_minimum_size()
Dxfs_log_format.h37 #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)
Dxfs_sb.c313 sbp->sb_logsunit > XLOG_MAX_RECORD_BSIZE || in xfs_validate_sb_common()
531 to->sb_logsunit = be32_to_cpu(from->sb_logsunit); in __xfs_sb_from_disk()
672 to->sb_logsunit = cpu_to_be32(from->sb_logsunit); in xfs_sb_to_disk()
1184 geo->logsunit = sbp->sb_logsunit; in xfs_fs_geometry()
Dxfs_format.h149 uint32_t sb_logsunit; /* stripe unit size for the log */ member
240 __be32 sb_logsunit; /* stripe unit size for the log */ member
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_log.c598 } else if (mp->m_sb.sb_logsunit > 1 && in xfs_log_mount()
599 mp->m_sb.sb_logsunit % mp->m_sb.sb_blocksize) { in xfs_log_mount()
602 mp->m_sb.sb_logsunit); in xfs_log_mount()
1781 log->l_mp->m_sb.sb_logsunit > 1; in xlog_calc_iclog_size()
1798 ASSERT(*roundoff < log->l_mp->m_sb.sb_logsunit); in xlog_calc_iclog_size()
3073 log->l_mp->m_sb.sb_logsunit > 1) { in xlog_state_switch_iclogs()
3074 uint32_t sunit_bb = BTOBB(log->l_mp->m_sb.sb_logsunit); in xlog_state_switch_iclogs()
3409 if (xfs_sb_version_haslogv2(&mp->m_sb) && mp->m_sb.sb_logsunit > 1) { in xfs_log_calc_unit_res()
3411 unit_bytes += 2 * mp->m_sb.sb_logsunit; in xfs_log_calc_unit_res()
Dxfs_super.c954 mp->m_sb.sb_logsunit > XLOG_BIG_RECORD_BSIZE) { in xfs_finish_flags()
955 mp->m_logbsize = mp->m_sb.sb_logsunit; in xfs_finish_flags()
957 mp->m_logbsize < mp->m_sb.sb_logsunit) { in xfs_finish_flags()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dagheader.c240 if (sb->sb_logsunit != cpu_to_be32(mp->m_sb.sb_logsunit)) in xchk_superblock()