Searched refs:agsize (Results 1 – 2 of 2) sorted by relevance
152 xfs_extlen_t agsize; in xfs_growfs_data_private() local216 for (agno = nagcount - 1; agno >= oagcount; agno--, new -= agsize) { in xfs_growfs_data_private()236 agsize = in xfs_growfs_data_private()240 agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private()241 agf->agf_length = cpu_to_be32(agsize); in xfs_growfs_data_private()249 tmpsize = agsize - XFS_PREALLOC_BLOCKS(mp); in xfs_growfs_data_private()304 agi->agi_length = cpu_to_be32(agsize); in xfs_growfs_data_private()348 agsize - be32_to_cpu(arec->ar_startblock)); in xfs_growfs_data_private()377 agsize - be32_to_cpu(arec->ar_startblock)); in xfs_growfs_data_private()
2378 xfs_agblock_t agsize; /* allocation group size */ in xfs_alloc_vextent() local2397 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent()2398 if (args->maxlen > agsize) in xfs_alloc_vextent()2399 args->maxlen = agsize; in xfs_alloc_vextent()2403 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); in xfs_alloc_vextent()2405 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()2408 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || in xfs_alloc_vextent()2409 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()