Lines Matching refs:agbp

55 			cur->bc_ag.agbp, cur->bc_ag.agno);  in xfs_rmapbt_dup_cursor()
64 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_set_root() local
65 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_set_root()
67 struct xfs_perag *pag = agbp->b_pag; in xfs_rmapbt_set_root()
75 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_rmapbt_set_root()
85 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_alloc_block() local
86 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_alloc_block()
91 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_ag.agbp, in xfs_rmapbt_alloc_block()
109 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_alloc_block()
122 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_rmapbt_free_block() local
123 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_free_block()
132 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_RMAP_BLOCKS); in xfs_rmapbt_free_block()
133 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_rmapbt_free_block()
141 pag = cur->bc_ag.agbp->b_pag; in xfs_rmapbt_free_block()
218 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_rmapbt_init_ptr_from_cur()
478 struct xfs_buf *agbp, in xfs_rmapbt_init_cursor() argument
481 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_init_cursor()
486 cur->bc_ag.agbp = agbp; in xfs_rmapbt_init_cursor()
512 struct xfs_buf *agbp) in xfs_rmapbt_commit_staged_btree() argument
514 struct xfs_agf *agf = agbp->b_addr; in xfs_rmapbt_commit_staged_btree()
522 xfs_alloc_log_agf(tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS | in xfs_rmapbt_commit_staged_btree()
524 xfs_btree_commit_afakeroot(cur, tp, agbp, &xfs_rmapbt_ops); in xfs_rmapbt_commit_staged_btree()
605 struct xfs_buf *agbp; in xfs_rmapbt_calc_reserves() local
614 error = xfs_alloc_read_agf(mp, tp, agno, 0, &agbp); in xfs_rmapbt_calc_reserves()
618 agf = agbp->b_addr; in xfs_rmapbt_calc_reserves()
621 xfs_trans_brelse(tp, agbp); in xfs_rmapbt_calc_reserves()