Home
last modified time | relevance | path

Searched refs:agsize (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_ag.c117 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
252 agf->agf_length = cpu_to_be32(id->agsize); in xfs_agfblock_init()
267 tmpsize = id->agsize - mp->m_ag_prealloc_blocks; in xfs_agfblock_init()
283 agf->agf_longest = cpu_to_be32(id->agsize - in xfs_agfblock_init()
321 agi->agi_length = cpu_to_be32(id->agsize); in xfs_agiblock_init()
473 id->nfree += id->agsize - mp->m_ag_prealloc_blocks; in xfs_ag_init_headers()
Dxfs_ag.h16 xfs_extlen_t agsize; /* new AG size */ member
Dxfs_alloc.c3044 xfs_agblock_t agsize; /* allocation group size */ in xfs_alloc_vextent() local
3061 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent()
3062 if (args->maxlen > agsize) in xfs_alloc_vextent()
3063 args->maxlen = agsize; in xfs_alloc_vextent()
3067 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); in xfs_alloc_vextent()
3069 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()
3072 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || in xfs_alloc_vextent()
3073 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()
/Linux-v5.10/fs/xfs/
Dxfs_fsops.c92 id.agno--, new -= id.agsize) { in xfs_growfs_data_private()
95 id.agsize = nb - in xfs_growfs_data_private()
98 id.agsize = mp->m_sb.sb_agblocks; in xfs_growfs_data_private()