Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_sb.c259 >> sbp->sb_blocklog; in xfs_validate_sb_common()
304 sbp->sb_blocklog < XFS_MIN_BLOCKSIZE_LOG || in xfs_validate_sb_common()
305 sbp->sb_blocklog > XFS_MAX_BLOCKSIZE_LOG || in xfs_validate_sb_common()
306 sbp->sb_blocksize != (1 << sbp->sb_blocklog) || in xfs_validate_sb_common()
307 sbp->sb_dirblklog + sbp->sb_blocklog > XFS_MAX_BLOCKSIZE_LOG || in xfs_validate_sb_common()
319 (sbp->sb_blocklog - sbp->sb_inodelog != sbp->sb_inopblog) || in xfs_validate_sb_common()
508 to->sb_blocklog = from->sb_blocklog; in __xfs_sb_from_disk()
651 to->sb_blocklog = from->sb_blocklog; in xfs_sb_to_disk()
841 mp->m_blkbit_log = sbp->sb_blocklog + XFS_NBBYLOG; in xfs_sb_mount_common()
842 mp->m_blkbb_log = sbp->sb_blocklog - BBSHIFT; in xfs_sb_mount_common()
Dxfs_dir2.c114 dageo->blklog = mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog; in xfs_da_mount()
115 dageo->fsblog = mp->m_sb.sb_blocklog; in xfs_da_mount()
153 dageo->blklog = mp->m_sb.sb_blocklog; in xfs_da_mount()
154 dageo->fsblog = mp->m_sb.sb_blocklog; in xfs_da_mount()
Dxfs_format.h117 uint8_t sb_blocklog; /* log2 of sb_blocksize */ member
208 __u8 sb_blocklog; /* log2 of sb_blocksize */ member
624 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog)
626 ((((uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)
627 #define XFS_B_TO_FSBT(mp,b) (((uint64_t)(b)) >> (mp)->m_sb.sb_blocklog)
1240 (((s) * (uint)sizeof(xfs_suminfo_t)) >> (mp)->m_sb.sb_blocklog)
Dxfs_da_format.h798 return 1 << (sbp->sb_blocklog + sbp->sb_dirblklog); in xfs_dir2_dirblock_bytes()
Dxfs_refcount_btree.c330 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_refcountbt_init_common()
Dxfs_alloc_btree.c488 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_allocbt_init_common()
Dxfs_bmap_btree.c561 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_bmbt_init_cursor()
Dxfs_rmap_btree.c465 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_rmapbt_init_common()
Dxfs_inode_buf.c626 blocksize_bytes = mp->m_sb.sb_rextsize << mp->m_sb.sb_blocklog; in xfs_inode_validate_extsize()
Dxfs_ialloc_btree.c447 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_inobt_init_common()
Dxfs_bmap.c3584 args.prod = PAGE_SIZE >> mp->m_sb.sb_blocklog; in xfs_bmap_btalloc()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_mount.c164 ASSERT(PAGE_SHIFT >= sbp->sb_blocklog); in xfs_sb_validate_fsb_count()
165 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()
168 if (nblocks >> (PAGE_SHIFT - sbp->sb_blocklog) > ULONG_MAX) in xfs_sb_validate_fsb_count()
803 max_t(uint32_t, sbp->sb_blocklog, mp->m_allocsize_log); in xfs_mountfs()
804 mp->m_allocsize_blocks = 1U << (mp->m_allocsize_log - sbp->sb_blocklog); in xfs_mountfs()
Dxfs_ioctl.c1119 fa->fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog; in xfs_fill_fsxattr()
1121 ip->i_mount->m_sb.sb_blocklog; in xfs_fill_fsxattr()
1346 ((ip->i_d.di_extsize << mp->m_sb.sb_blocklog) != fa->fsx_extsize)) in xfs_ioctl_setattr_check_extsize()
1358 size = mp->m_sb.sb_rextsize << mp->m_sb.sb_blocklog; in xfs_ioctl_setattr_check_extsize()
1524 ip->i_d.di_extsize = fa->fsx_extsize >> mp->m_sb.sb_blocklog; in xfs_ioctl_setattr()
1530 mp->m_sb.sb_blocklog; in xfs_ioctl_setattr()
Dxfs_bmap_util.c915 rounding = max_t(xfs_off_t, 1 << mp->m_sb.sb_blocklog, PAGE_SIZE); in xfs_flush_unmap_range()
1023 offset = round_down(offset, 1 << mp->m_sb.sb_blocklog); in xfs_prepare_shift()
1025 offset -= (1 << mp->m_sb.sb_blocklog); in xfs_prepare_shift()
Dxfs_iops.c507 return xfs_get_extsz_hint(ip) << mp->m_sb.sb_blocklog; in xfs_stat_blksize()
524 return mp->m_swidth << mp->m_sb.sb_blocklog; in xfs_stat_blksize()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dagheader.c179 if (sb->sb_blocklog != mp->m_sb.sb_blocklog) in xchk_superblock()