Searched refs:agsize (Results 1 – 2 of 2) sorted by relevance
136 xfs_extlen_t agsize; in xfs_growfs_data_private() local198 for (agno = nagcount - 1; agno >= oagcount; agno--, new -= agsize) { in xfs_growfs_data_private()211 agsize = in xfs_growfs_data_private()215 agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private()216 INT_SET(agf->agf_length, ARCH_CONVERT, agsize); in xfs_growfs_data_private()226 tmpsize = agsize - XFS_PREALLOC_BLOCKS(mp); in xfs_growfs_data_private()244 INT_SET(agi->agi_length, ARCH_CONVERT, agsize); in xfs_growfs_data_private()276 agsize - INT_GET(arec->ar_startblock, ARCH_CONVERT)); in xfs_growfs_data_private()299 agsize - INT_GET(arec->ar_startblock, ARCH_CONVERT)); in xfs_growfs_data_private()
2238 xfs_agblock_t agsize; /* allocation group size */ in xfs_alloc_vextent() local2260 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent()2261 if (args->maxlen > agsize) in xfs_alloc_vextent()2262 args->maxlen = agsize; in xfs_alloc_vextent()2266 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); in xfs_alloc_vextent()2268 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()2271 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || in xfs_alloc_vextent()2272 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()