Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_ag.c446 arec->ar_blockcount = cpu_to_be32(id->agsize - in xfs_freesp_init_recs()
581 agf->agf_length = cpu_to_be32(id->agsize); in xfs_agfblock_init()
596 tmpsize = id->agsize - mp->m_ag_prealloc_blocks; in xfs_agfblock_init()
612 agf->agf_longest = cpu_to_be32(id->agsize - in xfs_agfblock_init()
650 agi->agi_length = cpu_to_be32(id->agsize); in xfs_agiblock_init()
802 id->nfree += id->agsize - mp->m_ag_prealloc_blocks; in xfs_ag_init_headers()
Dxfs_ag.h225 xfs_extlen_t agsize; /* new AG size */ member
Dxfs_alloc.c3159 xfs_agblock_t agsize; /* allocation group size */ in xfs_alloc_vextent() local
3176 agsize = mp->m_sb.sb_agblocks; in xfs_alloc_vextent()
3177 if (args->maxlen > agsize) in xfs_alloc_vextent()
3178 args->maxlen = agsize; in xfs_alloc_vextent()
3182 ASSERT(XFS_FSB_TO_AGBNO(mp, args->fsbno) < agsize); in xfs_alloc_vextent()
3184 ASSERT(args->minlen <= agsize); in xfs_alloc_vextent()
3187 XFS_FSB_TO_AGBNO(mp, args->fsbno) >= agsize || in xfs_alloc_vextent()
3188 args->minlen > args->maxlen || args->minlen > agsize || in xfs_alloc_vextent()
/fs/xfs/
Dxfs_fsops.c56 id->agno--, delta -= id->agsize) { in xfs_resizefs_init_new_ags()
59 id->agsize = nb - (id->agno * in xfs_resizefs_init_new_ags()
62 id->agsize = mp->m_sb.sb_agblocks; in xfs_resizefs_init_new_ags()