Lines Matching refs:agbp
41 cur->bc_ag.agbp); in xfs_inobt_dup_cursor()
49 cur->bc_ag.agbp); in xfs_finobt_dup_cursor()
58 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_set_root() local
59 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_set_root()
63 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_ROOT | XFS_AGI_LEVEL); in xfs_inobt_set_root()
72 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_finobt_set_root() local
73 struct xfs_agi *agi = agbp->b_addr; in xfs_finobt_set_root()
77 xfs_ialloc_log_agi(cur->bc_tp, agbp, in xfs_finobt_set_root()
87 struct xfs_buf *agbp = cur->bc_ag.agbp; in xfs_inobt_mod_blockcount() local
88 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_mod_blockcount()
97 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_IBLOCKS); in xfs_inobt_mod_blockcount()
249 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_inobt_init_ptr_from_cur()
261 struct xfs_agi *agi = cur->bc_ag.agbp->b_addr; in xfs_finobt_init_ptr_from_cur()
480 struct xfs_buf *agbp) in xfs_inobt_init_cursor() argument
488 cur->bc_ag.agbp = agbp; in xfs_inobt_init_cursor()
489 if (agbp) { in xfs_inobt_init_cursor()
490 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_init_cursor()
506 struct xfs_buf *agbp) in xfs_finobt_init_cursor() argument
514 cur->bc_ag.agbp = agbp; in xfs_finobt_init_cursor()
515 if (agbp) { in xfs_finobt_init_cursor()
516 struct xfs_agi *agi = agbp->b_addr; in xfs_finobt_init_cursor()
531 struct xfs_buf *agbp) in xfs_inobt_commit_staged_btree() argument
533 struct xfs_agi *agi = agbp->b_addr; in xfs_inobt_commit_staged_btree()
547 xfs_ialloc_log_agi(tp, agbp, fields); in xfs_inobt_commit_staged_btree()
548 xfs_btree_commit_afakeroot(cur, tp, agbp); in xfs_inobt_commit_staged_btree()
557 xfs_ialloc_log_agi(tp, agbp, fields); in xfs_inobt_commit_staged_btree()
558 xfs_btree_commit_afakeroot(cur, tp, agbp); in xfs_inobt_commit_staged_btree()
745 struct xfs_buf *agbp = NULL; in xfs_finobt_count_blocks() local
750 error = xfs_ialloc_read_agi(pag, tp, 0, &agbp); in xfs_finobt_count_blocks()
754 cur = xfs_finobt_init_cursor(pag, tp, agbp); in xfs_finobt_count_blocks()
757 xfs_trans_brelse(tp, agbp); in xfs_finobt_count_blocks()
770 struct xfs_buf *agbp; in xfs_finobt_read_blocks() local
774 error = xfs_ialloc_read_agi(pag, tp, 0, &agbp); in xfs_finobt_read_blocks()
778 agi = agbp->b_addr; in xfs_finobt_read_blocks()
780 xfs_trans_brelse(tp, agbp); in xfs_finobt_read_blocks()