Searched refs:sb_blocklog (Results 1 – 15 of 15) sorted by relevance
136 ((mp)->m_sb.sb_blocklog + (mp)->m_sb.sb_dirblklog)); in xfs_dir2_byte_to_db()155 ((1 << ((mp)->m_sb.sb_blocklog + (mp)->m_sb.sb_dirblklog)) - 1)); in xfs_dir2_byte_to_off()175 ((mp)->m_sb.sb_blocklog + (mp)->m_sb.sb_dirblklog)) + (o); in xfs_dir2_db_off_to_byte()
88 { offsetof(xfs_sb_t, sb_blocklog), 0 },289 ASSERT(PAGE_SHIFT >= sbp->sb_blocklog); in xfs_sb_validate_fsb_count()290 ASSERT(sbp->sb_blocklog >= BBSHIFT); in xfs_sb_validate_fsb_count()293 if (nblocks >> (PAGE_CACHE_SHIFT - sbp->sb_blocklog) > ULONG_MAX) in xfs_sb_validate_fsb_count()296 if (nblocks << (sbp->sb_blocklog - BBSHIFT) > UINT_MAX) in xfs_sb_validate_fsb_count()363 sbp->sb_blocklog < XFS_MIN_BLOCKSIZE_LOG || in xfs_mount_validate_sb()364 sbp->sb_blocklog > XFS_MAX_BLOCKSIZE_LOG || in xfs_mount_validate_sb()365 sbp->sb_blocksize != (1 << sbp->sb_blocklog) || in xfs_mount_validate_sb()371 (sbp->sb_blocklog - sbp->sb_inodelog != sbp->sb_inopblog) || in xfs_mount_validate_sb()592 to->sb_blocklog = from->sb_blocklog; in xfs_sb_from_disk()[all …]
120 __uint8_t sb_blocklog; /* log2 of sb_blocksize */ member191 __u8 sb_blocklog; /* log2 of sb_blocksize */ member537 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog)539 ((((__uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)540 #define XFS_B_TO_FSBT(mp,b) (((__uint64_t)(b)) >> (mp)->m_sb.sb_blocklog)
48 (((s) * (uint)sizeof(xfs_suminfo_t)) >> (mp)->m_sb.sb_blocklog)
98 ASSERT((1 << (mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog)) <= in xfs_dir_mount()100 mp->m_dirblksize = 1 << (mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog); in xfs_dir_mount()
322 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_inobt_init_cursor()
290 (mp->m_swidth << mp->m_sb.sb_blocklog) : in xfs_preferred_iosize()
440 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_allocbt_init_cursor()
116 buf->bs_extsize = dic->di_extsize << mp->m_sb.sb_blocklog; in xfs_bulkstat_one_int()
873 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_bmbt_init_cursor()
1313 blks_per_cluster = XFS_INODE_CLUSTER_SIZE(mp) >> mp->m_sb.sb_blocklog; in xfs_imap()
2536 rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, PAGE_CACHE_SIZE); in xfs_free_file_space()
2629 args.prod = PAGE_CACHE_SIZE >> mp->m_sb.sb_blocklog; in xfs_bmap_btalloc()
802 fa.fsx_extsize = ip->i_d.di_extsize << ip->i_mount->m_sb.sb_blocklog; in xfs_ioc_fsgetxattr()989 ((ip->i_d.di_extsize << mp->m_sb.sb_blocklog) != in xfs_ioctl_setattr()1018 mp->m_sb.sb_blocklog; in xfs_ioctl_setattr()1111 ip->i_d.di_extsize = fa->fsx_extsize >> mp->m_sb.sb_blocklog; in xfs_ioctl_setattr()
490 xfs_get_extsz_hint(ip) << mp->m_sb.sb_blocklog; in xfs_vn_getattr()