Lines Matching refs:agno

43 	xfs_agnumber_t		agno;  in xrep_superblock()  local
47 agno = sc->sm->sm_agno; in xrep_superblock()
48 if (agno == 0) in xrep_superblock()
51 error = xfs_sb_get_secondary(mp, sc->tp, agno, &bp); in xrep_superblock()
101 if (!xfs_verify_agbno(mp, sc->sa.agno, agbno)) in xrep_agf_check_agfl_block()
126 xfs_agnumber_t agno = sc->sm->sm_agno; in xrep_check_btree_root() local
128 return xfs_verify_agbno(mp, agno, fab->root) && in xrep_check_btree_root()
195 agf->agf_seqno = cpu_to_be32(sc->sa.agno); in xrep_agf_init_header()
196 agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agf_init_header()
253 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, in xrep_agf_calc_from_btrees()
267 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, in xrep_agf_calc_from_btrees()
276 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); in xrep_agf_calc_from_btrees()
289 sc->sa.agno); in xrep_agf_calc_from_btrees()
383 XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGF_DADDR(mp)), in xrep_agf()
399 error = xfs_alloc_read_agfl(mp, sc->tp, sc->sa.agno, &agfl_bp); in xrep_agf()
465 fsb = XFS_AGB_TO_FSB(cur->bc_mp, cur->bc_private.a.agno, in xrep_agfl_walk_rmap()
503 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); in xrep_agfl_collect_blocks()
510 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, in xrep_agfl_collect_blocks()
518 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, in xrep_agfl_collect_blocks()
605 agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); in xrep_agfl_init_header()
618 trace_xrep_agfl_insert(mp, sc->sa.agno, agbno, br->len); in xrep_agfl_init_header()
669 error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp); in xrep_agfl()
680 XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGFL_DADDR(mp)), in xrep_agfl()
745 error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp); in xrep_agi_find_btrees()
785 agi->agi_seqno = cpu_to_be32(sc->sa.agno); in xrep_agi_init_header()
786 agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agi_init_header()
830 cur = xfs_inobt_init_cursor(mp, sc->tp, agi_bp, sc->sa.agno, in xrep_agi_calc_from_btrees()
906 XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGI_DADDR(mp)), in xrep_agi()