Home
last modified time | relevance | path

Searched refs:sb_agblocks (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_fsops.c77 geo->agblocks = mp->m_sb.sb_agblocks; in xfs_fs_geometry()
168 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
172 nb = nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
213 (agno * (xfs_rfsblock_t)mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
215 agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
340 mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
Dxfs_mount.h66 ((xfs_agnumber_t)(XFS_BB_TO_FSBT(mp, d) / (mp)->m_sb.sb_agblocks))
68 ((xfs_agblock_t)(XFS_BB_TO_FSBT(mp, d) % (mp)->m_sb.sb_agblocks))
507 do_div(d, mp->m_sb.sb_agblocks); in XFS_DADDR_TO_AGNO()
520 return (xfs_agblock_t) do_div(d, mp->m_sb.sb_agblocks); in XFS_DADDR_TO_AGBNO()
Dxfs_mount.c87 { offsetof(xfs_sb_t, sb_agblocks), 0 },
272 (xfs_drfsbno_t)sbp->sb_agcount * sbp->sb_agblocks ||
274 sbp->sb_agblocks + XFS_MIN_AG_BLOCKS)) {
332 agino = XFS_OFFBNO_TO_AGINO(mp, sbp->sb_agblocks - 1, 0);
354 icount += sbp->sb_agblocks - 1;
684 if (mp->m_dalign && (sbp->sb_agblocks % mp->m_dalign)) {
692 sbp->sb_agblocks);
Dxfs_ialloc.c966 if (agbno >= mp->m_sb.sb_agblocks) { in xfs_difree()
969 agbno, mp->m_sb.sb_agblocks, mp->m_fsname); in xfs_difree()
1164 if (agno >= mp->m_sb.sb_agcount || agbno >= mp->m_sb.sb_agblocks || in xfs_dilocate()
1173 if (agbno >= mp->m_sb.sb_agblocks) { in xfs_dilocate()
1178 (unsigned long) mp->m_sb.sb_agblocks); in xfs_dilocate()
Dxfs_ag.h295 (xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno))))
Dxfs_btree.h563 XFS_FSB_TO_AGBNO(mp, fsb) < mp->m_sb.sb_agblocks)
Dxfs_sb.h137 xfs_agblock_t sb_agblocks; /* size of an allocation group */ member
Dxfs_bmap.c2172 XFS_FSB_TO_AGBNO(mp, x) < mp->m_sb.sb_agblocks) in xfs_bmap_alloc()
2530 args.maxlen = MIN(ap->alen, mp->m_sb.sb_agblocks); in xfs_bmap_alloc()
3933 ASSERT(agbno < mp->m_sb.sb_agblocks); in xfs_bmap_add_free()
3934 ASSERT(len < mp->m_sb.sb_agblocks); in xfs_bmap_add_free()
3935 ASSERT(agbno + len <= mp->m_sb.sb_agblocks); in xfs_bmap_add_free()
4327 ASSERT(XFS_FSB_TO_AGBNO(mp, INT_GET(*pp, ARCH_CONVERT)) < mp->m_sb.sb_agblocks); in xfs_bmap_read_extents()
5978 ASSERT(XFS_FSB_TO_AGBNO(mp, INT_GET(*pp, ARCH_CONVERT)) < mp->m_sb.sb_agblocks); in xfs_bmap_check_leaf_extents()
6141 ASSERT(XFS_FSB_TO_AGBNO(mp, INT_GET(*pp, ARCH_CONVERT)) < mp->m_sb.sb_agblocks); in xfs_bmap_count_blocks()
Dxfs_alloc.c1820 maxleafents = (mp->m_sb.sb_agblocks + 1) / 2; in xfs_alloc_compute_maxlevels()
2260 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent()
Dxfs_dir_leaf.c127 agblkno < mp->m_sb.sb_agblocks && in xfs_dir_ino_validate()
Dxfs_log_recover.c3046 (extp->ext_len >= mp->m_sb.sb_agblocks)) { in xlog_recover_process_efi()