Lines Matching refs:agbp
32 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor()
41 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_set_root() local
42 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_set_root()
43 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root()
51 xfs_alloc_log_agf(cur->bc_tp, agbp, in xfs_refcountbt_set_root()
62 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_alloc_block() local
63 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_alloc_block()
91 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_alloc_block()
106 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_refcountbt_free_block() local
107 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_free_block()
114 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_REFCOUNT_BLOCKS); in xfs_refcountbt_free_block()
179 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_refcountbt_init_ptr_from_cur()
357 struct xfs_buf *agbp, in xfs_refcountbt_init_cursor() argument
360 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_init_cursor()
365 cur->bc_ag.agbp = agbp; in xfs_refcountbt_init_cursor()
391 struct xfs_buf *agbp) in xfs_refcountbt_commit_staged_btree() argument
393 struct xfs_agf *agf = agbp->b_addr; in xfs_refcountbt_commit_staged_btree()
401 xfs_alloc_log_agf(tp, agbp, XFS_AGF_REFCOUNT_BLOCKS | in xfs_refcountbt_commit_staged_btree()
404 xfs_btree_commit_afakeroot(cur, tp, agbp, &xfs_refcountbt_ops); in xfs_refcountbt_commit_staged_btree()
496 struct xfs_buf *agbp; in xfs_refcountbt_calc_reserves() local
505 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_refcountbt_calc_reserves()
509 agf = agbp->b_addr; in xfs_refcountbt_calc_reserves()
512 xfs_trans_brelse(tp, agbp); in xfs_refcountbt_calc_reserves()