Lines Matching refs:bc_ag
30 return xfs_bnobt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_bnobt_dup_cursor()
31 cur->bc_ag.pag); in xfs_bnobt_dup_cursor()
38 return xfs_cntbt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, in xfs_cntbt_dup_cursor()
39 cur->bc_ag.pag); in xfs_cntbt_dup_cursor()
49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root()
57 cur->bc_ag.pag->pagf_bno_level += inc; in xfs_allocbt_set_root()
61 cur->bc_ag.pag->pagf_cnt_level += inc; in xfs_allocbt_set_root()
78 error = xfs_alloc_get_freelist(cur->bc_ag.pag, cur->bc_tp, in xfs_allocbt_alloc_block()
79 cur->bc_ag.agbp, &bno, 1); in xfs_allocbt_alloc_block()
89 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.pag, bno, 1, false); in xfs_allocbt_alloc_block()
102 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block()
107 error = xfs_alloc_put_freelist(cur->bc_ag.pag, cur->bc_tp, agbp, NULL, in xfs_allocbt_free_block()
179 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur()
181 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
495 cur->bc_ag.pag = xfs_perag_hold(pag); in xfs_bnobt_init_cursor()
496 cur->bc_ag.agbp = agbp; in xfs_bnobt_init_cursor()
521 cur->bc_ag.pag = xfs_perag_hold(pag); in xfs_cntbt_init_cursor()
522 cur->bc_ag.agbp = agbp; in xfs_cntbt_init_cursor()
542 struct xbtree_afakeroot *afake = cur->bc_ag.afake; in xfs_allocbt_commit_staged_btree()