Lines Matching defs:agf_bp
139 struct xfs_buf *agf_bp,
143 struct xfs_agf *old_agf = agf_bp->b_addr;
147 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, agfl_bp);
180 struct xfs_buf *agf_bp,
184 struct xfs_agf *agf = agf_bp->b_addr;
187 memset(agf, 0, BBTOB(agf_bp->b_length));
237 struct xfs_buf *agf_bp)
241 struct xfs_agf *agf = agf_bp->b_addr;
248 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno,
262 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno,
271 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno);
283 cur = xfs_refcountbt_init_cursor(mp, sc->tp, agf_bp,
302 struct xfs_buf *agf_bp)
305 struct xfs_agf *agf = agf_bp->b_addr;
311 xfs_trans_buf_set_type(sc->tp, agf_bp, XFS_BLFT_AGF_BUF);
312 xfs_trans_log_buf(sc->tp, agf_bp, 0, BBTOB(agf_bp->b_length) - 1);
359 struct xfs_buf *agf_bp;
375 XFS_FSS_TO_BB(mp, 1), 0, &agf_bp, NULL);
378 agf_bp->b_ops = &xfs_agf_buf_ops;
379 agf = agf_bp->b_addr;
398 error = xfs_agfl_walk(sc->mp, agf_bp->b_addr, agfl_bp,
407 error = xrep_agf_find_btrees(sc, agf_bp, fab, agfl_bp);
412 xrep_agf_init_header(sc, agf_bp, &old_agf);
414 error = xrep_agf_calc_from_btrees(sc, agf_bp);
419 return xrep_agf_commit_new(sc, agf_bp);
478 struct xfs_buf *agf_bp,
492 cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno);
499 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno,
507 cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno,
542 struct xfs_buf *agf_bp,
545 struct xfs_agf *agf = agf_bp->b_addr;
559 xfs_alloc_log_agf(sc->tp, agf_bp,
634 struct xfs_buf *agf_bp;
651 error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp);
667 error = xrep_agfl_collect_blocks(sc, agf_bp, &agfl_extents, &flcount);
676 xrep_agfl_update_agf(sc, agf_bp, flcount);
684 sc->sa.agf_bp = agf_bp;
720 struct xfs_buf *agf_bp;
725 error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp);
730 error = xrep_find_ag_btree_roots(sc, agf_bp, fab, NULL);