Lines Matching refs:agbp

31 			cur->bc_ag.agbp, cur->bc_ag.pag);  in xfs_refcountbt_dup_cursor()
40 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() local
41 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root()
42 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root()
50 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root()
61 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() local
62 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block()
90 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_alloc_block()
105 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() local
106 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block()
113 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_free_block()
173 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_refcountbt_init_ptr_from_cur()
348 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor() argument
351 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor()
356 cur->bc_ag.agbp = agbp; in xfs_refcountbt_init_cursor()
382 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree() argument
384 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree()
392 xfs_alloc_log_agf(tp, agbp, XFS_AGF_REFCOUNT_BLOCKS | in xfs_refcountbt_commit_staged_btree()
395 xfs_btree_commit_afakeroot(cur, tp, agbp, &xfs_refcountbt_ops); in xfs_refcountbt_commit_staged_btree()
487 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves() local
496 error = xfs_alloc_read_agf(mp, tp, pag->pag_agno, 0, &agbp); in xfs_refcountbt_calc_reserves()
500 agf = agbp->b_addr; in xfs_refcountbt_calc_reserves()
503 xfs_trans_brelse(tp, agbp); in xfs_refcountbt_calc_reserves()