Lines Matching refs:agno
54 xfs_btree_init_block(mp, bp, id->type, 0, 0, id->agno, 0); in xfs_btroot_init()
68 xfs_btree_init_block(mp, bp, XFS_BTNUM_BNO, 0, 1, id->agno, 0); in xfs_bnoroot_init()
83 xfs_btree_init_block(mp, bp, XFS_BTNUM_CNT, 0, 1, id->agno, 0); in xfs_cntroot_init()
102 xfs_btree_init_block(mp, bp, XFS_BTNUM_RMAP, 0, 4, id->agno, 0); in xfs_rmaproot_init()
183 agf->agf_seqno = cpu_to_be32(id->agno); in xfs_agfblock_init()
224 agfl->agfl_seqno = cpu_to_be32(id->agno); in xfs_agflblock_init()
244 agi->agi_seqno = cpu_to_be32(id->agno); in xfs_agiblock_init()
312 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_SB_DADDR), in xfs_ag_init_headers()
319 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGF_DADDR(mp)), in xfs_ag_init_headers()
326 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGFL_DADDR(mp)), in xfs_ag_init_headers()
333 .daddr = XFS_AG_DADDR(mp, id->agno, XFS_AGI_DADDR(mp)), in xfs_ag_init_headers()
340 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_BNO_BLOCK(mp)), in xfs_ag_init_headers()
347 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_CNT_BLOCK(mp)), in xfs_ag_init_headers()
354 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_IBT_BLOCK(mp)), in xfs_ag_init_headers()
362 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_FIBT_BLOCK(mp)), in xfs_ag_init_headers()
370 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, XFS_RMAP_BLOCK(mp)), in xfs_ag_init_headers()
377 .daddr = XFS_AGB_TO_DADDR(mp, id->agno, xfs_refc_block(mp)), in xfs_ag_init_headers()
426 error = xfs_ialloc_read_agi(mp, tp, id->agno, &bp); in xfs_ag_extend_space()
432 ASSERT(id->agno == mp->m_sb.sb_agcount - 1 || in xfs_ag_extend_space()
439 error = xfs_alloc_read_agf(mp, tp, id->agno, 0, &bp); in xfs_ag_extend_space()
455 error = xfs_rmap_free(tp, bp, id->agno, in xfs_ag_extend_space()
461 return xfs_free_extent(tp, XFS_AGB_TO_FSB(mp, id->agno, in xfs_ag_extend_space()