to_perag
struct xfs_perag *pag = to_perag(xg);
return to_perag(xfs_group_get(mp, agno, XG_TYPE_AG));
return to_perag(xfs_group_hold(pag_group(pag)));
return to_perag(xfs_group_grab(mp, agno, XG_TYPE_AG));
return to_perag(xfs_group_next_range(mp, pag ? pag_group(pag) : NULL,
fa = xfs_alloc_check_irec(to_perag(cur->bc_group), &irec);
fa = xfs_alloc_check_irec(to_perag(cur->bc_group), &irec);
struct xfs_perag *pag = to_perag(cnt_cur->bc_group);
error = xfs_alloc_put_freelist(to_perag(cur->bc_group), cur->bc_tp,
to_perag(cur->bc_group));
to_perag(cur->bc_group));
struct xfs_perag *pag = to_perag(cur->bc_group);
error = xfs_alloc_get_freelist(to_perag(cur->bc_group), cur->bc_tp,
struct xfs_perag *pag = to_perag(cur->bc_group);
*daddr = xfs_agbno_to_daddr(to_perag(cur->bc_group),
struct xfs_perag *pag = to_perag(cur->bc_group);
if (!xfs_verify_agbno(to_perag(cur->bc_group),
fa = xfs_inobt_check_irec(to_perag(cur->bc_group), irec);
to_perag(cur->bc_group)->pagi_freecount);
fa = xfs_inobt_check_irec(to_perag(cur->bc_group), &irec);
args.pag = to_perag(cur->bc_group);
return xfs_inobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp,
return xfs_finobt_init_cursor(to_perag(cur->bc_group), cur->bc_tp,
struct xfs_perag *pag = to_perag(cur->bc_group);
struct xfs_perag *pag = to_perag(ri->ri_group);
return xfs_refcount_check_irec(to_perag(cur->bc_group), irec);
error = xfs_alloc_read_agf(to_perag(xg), tp, 0, &agbp);
cur = xfs_refcountbt_init_cursor(mp, tp, agbp, to_perag(xg));
cur->bc_ag.agbp, to_perag(cur->bc_group));
args.pag = to_perag(cur->bc_group);
struct xfs_perag *pag = to_perag(ri->ri_group);
return xfs_rmap_check_irec(to_perag(cur->bc_group), irec);
struct xfs_perag *pag = to_perag(cur->bc_group);
cur->bc_ag.agbp, to_perag(cur->bc_group));
struct xfs_perag *pag = to_perag(cur->bc_group);
struct xfs_perag *pag = to_perag(cur->bc_group);
if (xfs_alloc_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) {
if (!xfs_verify_agbext(to_perag(cur->bc_group), rec->rm_startblock,
fsbno = xfs_agbno_to_fsb(to_perag(cur->bc_group), rec->rm_startblock);
struct xfs_perag *pag = to_perag(bs->cur->bc_group);
fsino = xfs_agino_to_ino(to_perag(bs->cur->bc_group), agino);
imap.im_blkno = xfs_agbno_to_daddr(to_perag(bs->cur->bc_group), agbno);
trace_xchk_iallocbt_check_cluster(to_perag(bs->cur->bc_group),
if (xfs_inobt_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) {
if (xfs_refcount_check_irec(to_perag(bs->cur->bc_group), &irec) !=
xfs_rmap_check_irec(to_perag(bs->cur->bc_group), &irec) != NULL) {
if (xfs_inobt_check_irec(to_perag(cur->bc_group), &irec) != NULL)
error = __xfs_free_extent(tp, to_perag(xefi->xefi_group), agbno,
error = xfs_alloc_read_agf(to_perag(xefi->xefi_group), tp, 0, &agbp);
to_perag(info->group));
to_perag(info->group));
to_perag(info->group));
return to_perag(xfs_group_grab_next_mark(mp,
struct xfs_perag *pag = to_perag(xg);
struct xfs_perag *pag = to_perag(xg);