Home
last modified time | relevance | path

Searched refs:sb_rextsize (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_rtalloc.c1954 (sbp->sb_rblocks && (in->extsize != sbp->sb_rextsize))) in xfs_growfs_rt()
2019 nsbp->sb_rextsize = in->extsize; in xfs_growfs_rt()
2024 nsbp->sb_blocksize * nsbp->sb_rextsize); in xfs_growfs_rt()
2026 do_div(nsbp->sb_rextents, nsbp->sb_rextsize); in xfs_growfs_rt()
2081 if (nsbp->sb_rextsize != sbp->sb_rextsize) in xfs_growfs_rt()
2083 nsbp->sb_rextsize - sbp->sb_rextsize); in xfs_growfs_rt()
Dxfs_mount.c86 { offsetof(xfs_sb_t, sb_rextsize), 0 },
257 (sbp->sb_rextsize * sbp->sb_blocksize > XFS_MAX_RTEXTSIZE) ||
258 (sbp->sb_rextsize * sbp->sb_blocksize < XFS_MIN_RTEXTSIZE) ||
1361 scounter = mp->m_sb.sb_rextsize;
1367 mp->m_sb.sb_rextsize = scounter;
Dxfs_bmap.c2197 extsz = mp->m_sb.sb_rextsize; in xfs_bmap_alloc()
2198 prod = extsz / mp->m_sb.sb_rextsize; in xfs_bmap_alloc()
2259 if ((temp = (ap->alen % mp->m_sb.sb_rextsize))) { in xfs_bmap_alloc()
2286 ap->alen -= ap->alen % mp->m_sb.sb_rextsize; in xfs_bmap_alloc()
2294 ASSERT(ap->alen % mp->m_sb.sb_rextsize == 0); in xfs_bmap_alloc()
2304 ralen = ap->alen / mp->m_sb.sb_rextsize; in xfs_bmap_alloc()
2312 if (ralen * mp->m_sb.sb_rextsize >= MAXEXTLEN) in xfs_bmap_alloc()
2313 ralen = MAXEXTLEN / mp->m_sb.sb_rextsize; in xfs_bmap_alloc()
2322 ap->rval = rtx * mp->m_sb.sb_rextsize; in xfs_bmap_alloc()
2477 do_div(ap->rval, mp->m_sb.sb_rextsize); in xfs_bmap_alloc()
[all …]
Dxfs_vnodeops.c225 (mp->m_sb.sb_rextsize << mp->m_sb.sb_blocklog); in xfs_getattr()
618 size = mp->m_sb.sb_rextsize << in xfs_setattr()
634 (mp->m_sb.sb_rextsize == 0) || in xfs_setattr()
635 (ip->i_d.di_extsize % mp->m_sb.sb_rextsize)) { in xfs_setattr()
4069 rtextsize = mp->m_sb.sb_rextsize; in xfs_alloc_file_space()
4120 numrtextents = (int)(e - s) / mp->m_sb.sb_rextsize; in xfs_alloc_file_space()
4378 mod = do_div(block, mp->m_sb.sb_rextsize); in xfs_free_file_space()
4380 startoffset_fsb += mp->m_sb.sb_rextsize - mod; in xfs_free_file_space()
4391 if (mod && (mod != mp->m_sb.sb_rextsize)) in xfs_free_file_space()
Dxfs_iomap.c434 sbrtextsize = mp->m_sb.sb_rextsize; in xfs_iomap_write_direct()
692 new_last_fsb = roundup_64(last_fsb, mp->m_sb.sb_rextsize); in xfs_iomap_write_delay()
Dxfs_sb.h136 xfs_agblock_t sb_rextsize; /* realtime extent size, blocks */ member
Dxfs_fsops.c76 geo->rtextsize = mp->m_sb.sb_rextsize; in xfs_fs_geometry()
Dxfs_trans.c510 INT_MOD(sbp->sb_rextsize, ARCH_CONVERT, tp->t_rextsize_delta); in xfs_trans_apply_sb_deltas()