Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/
Dxfs_mount.c527 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes()
528 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes()
829 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs()
842 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
Dxfs_log.c582 if (mp->m_sb.sb_logblocks < min_logfsbs) { in xfs_log_mount()
585 mp->m_sb.sb_logblocks, min_logfsbs); in xfs_log_mount()
587 } else if (mp->m_sb.sb_logblocks > XFS_MAX_LOG_BLOCKS) { in xfs_log_mount()
590 mp->m_sb.sb_logblocks, XFS_MAX_LOG_BLOCKS); in xfs_log_mount()
592 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount()
595 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.c440 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
Dxfs_rtalloc.c958 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) in xfs_growfs_rt()
Dxfs_super.c805 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_ag.c108 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()
Dxfs_sb.c502 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()
1115 geo->logblocks = sbp->sb_logblocks; in xfs_fs_geometry()
Dxfs_refcount_btree.c483 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.c630 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
Dxfs_ialloc_btree.c647 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
Dxfs_ialloc.c2952 first_bno += mp->m_sb.sb_logblocks; in xfs_ialloc_calc_rootino()
/Linux-v5.10/fs/xfs/scrub/
Dagheader.c142 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()