Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_dir2_leaf.h136 ((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()
Dxfs_mount.c88 { 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 …]
Dxfs_sb.h120 __uint8_t sb_blocklog; /* log2 of sb_blocksize */ member
191 __u8 sb_blocklog; /* log2 of sb_blocksize */ member
537 #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)
Dxfs_rtalloc.h48 (((s) * (uint)sizeof(xfs_suminfo_t)) >> (mp)->m_sb.sb_blocklog)
Dxfs_dir2.c98 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()
Dxfs_ialloc_btree.c322 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_inobt_init_cursor()
Dxfs_mount.h290 (mp->m_swidth << mp->m_sb.sb_blocklog) : in xfs_preferred_iosize()
Dxfs_alloc_btree.c440 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_allocbt_init_cursor()
Dxfs_itable.c116 buf->bs_extsize = dic->di_extsize << mp->m_sb.sb_blocklog; in xfs_bulkstat_one_int()
Dxfs_bmap_btree.c873 cur->bc_blocklog = mp->m_sb.sb_blocklog; in xfs_bmbt_init_cursor()
Dxfs_ialloc.c1313 blks_per_cluster = XFS_INODE_CLUSTER_SIZE(mp) >> mp->m_sb.sb_blocklog; in xfs_imap()
Dxfs_vnodeops.c2536 rounding = max_t(uint, 1 << mp->m_sb.sb_blocklog, PAGE_CACHE_SIZE); in xfs_free_file_space()
Dxfs_bmap.c2629 args.prod = PAGE_CACHE_SIZE >> mp->m_sb.sb_blocklog; in xfs_bmap_btalloc()
/linux-2.6.39/fs/xfs/linux-2.6/
Dxfs_ioctl.c802 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()
Dxfs_iops.c490 xfs_get_extsz_hint(ip) << mp->m_sb.sb_blocklog; in xfs_vn_getattr()