Lines Matching defs:agf_bp

155 	struct xfs_buf			*agf_bp,
159 struct xfs_agf *old_agf = agf_bp->b_addr;
163 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, agfl_bp);
195 struct xfs_buf *agf_bp,
200 struct xfs_agf *agf = agf_bp->b_addr;
203 memset(agf, 0, BBTOB(agf_bp->b_length));
247 struct xfs_buf *agf_bp)
251 struct xfs_agf *agf = agf_bp->b_addr;
258 cur = xfs_bnobt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
271 cur = xfs_cntbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
279 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
291 cur = xfs_refcountbt_init_cursor(mp, sc->tp, agf_bp,
310 struct xfs_buf *agf_bp)
313 struct xfs_agf *agf = agf_bp->b_addr;
319 xfs_trans_buf_set_type(sc->tp, agf_bp, XFS_BLFT_AGF_BUF);
320 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1);
368 struct xfs_buf *agf_bp;
384 XFS_FSS_TO_BB(mp, 1), 0, &agf_bp, NULL);
387 agf_bp->b_ops = &xfs_agf_buf_ops;
388 agf = agf_bp->b_addr;
407 error = xfs_agfl_walk(sc->mp, agf_bp->b_addr, agfl_bp,
416 error = xrep_agf_find_btrees(sc, agf_bp, fab, agfl_bp);
425 xrep_agf_init_header(sc, agf_bp, &old_agf);
427 error = xrep_agf_calc_from_btrees(sc, agf_bp);
432 return xrep_agf_commit_new(sc, agf_bp);
528 struct xfs_buf *agf_bp,
543 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
550 cur = xfs_bnobt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
557 cur = xfs_cntbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
572 ra.rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.pag);
598 struct xfs_buf *agf_bp,
601 struct xfs_agf *agf = agf_bp->b_addr;
621 xfs_alloc_log_agf(sc->tp, agf_bp,
714 struct xfs_buf *agf_bp;
730 error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &agf_bp);
747 error = xrep_agfl_collect_blocks(sc, agf_bp, &agfl_extents, &flcount);
760 xrep_agfl_update_agf(sc, agf_bp, flcount);
770 sc->sa.agf_bp = agf_bp;
808 struct xfs_buf *agf_bp;
813 error = xfs_alloc_read_agf(sc->sa.pag, sc->tp, 0, &agf_bp);
818 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, NULL);