Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_mount.c88 { offsetof(xfs_sb_t, sb_agcount), 0 },
172 sizeof(xfs_perag_t) * mp->m_sb.sb_agcount); in xfs_mount_free()
246 sbp->sb_agcount <= 0 ||
272 (xfs_drfsbno_t)sbp->sb_agcount * sbp->sb_agblocks ||
273 sbp->sb_dblocks < (xfs_drfsbno_t)(sbp->sb_agcount - 1) *
563 mp->m_maxagi = mp->m_sb.sb_agcount;
567 mp->m_agno_log = xfs_highbit32(sbp->sb_agcount - 1) + 1;
952 kmem_zalloc(sbp->sb_agcount * sizeof(xfs_perag_t), KM_SLEEP);
954 mp->m_maxagi = xfs_initialize_perag(mp, sbp->sb_agcount);
1054 for (agno = 0; agno < sbp->sb_agcount; agno++)
[all …]
Dxfs_itable.c282 if (agno >= mp->m_sb.sb_agcount || in xfs_bulkstat()
320 while (ubleft >= statstruct_size && agno < mp->m_sb.sb_agcount) { in xfs_bulkstat()
614 if (agno >= mp->m_sb.sb_agcount) { in xfs_bulkstat()
713 while (left > 0 && agno < mp->m_sb.sb_agcount) { in xfs_inumbers()
Dxfs_ialloc.c559 agcount = mp->m_sb.sb_agcount; in xfs_dialloc()
950 if (agno >= mp->m_sb.sb_agcount) { in xfs_difree()
953 agno, mp->m_sb.sb_agcount, mp->m_fsname); in xfs_difree()
1164 if (agno >= mp->m_sb.sb_agcount || agbno >= mp->m_sb.sb_agblocks || in xfs_dilocate()
1167 if (agno >= mp->m_sb.sb_agcount) { in xfs_dilocate()
1171 agno, mp->m_sb.sb_agcount); in xfs_dilocate()
Dxfs_alloc.c2265 ASSERT(XFS_FSB_TO_AGNO(mp, args->fsbno) < mp->m_sb.sb_agcount); in xfs_alloc_vextent()
2270 if (XFS_FSB_TO_AGNO(mp, args->fsbno) >= mp->m_sb.sb_agcount || in xfs_alloc_vextent()
2316 mp->m_sb.sb_agcount), 0); in xfs_alloc_vextent()
2333 mp->m_sb.sb_agcount; in xfs_alloc_vextent()
2382 if (++(args->agno) == mp->m_sb.sb_agcount) in xfs_alloc_vextent()
2410 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent()
2413 (mp->m_sb.sb_agcount * rotorstep); in xfs_alloc_vextent()
2459 ASSERT(args.agno < args.mp->m_sb.sb_agcount); in xfs_free_extent()
Dxfs_fsops.c78 geo->agcount = mp->m_sb.sb_agcount; in xfs_fs_geometry()
177 oagcount = mp->m_sb.sb_agcount; in xfs_growfs_data_private()
Dxfs_btree.h562 (XFS_FSB_TO_AGNO(mp, fsb) < mp->m_sb.sb_agcount && \
Dxfs_inode.h188 #define XFS_BUCKETS(mp) (37*(mp)->m_sb.sb_agcount-1)
Dxfs_sb.h138 xfs_agnumber_t sb_agcount; /* number of allocation groups */ member
Dxfs_trans.c502 INT_MOD(sbp->sb_agcount, ARCH_CONVERT, tp->t_agcount_delta); in xfs_trans_apply_sb_deltas()
Dxfs_bmap.c2171 XFS_FSB_TO_AGNO(mp, x) < mp->m_sb.sb_agcount && \ in xfs_bmap_alloc()
2565 if (++ag == mp->m_sb.sb_agcount) in xfs_bmap_alloc()
3932 ASSERT(agno < mp->m_sb.sb_agcount); in xfs_bmap_add_free()
4326 ASSERT(XFS_FSB_TO_AGNO(mp, INT_GET(*pp, ARCH_CONVERT)) < mp->m_sb.sb_agcount); in xfs_bmap_read_extents()
5977 ASSERT(XFS_FSB_TO_AGNO(mp, INT_GET(*pp, ARCH_CONVERT)) < mp->m_sb.sb_agcount); in xfs_bmap_check_leaf_extents()
6140 ASSERT(XFS_FSB_TO_AGNO(mp, INT_GET(*pp, ARCH_CONVERT)) < mp->m_sb.sb_agcount); in xfs_bmap_count_blocks()
Dxfs_log_recover.c3236 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xlog_recover_process_iunlinks()
4035 for (agno = 0; agno < mp->m_sb.sb_agcount; agno++) { in xlog_recover_check_summary()
Dxfs_dir_leaf.c126 agno < mp->m_sb.sb_agcount && in xfs_dir_ino_validate()