Searched refs:sb_logblocks (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_sb.c | 433 if (sbp->sb_logblocks > XFS_MAX_LOG_BLOCKS) { in xfs_validate_sb_common() 436 sbp->sb_logblocks, XFS_MAX_LOG_BLOCKS); in xfs_validate_sb_common() 440 if (XFS_FSB_TO_B(mp, sbp->sb_logblocks) > XFS_MAX_LOG_BYTES) { in xfs_validate_sb_common() 443 XFS_FSB_TO_B(mp, sbp->sb_logblocks), in xfs_validate_sb_common() 620 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); in __xfs_sb_from_disk() 769 to->sb_logblocks = cpu_to_be32(from->sb_logblocks); in xfs_sb_to_disk() 1190 geo->logblocks = sbp->sb_logblocks; in xfs_fs_geometry()
|
H A D | xfs_ag.c | 539 be32_add_cpu(&arec->ar_startblock, mp->m_sb.sb_logblocks); in xfs_freesp_init_recs() 642 rrec->rm_blockcount = cpu_to_be32(mp->m_sb.sb_logblocks); in xfs_rmaproot_init() 709 int64_t logblocks = mp->m_sb.sb_logblocks; in xfs_agfblock_init()
|
H A D | xfs_format.h | 111 xfs_extlen_t sb_logblocks; /* number of log blocks */ member 202 __be32 sb_logblocks; /* number of log blocks */ member
|
H A D | xfs_refcount_btree.c | 529 agblocks -= mp->m_sb.sb_logblocks; in xfs_refcountbt_calc_reserves()
|
H A D | xfs_rmap_btree.c | 720 agblocks -= mp->m_sb.sb_logblocks; in xfs_rmapbt_calc_reserves()
|
H A D | xfs_ialloc_btree.c | 717 agblocks -= mp->m_sb.sb_logblocks; in xfs_inobt_max_size()
|
H A D | xfs_ialloc.c | 2939 first_bno += mp->m_sb.sb_logblocks; in xfs_ialloc_calc_rootino()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_mount.c | 413 d = (xfs_daddr_t)XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_check_sizes() 414 if (XFS_BB_TO_FSB(mp, d) != mp->m_sb.sb_logblocks) { in xfs_check_sizes() 807 if (XFS_IS_CORRUPT(mp, !sbp->sb_logblocks)) { in xfs_mountfs() 824 XFS_FSB_TO_BB(mp, sbp->sb_logblocks)); in xfs_mountfs()
|
H A D | xfs_fsmap.c | 443 eofs = XFS_FSB_TO_BB(mp, mp->m_sb.sb_logblocks); in xfs_getfsmap_logdev() 462 rmap.rm_blockcount = mp->m_sb.sb_logblocks; in xfs_getfsmap_logdev()
|
H A D | xfs_fsops.c | 248 if (nb == mp->m_sb.sb_logblocks && in xfs_growfs_log_private()
|
H A D | xfs_log.c | 683 if (mp->m_sb.sb_logblocks < min_logfsbs) { in xfs_log_mount() 686 mp->m_sb.sb_logblocks, min_logfsbs); in xfs_log_mount()
|
H A D | xfs_rtalloc.c | 1053 if (nrsumblocks > (mp->m_sb.sb_logblocks >> 1)) { in xfs_growfs_rt()
|
H A D | xfs_super.c | 856 lsize = sbp->sb_logstart ? sbp->sb_logblocks : 0; in xfs_fs_statfs()
|
/openbmc/linux/fs/xfs/scrub/ |
H A D | agheader.c | 164 if (sb->sb_logblocks != cpu_to_be32(mp->m_sb.sb_logblocks)) in xchk_superblock()
|
H A D | rmap.c | 406 mp->m_sb.sb_logblocks); in xchk_rmapbt_walk_ag_metadata()
|