Lines Matching refs:agbp
30 return xfs_bnobt_init_cursor(cur->bc_mp, cur->bc_tp, cur->bc_ag.agbp, 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()
49 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_set_root() local
50 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_set_root()
64 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root()
79 cur->bc_ag.agbp, &bno, 1); in xfs_allocbt_alloc_block()
102 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_allocbt_free_block() local
108 agbp, NULL, bno, 1); in xfs_allocbt_free_block()
113 xfs_extent_busy_insert(cur->bc_tp, pag_group(agbp->b_pag), bno, 1, in xfs_allocbt_free_block()
179 struct xfs_agf *agf = cur->bc_ag.agbp->b_addr; in xfs_allocbt_init_ptr_from_cur()
488 struct xfs_buf *agbp, in xfs_bnobt_init_cursor() argument
496 cur->bc_ag.agbp = agbp; in xfs_bnobt_init_cursor()
497 if (agbp) { in xfs_bnobt_init_cursor()
498 struct xfs_agf *agf = agbp->b_addr; in xfs_bnobt_init_cursor()
514 struct xfs_buf *agbp, in xfs_cntbt_init_cursor() argument
522 cur->bc_ag.agbp = agbp; in xfs_cntbt_init_cursor()
523 if (agbp) { in xfs_cntbt_init_cursor()
524 struct xfs_agf *agf = agbp->b_addr; in xfs_cntbt_init_cursor()
539 struct xfs_buf *agbp) in xfs_allocbt_commit_staged_btree() argument
541 struct xfs_agf *agf = agbp->b_addr; in xfs_allocbt_commit_staged_btree()
553 xfs_alloc_log_agf(tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_commit_staged_btree()
555 xfs_btree_commit_afakeroot(cur, tp, agbp); in xfs_allocbt_commit_staged_btree()