Lines Matching refs:pag
32 cur->bc_ag.agbp, cur->bc_ag.pag); in xfs_refcountbt_dup_cursor()
43 struct xfs_perag *pag = agbp->b_pag; in xfs_refcountbt_set_root() local
49 pag->pagf_refcount_level += inc; in xfs_refcountbt_set_root()
70 args.pag = cur->bc_ag.pag; in xfs_refcountbt_alloc_block()
76 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, in xfs_refcountbt_alloc_block()
80 trace_xfs_refcountbt_alloc_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_alloc_block()
86 ASSERT(args.agno == cur->bc_ag.pag->pag_agno); in xfs_refcountbt_alloc_block()
110 trace_xfs_refcountbt_free_block(cur->bc_mp, cur->bc_ag.pag->pag_agno, in xfs_refcountbt_free_block()
176 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_refcountbt_init_ptr_from_cur()
214 struct xfs_perag *pag = bp->b_pag; in xfs_refcountbt_verify() local
228 if (pag && xfs_perag_initialised_agf(pag)) { in xfs_refcountbt_verify()
229 if (level >= pag->pagf_refcount_level) in xfs_refcountbt_verify()
342 struct xfs_perag *pag) in xfs_refcountbt_init_common() argument
346 ASSERT(pag->pag_agno < mp->m_sb.sb_agcount); in xfs_refcountbt_init_common()
354 cur->bc_ag.pag = xfs_perag_hold(pag); in xfs_refcountbt_init_common()
367 struct xfs_perag *pag) in xfs_refcountbt_init_cursor() argument
372 cur = xfs_refcountbt_init_common(mp, tp, pag); in xfs_refcountbt_init_cursor()
383 struct xfs_perag *pag) in xfs_refcountbt_stage_cursor() argument
387 cur = xfs_refcountbt_init_common(mp, NULL, pag); in xfs_refcountbt_stage_cursor()
501 struct xfs_perag *pag, in xfs_refcountbt_calc_reserves() argument
514 error = xfs_alloc_read_agf(pag, tp, 0, &agbp); in xfs_refcountbt_calc_reserves()
528 if (xfs_ag_contains_log(mp, pag->pag_agno)) in xfs_refcountbt_calc_reserves()