sb_agblocks       505 fs/xfs/libxfs/xfs_ag.c 	       be32_to_cpu(agi->agi_length) == mp->m_sb.sb_agblocks);
sb_agblocks       136 fs/xfs/libxfs/xfs_alloc.c 	return mp->m_sb.sb_agblocks - blocks;
sb_agblocks       582 fs/xfs/libxfs/xfs_alloc.c 		    be32_to_cpu(agfl->agfl_bno[i]) >= mp->m_sb.sb_agblocks)
sb_agblocks      1123 fs/xfs/libxfs/xfs_alloc.c 		args->max_agbno = args->mp->m_sb.sb_agblocks - 1;
sb_agblocks      1955 fs/xfs/libxfs/xfs_alloc.c 			(mp->m_sb.sb_agblocks + 1) / 2);
sb_agblocks      2798 fs/xfs/libxfs/xfs_alloc.c 	agsize = mp->m_sb.sb_agblocks;
sb_agblocks      3041 fs/xfs/libxfs/xfs_alloc.c 	XFS_WANT_CORRUPTED_GOTO(mp, agbno < mp->m_sb.sb_agblocks, err);
sb_agblocks       356 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks);
sb_agblocks       550 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(agbno < mp->m_sb.sb_agblocks);
sb_agblocks       551 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(len < mp->m_sb.sb_agblocks);
sb_agblocks       552 fs/xfs/libxfs/xfs_bmap.c 	ASSERT(agbno + len <= mp->m_sb.sb_agblocks);
sb_agblocks      3056 fs/xfs/libxfs/xfs_bmap.c 		XFS_FSB_TO_AGBNO(mp, x) < mp->m_sb.sb_agblocks)
sb_agblocks       108 fs/xfs/libxfs/xfs_format.h 	xfs_agblock_t	sb_agblocks;	/* size of an allocation group */
sb_agblocks       199 fs/xfs/libxfs/xfs_format.h 	__be32		sb_agblocks;	/* size of an allocation group */
sb_agblocks       812 fs/xfs/libxfs/xfs_format.h 		(xfs_fsblock_t)(agno) * (mp)->m_sb.sb_agblocks + (agbno)))
sb_agblocks       275 fs/xfs/libxfs/xfs_fs.h #define XFS_MAX_DBLOCKS(s) ((xfs_rfsblock_t)(s)->sb_agcount * (s)->sb_agblocks)
sb_agblocks       277 fs/xfs/libxfs/xfs_fs.h 			 (s)->sb_agblocks + XFS_MIN_AG_BLOCKS)
sb_agblocks       776 fs/xfs/libxfs/xfs_ialloc.c 		args.max_agbno = round_down(args.mp->m_sb.sb_agblocks,
sb_agblocks      2167 fs/xfs/libxfs/xfs_ialloc.c 	if (agbno >= mp->m_sb.sb_agblocks)  {
sb_agblocks      2169 fs/xfs/libxfs/xfs_ialloc.c 			__func__, agbno, mp->m_sb.sb_agblocks);
sb_agblocks      2293 fs/xfs/libxfs/xfs_ialloc.c 	if (agno >= mp->m_sb.sb_agcount || agbno >= mp->m_sb.sb_agblocks ||
sb_agblocks      2307 fs/xfs/libxfs/xfs_ialloc.c 		if (agbno >= mp->m_sb.sb_agblocks) {
sb_agblocks      2311 fs/xfs/libxfs/xfs_ialloc.c 				(unsigned long)mp->m_sb.sb_agblocks);
sb_agblocks       772 fs/xfs/libxfs/xfs_inode_buf.c 	if (!rt_flag && extsize > mp->m_sb.sb_agblocks / 2)
sb_agblocks       822 fs/xfs/libxfs/xfs_inode_buf.c 	if (cowextsize > mp->m_sb.sb_agblocks / 2)
sb_agblocks       889 fs/xfs/libxfs/xfs_refcount.c 			ext.rc_startblock = cur->bc_mp->m_sb.sb_agblocks;
sb_agblocks      1407 fs/xfs/libxfs/xfs_refcount.c 		ext.rc_startblock = cur->bc_mp->m_sb.sb_agblocks +
sb_agblocks      1621 fs/xfs/libxfs/xfs_refcount.c 	if (mp->m_sb.sb_agblocks >= XFS_REFC_COW_START)
sb_agblocks       371 fs/xfs/libxfs/xfs_refcount_btree.c 			mp->m_refc_mnr, mp->m_sb.sb_agblocks);
sb_agblocks       521 fs/xfs/libxfs/xfs_rmap_btree.c 				mp->m_rmap_mnr, mp->m_sb.sb_agblocks);
sb_agblocks       284 fs/xfs/libxfs/xfs_sb.c 	if (sbp->sb_agblocks) {
sb_agblocks       285 fs/xfs/libxfs/xfs_sb.c 		agcount = div_u64_rem(sbp->sb_dblocks, sbp->sb_agblocks, &rem);
sb_agblocks       314 fs/xfs/libxfs/xfs_sb.c 	    XFS_FSB_TO_B(mp, sbp->sb_agblocks) < XFS_MIN_AG_BYTES	||
sb_agblocks       315 fs/xfs/libxfs/xfs_sb.c 	    XFS_FSB_TO_B(mp, sbp->sb_agblocks) > XFS_MAX_AG_BYTES	||
sb_agblocks       316 fs/xfs/libxfs/xfs_sb.c 	    sbp->sb_agblklog != xfs_highbit32(sbp->sb_agblocks - 1) + 1	||
sb_agblocks       466 fs/xfs/libxfs/xfs_sb.c 	to->sb_agblocks = be32_to_cpu(from->sb_agblocks);
sb_agblocks       609 fs/xfs/libxfs/xfs_sb.c 	to->sb_agblocks = cpu_to_be32(from->sb_agblocks);
sb_agblocks      1079 fs/xfs/libxfs/xfs_sb.c 	geo->agblocks = sbp->sb_agblocks;
sb_agblocks        24 fs/xfs/libxfs/xfs_types.c 		return mp->m_sb.sb_agblocks;
sb_agblocks        25 fs/xfs/libxfs/xfs_types.c 	return mp->m_sb.sb_dblocks - (agno * mp->m_sb.sb_agblocks);
sb_agblocks       133 fs/xfs/scrub/agheader.c 	if (sb->sb_agblocks != cpu_to_be32(mp->m_sb.sb_agblocks))
sb_agblocks       484 fs/xfs/xfs_bmap_item.c 	    bmap->me_len >= mp->m_sb.sb_agblocks ||
sb_agblocks       380 fs/xfs/xfs_bmap_util.c 		ASSERT(XFS_FSB_TO_AGBNO(mp, bno) < mp->m_sb.sb_agblocks);
sb_agblocks       620 fs/xfs/xfs_extfree_item.c 		    extp->ext_len >= mp->m_sb.sb_agblocks) {
sb_agblocks       146 fs/xfs/xfs_filestream.c 	minfree = mp->m_sb.sb_agblocks / 50;
sb_agblocks        54 fs/xfs/xfs_fsops.c 	nb_mod = do_div(new, mp->m_sb.sb_agblocks);
sb_agblocks        58 fs/xfs/xfs_fsops.c 		nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks;
sb_agblocks        96 fs/xfs/xfs_fsops.c 				(id.agno * (xfs_rfsblock_t)mp->m_sb.sb_agblocks);
sb_agblocks        98 fs/xfs/xfs_fsops.c 			id.agsize = mp->m_sb.sb_agblocks;
sb_agblocks      1450 fs/xfs/xfs_ioctl.c 		if (extsize_fsb > mp->m_sb.sb_agblocks / 2)
sb_agblocks      1499 fs/xfs/xfs_ioctl.c 	if (cowextsize_fsb > mp->m_sb.sb_agblocks / 2)
sb_agblocks      3800 fs/xfs/xfs_log_recover.c 	if (!agbno || agbno == NULLAGBLOCK || agbno >= mp->m_sb.sb_agblocks) {
sb_agblocks      3815 fs/xfs/xfs_log_recover.c 	if (!length || length >= mp->m_sb.sb_agblocks) {
sb_agblocks       386 fs/xfs/xfs_mount.c 			if (mp->m_dalign && (sbp->sb_agblocks % mp->m_dalign)) {
sb_agblocks       389 fs/xfs/xfs_mount.c 					 sbp->sb_agblocks);
sb_agblocks       318 fs/xfs/xfs_mount.h 	do_div(ld, mp->m_sb.sb_agblocks);
sb_agblocks       326 fs/xfs/xfs_mount.h 	return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks);
sb_agblocks       492 fs/xfs/xfs_refcount_item.c 		    refc->pe_len >= mp->m_sb.sb_agblocks ||
sb_agblocks       534 fs/xfs/xfs_rmap_item.c 		    rmap->me_len >= mp->m_sb.sb_agblocks ||
sb_agblocks       577 fs/xfs/xfs_super.c 		icount += sbp->sb_agblocks - 1;
sb_agblocks       578 fs/xfs/xfs_super.c 		do_div(icount, sbp->sb_agblocks);
sb_agblocks       585 fs/xfs/xfs_super.c 	agino =	XFS_AGB_TO_AGINO(mp, sbp->sb_agblocks - 1);