Lines Matching refs:pag
39 return xfs_inobt_init_cursor(cur->bc_ag.pag, cur->bc_tp,
106 args.pag = cur->bc_ag.pag;
114 XFS_AGB_TO_FSB(args.mp, args.pag->pag_agno, sbno));
242 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno));
254 ASSERT(cur->bc_ag.pag->pag_agno == be32_to_cpu(agi->agi_seqno));
300 * xfs_perag_initialised_agi(pag)) if we ever do.
450 struct xfs_perag *pag,
454 struct xfs_mount *mp = pag->pag_mount;
470 cur->bc_ag.pag = xfs_perag_hold(pag);
477 struct xfs_perag *pag,
485 cur = xfs_inobt_init_common(pag, tp, btnum);
497 struct xfs_perag *pag,
503 cur = xfs_inobt_init_common(pag, NULL, btnum);
702 struct xfs_perag *pag)
704 struct xfs_mount *mp = pag->pag_mount;
705 xfs_agblock_t agblocks = pag->block_count;
716 if (xfs_ag_contains_log(mp, pag->pag_agno))
727 struct xfs_perag *pag,
739 error = xfs_ialloc_read_agi(pag, tp, agi_bpp);
743 cur = xfs_inobt_init_cursor(pag, tp, *agi_bpp, which);
750 struct xfs_perag *pag,
759 error = xfs_inobt_cur(pag, tp, btnum, &cur, &agbp);
773 struct xfs_perag *pag,
781 error = xfs_ialloc_read_agi(pag, tp, &agbp);
796 struct xfs_perag *pag,
804 if (!xfs_has_finobt(pag->pag_mount))
807 if (xfs_has_inobtcounts(pag->pag_mount))
808 error = xfs_finobt_read_blocks(pag, tp, &tree_len);
810 error = xfs_inobt_count_blocks(pag, tp, XFS_BTNUM_FINO,
815 *ask += xfs_inobt_max_size(pag);