Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_mount.c96 { offsetof(xfs_sb_t, sb_blocklog), 0 },
253 sbp->sb_blocklog < XFS_MIN_BLOCKSIZE_LOG ||
254 sbp->sb_blocklog > XFS_MAX_BLOCKSIZE_LOG ||
281 ASSERT(PAGE_SHIFT >= sbp->sb_blocklog);
282 ASSERT(sbp->sb_blocklog >= BBSHIFT);
286 (sbp->sb_dblocks >> (PAGE_SHIFT - sbp->sb_blocklog)) > ULONG_MAX ||
287 (sbp->sb_rblocks >> (PAGE_SHIFT - sbp->sb_blocklog)) > ULONG_MAX)) {
290 (sbp->sb_dblocks << (sbp->sb_blocklog - BBSHIFT)) > UINT_MAX ||
291 (sbp->sb_rblocks << (sbp->sb_blocklog - BBSHIFT)) > UINT_MAX)) {
564 mp->m_blkbit_log = sbp->sb_blocklog + XFS_NBBYLOG;
[all …]
Dxfs_dir2_leaf.h214 ((mp)->m_sb.sb_blocklog + (mp)->m_sb.sb_dirblklog)) + (o))
226 ((mp)->m_sb.sb_blocklog + (mp)->m_sb.sb_dirblklog)))
250 ((1 << ((mp)->m_sb.sb_blocklog + \
Dxfs_sb.h146 __uint8_t sb_blocklog; /* log2 of sb_blocksize */ member
577 #define XFS_FSB_TO_B(mp,fsbno) ((xfs_fsize_t)(fsbno) << (mp)->m_sb.sb_blocklog)
579 ((((__uint64_t)(b)) + (mp)->m_blockmask) >> (mp)->m_sb.sb_blocklog)
580 #define XFS_B_TO_FSBT(mp,b) (((__uint64_t)(b)) >> (mp)->m_sb.sb_blocklog)
Dxfs_rtalloc.h64 (((s) * (uint)sizeof(xfs_suminfo_t)) >> (mp)->m_sb.sb_blocklog)
Dxfs_da_btree.h108 #define XFS_LBLOG(mp) ((mp)->m_sb.sb_blocklog)
Dxfs_dir2.c133 ASSERT((1 << (mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog)) <= in xfs_dir2_mount()
135 mp->m_dirblksize = 1 << (mp->m_sb.sb_blocklog + mp->m_sb.sb_dirblklog); in xfs_dir2_mount()
Dxfs_vnodeops.c194 (mp->m_swidth << mp->m_sb.sb_blocklog) : in xfs_getattr()
224 (ip->i_d.di_extsize << mp->m_sb.sb_blocklog) : in xfs_getattr()
225 (mp->m_sb.sb_rextsize << mp->m_sb.sb_blocklog); in xfs_getattr()
262 vap->va_extsize = ip->i_d.di_extsize << mp->m_sb.sb_blocklog; in xfs_getattr()
575 ((ip->i_d.di_extsize << mp->m_sb.sb_blocklog) != in xfs_setattr()
590 ((ip->i_d.di_extsize << mp->m_sb.sb_blocklog) != in xfs_setattr()
619 mp->m_sb.sb_blocklog; in xfs_setattr()
826 mp->m_sb.sb_blocklog; in xfs_setattr()
4353 rounding = MAX((__uint8_t)(1 << mp->m_sb.sb_blocklog), in xfs_free_file_space()
Dxfs_itable.c169 buf->bs_extsize = INT_GET(dic->di_extsize, arch) << mp->m_sb.sb_blocklog; in xfs_bulkstat_one()
Dxfs_btree.c624 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_btree_init_cursor()
Dxfs_dir.c202 ASSERT(mp->m_dircook_elog <= mp->m_sb.sb_blocklog); in xfs_dir_mount()
Dxfs_ialloc.c1199 blks_per_cluster = XFS_INODE_CLUSTER_SIZE(mp) >> mp->m_sb.sb_blocklog; in xfs_dilocate()
Dxfs_bmap.c2605 args.prod = NBPP >> mp->m_sb.sb_blocklog; in xfs_bmap_alloc()