Lines Matching defs:agf_bp
126 if (sc->sa.agf_bp)
127 xfs_trans_bhold(sc->tp, sc->sa.agf_bp);
145 if (sc->sa.agf_bp)
146 xfs_trans_bjoin(sc->tp, sc->sa.agf_bp);
298 error = xfs_alloc_get_freelist(sc->tp, sc->sa.agf_bp, &bno, 1);
508 error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.agno, agbno, 1,
514 error = xfs_alloc_put_freelist(sc->tp, sc->sa.agf_bp, sc->sa.agfl_bp,
533 struct xfs_buf *agf_bp = NULL;
548 error = xfs_alloc_read_agf(sc->mp, sc->tp, agno, 0, &agf_bp);
552 agf_bp = sc->sa.agf_bp;
554 cur = xfs_rmapbt_init_cursor(sc->mp, sc->tp, agf_bp, agno);
576 error = xfs_rmap_free(sc->tp, agf_bp, agno, agbno, 1, oinfo);
581 if (agf_bp != sc->sa.agf_bp)
582 xfs_trans_brelse(sc->tp, agf_bp);
591 if (agf_bp != sc->sa.agf_bp)
592 xfs_trans_brelse(sc->tp, agf_bp);
867 struct xfs_buf *agf_bp,
877 ASSERT(xfs_buf_islocked(agf_bp));
882 ri.agf = agf_bp->b_addr;
891 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno);