Searched refs:sb_blocklog (Results 1 – 8 of 8) sorted by relevance
394 >> 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()
116 uint8_t sb_blocklog; /* log2 of sb_blocksize */ member205 __u8 sb_blocklog; /* log2 of sb_blocksize */ member462 #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)
131 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()
888 return 1 << (sbp->sb_blocklog + sbp->sb_dirblklog); in xfs_dir2_dirblock_bytes()
3039 igeo->min_folio_order = mp->m_sb.sb_blocklog - PAGE_SHIFT; in xfs_ialloc_setup_geometry()
3443 args->prod = PAGE_SIZE >> mp->m_sb.sb_blocklog; in xfs_bmap_compute_alignments()
137 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()
201 if (sb->sb_blocklog != mp->m_sb.sb_blocklog) in xchk_superblock()