Home
last modified time | relevance | path

Searched refs:sb_blocklog (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/fs/xfs/libxfs/
Dxfs_sb.c394 >> sbp->sb_blocklog; in xfs_validate_sb_common()
445 sbp->sb_blocklog < XFS_MIN_BLOCKSIZE_LOG || in xfs_validate_sb_common()
446 sbp->sb_blocklog > XFS_MAX_BLOCKSIZE_LOG || in xfs_validate_sb_common()
447 sbp->sb_blocksize != (1 << sbp->sb_blocklog) || in xfs_validate_sb_common()
448 sbp->sb_dirblklog + sbp->sb_blocklog > XFS_MAX_BLOCKSIZE_LOG || in xfs_validate_sb_common()
459 (sbp->sb_blocklog - sbp->sb_inodelog != sbp->sb_inopblog) || in xfs_validate_sb_common()
644 to->sb_blocklog = from->sb_blocklog; in __xfs_sb_from_disk()
793 to->sb_blocklog = from->sb_blocklog; in xfs_sb_to_disk()
994 mp->m_blkbit_log = sbp->sb_blocklog + XFS_NBBYLOG; in xfs_sb_mount_common()
995 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT; in xfs_sb_mount_common()
Dxfs_format.h116 uint8_t sb_blocklog; /* log2 of sb_blocksize */ member
205 __u8 sb_blocklog; /* log2 of sb_blocksize */ member
462 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog)
464 ((((uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)
465 #define XFS_B_TO_FSBT(mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog)
Dxfs_dir2.c131 dageo->blklog = mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog; in xfs_da_mount()
132 dageo->fsblog = mp->m_sb.sb_blocklog; in xfs_da_mount()
167 mp->m_sb.sb_blocklog; in xfs_da_mount()
172 dageo->blklog = mp->m_sb.sb_blocklog; in xfs_da_mount()
173 dageo->fsblog = mp->m_sb.sb_blocklog; in xfs_da_mount()
Dxfs_da_format.h888 return 1 << (sbp->sb_blocklog + sbp->sb_dirblklog); in xfs_dir2_dirblock_bytes()
Dxfs_ialloc.c3039 igeo->min_folio_order = mp->m_sb.sb_blocklog - PAGE_SHIFT; in xfs_ialloc_setup_geometry()
Dxfs_bmap.c3443 args->prod = PAGE_SIZE >> mp->m_sb.sb_blocklog; in xfs_bmap_compute_alignments()
/linux-6.12.1/fs/xfs/
Dxfs_mount.c137 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()
139 if (check_shl_overflow(nblocks, sbp->sb_blocklog, &max_bytes)) in xfs_sb_validate_fsb_count()
752 max_t(uint32_t, sbp->sb_blocklog, mp->m_allocsize_log); in xfs_mountfs()
753 mp->m_allocsize_blocks = 1U << (mp->m_allocsize_log - sbp->sb_blocklog); in xfs_mountfs()
/linux-6.12.1/fs/xfs/scrub/
Dagheader.c201 if (sb->sb_blocklog != mp->m_sb.sb_blocklog) in xchk_superblock()