Searched refs:agsize (Results 1 – 2 of 2) sorted by relevance
126 xfs_extlen_t agsize; in xfs_growfs_data_private() local191 for (agno = nagcount - 1; agno >= oagcount; agno--, new -= agsize) { in xfs_growfs_data_private()204 agsize = in xfs_growfs_data_private()208 agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private()209 agf->agf_length = cpu_to_be32(agsize); in xfs_growfs_data_private()217 tmpsize = agsize - XFS_PREALLOC_BLOCKS(mp); in xfs_growfs_data_private()235 agi->agi_length = cpu_to_be32(agsize); in xfs_growfs_data_private()264 agsize - be32_to_cpu(arec->ar_startblock)); in xfs_growfs_data_private()285 agsize - be32_to_cpu(arec->ar_startblock)); in xfs_growfs_data_private()
2352 xfs_agblock_t agsize; /* allocation group size */ in xfs_alloc_vextent() local2371 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent()2372 if (args->maxlen > agsize) in xfs_alloc_vextent()2373 args->maxlen = agsize; in xfs_alloc_vextent()2377 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); in xfs_alloc_vextent()2379 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()2382 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || in xfs_alloc_vextent()2383 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()