Lines Matching refs:agbp

30 			cur->bc_ag.agbp, cur->bc_ag.pag, cur->bc_btnum);  in xfs_allocbt_dup_cursor()
39 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root() local
40 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_set_root()
49 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root()
63 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_ag.agbp, in xfs_allocbt_alloc_block()
74 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.agbp->b_pag, bno, 1, false); in xfs_allocbt_alloc_block()
87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block() local
92 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_allocbt_free_block()
97 xfs_extent_busy_insert(cur->bc_tp, agbp->b_pag, bno, 1, in xfs_allocbt_free_block()
113 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_update_lastrec()
158 pag = cur->bc_ag.agbp->b_pag; in xfs_allocbt_update_lastrec()
160 xfs_alloc_log_agf(cur->bc_tp, cur->bc_ag.agbp, XFS_AGF_LONGEST); in xfs_allocbt_update_lastrec()
224 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur()
511 struct xfs_buf *agbp, /* buffer for agf structure */ in xfs_allocbt_init_cursor() argument
515 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_init_cursor()
524 cur->bc_ag.agbp = agbp; in xfs_allocbt_init_cursor()
552 struct xfs_buf *agbp) in xfs_allocbt_commit_staged_btree() argument
554 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_commit_staged_btree()
561 xfs_alloc_log_agf(tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_commit_staged_btree()
564 xfs_btree_commit_afakeroot(cur, tp, agbp, &xfs_bnobt_ops); in xfs_allocbt_commit_staged_btree()
567 xfs_btree_commit_afakeroot(cur, tp, agbp, &xfs_cntbt_ops); in xfs_allocbt_commit_staged_btree()