Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/
Dxfs_mount.c412 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes()
413 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes()
790 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs()
807 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
Dxfs_log.c679 if (mp->m_sb.sb_logblocks < min_logfsbs) { in xfs_log_mount()
682 mp->m_sb.sb_logblocks, min_logfsbs); in xfs_log_mount()
684 } else if (mp->m_sb.sb_logblocks > XFS_MAX_LOG_BLOCKS) { in xfs_log_mount()
687 mp->m_sb.sb_logblocks, XFS_MAX_LOG_BLOCKS); in xfs_log_mount()
689 } else if (XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_log_mount()
692 XFS_FSB_TO_B(mp, mp->m_sb.sb_logblocks), in xfs_log_mount()
Dxfs_fsops.c234 if (nb == mp->m_sb.sb_logblocks && in xfs_growfs_log_private()
Dxfs_fsmap.c441 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
Dxfs_rtalloc.c990 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) in xfs_growfs_rt()
Dxfs_super.c827 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_sb.c568 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); in __xfs_sb_from_disk()
717 to->sb_logblocks = cpu_to_be32(from->sb_logblocks); in xfs_sb_to_disk()
1134 geo->logblocks = sbp->sb_logblocks; in xfs_fs_geometry()
Dxfs_ag.c437 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs()
542 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init()
609 int64_t logblocks = mp->m_sb.sb_logblocks; in xfs_agfblock_init()
Dxfs_refcount_btree.c520 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.c670 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
Dxfs_ialloc_btree.c701 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
Dxfs_ialloc.c2901 first_bno += mp->m_sb.sb_logblocks; in xfs_ialloc_calc_rootino()
/linux-6.1.9/fs/xfs/scrub/
Dagheader.c154 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()