Lines Matching refs:pag
30 cur->bc_ag.agbp, cur->bc_ag.pag, cur->bc_btnum); in xfs_allocbt_dup_cursor()
47 cur->bc_ag.pag->pagf_levels[btnum] += inc; in xfs_allocbt_set_root()
63 error = xfs_alloc_get_freelist(cur->bc_ag.pag, cur->bc_tp, in xfs_allocbt_alloc_block()
74 xfs_extent_busy_reuse(cur->bc_mp, cur->bc_ag.pag, bno, 1, false); in xfs_allocbt_alloc_block()
92 error = xfs_alloc_put_freelist(cur->bc_ag.pag, cur->bc_tp, agbp, NULL, in xfs_allocbt_free_block()
115 struct xfs_perag *pag; in xfs_allocbt_update_lastrec() local
159 pag = cur->bc_ag.agbp->b_pag; in xfs_allocbt_update_lastrec()
160 pag->pagf_longest = be32_to_cpu(len); in xfs_allocbt_update_lastrec()
227 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agf->agf_seqno)); in xfs_allocbt_init_ptr_from_cur()
292 struct xfs_perag *pag = bp->b_pag; in xfs_allocbt_verify() local
318 if (pag && xfs_perag_initialised_agf(pag)) { in xfs_allocbt_verify()
319 if (level >= pag->pagf_levels[btnum]) in xfs_allocbt_verify()
475 struct xfs_perag *pag, in xfs_allocbt_init_common() argument
496 atomic_inc(&pag->pag_ref); in xfs_allocbt_init_common()
497 cur->bc_ag.pag = pag; in xfs_allocbt_init_common()
513 struct xfs_perag *pag, in xfs_allocbt_init_cursor() argument
519 cur = xfs_allocbt_init_common(mp, tp, pag, btnum); in xfs_allocbt_init_cursor()
535 struct xfs_perag *pag, in xfs_allocbt_stage_cursor() argument
540 cur = xfs_allocbt_init_common(mp, NULL, pag, btnum); in xfs_allocbt_stage_cursor()