Lines Matching refs:agf_bp
126 if (sc->sa.agf_bp) in xrep_roll_ag_trans()
127 xfs_trans_bhold(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
145 if (sc->sa.agf_bp) in xrep_roll_ag_trans()
146 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp); in xrep_roll_ag_trans()
296 error = xfs_alloc_get_freelist(sc->tp, sc->sa.agf_bp, &bno, 1); in xrep_alloc_ag_block()
502 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.agno, agbno, 1, in xrep_put_freelist()
508 error = xfs_alloc_put_freelist(sc->tp, sc->sa.agf_bp, sc->sa.agfl_bp, in xrep_put_freelist()
527 struct xfs_buf *agf_bp = NULL; in xrep_reap_block() local
542 error = xfs_alloc_read_agf(sc->mp, sc->tp, agno, 0, &agf_bp); in xrep_reap_block()
545 if (!agf_bp) in xrep_reap_block()
548 agf_bp = sc->sa.agf_bp; in xrep_reap_block()
550 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf_bp, agno); in xrep_reap_block()
572 error = xfs_rmap_free(sc->tp, agf_bp, agno, agbno, 1, oinfo); in xrep_reap_block()
577 if (agf_bp != sc->sa.agf_bp) in xrep_reap_block()
578 xfs_trans_brelse(sc->tp, agf_bp); in xrep_reap_block()
587 if (agf_bp != sc->sa.agf_bp) in xrep_reap_block()
588 xfs_trans_brelse(sc->tp, agf_bp); in xrep_reap_block()
865 struct xfs_buf *agf_bp, in xrep_find_ag_btree_roots() argument
875 ASSERT(xfs_buf_islocked(agf_bp)); in xrep_find_ag_btree_roots()
880 ri.agf = XFS_BUF_TO_AGF(agf_bp); in xrep_find_ag_btree_roots()
889 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); in xrep_find_ag_btree_roots()