XG_TYPE_AG
xfs_group_free(mp, agno, XG_TYPE_AG, xfs_perag_uninit);
error = xfs_group_insert(mp, pag_group(pag), index, XG_TYPE_AG);
return to_perag(xfs_group_get(mp, agno, XG_TYPE_AG));
return to_perag(xfs_group_grab(mp, agno, XG_TYPE_AG));
start_agno, end_agno, XG_TYPE_AG));
struct xfs_groups *ags = &mp->m_groups[XG_TYPE_AG];
{ XG_TYPE_AG, "ag" }, \
TRACE_DEFINE_ENUM(XG_TYPE_AG);
enum xfs_group_type type = XG_TYPE_AG;
((type) == XG_TYPE_AG || !xfs_has_zoned((mp)))
xfs_efi_is_realtime(xefi) ? XG_TYPE_RTG : XG_TYPE_AG);
isrt ? XG_TYPE_RTG : XG_TYPE_AG);
if (xg->xg_type == XG_TYPE_AG)
case XG_TYPE_AG:
while (xfs_group_marked(mp, XG_TYPE_AG, XFS_PERAG_RECLAIM_MARK)) {
XA_STATE (xas, &mp->m_groups[XG_TYPE_AG].xa, 0);
if (xfs_group_marked(mp, XG_TYPE_AG, XFS_PERAG_RECLAIM_MARK)) {
ici_tag_to_mark(tag), XG_TYPE_AG));
return XFS_FSB_TO_B(mp, mp->m_groups[XG_TYPE_AG].awu_max);
max(mp->m_groups[XG_TYPE_AG].blocks,
max(xfs_calc_group_awu_max(mp, XG_TYPE_AG),
xfs_calc_atomic_write_unit_max(mp, XG_TYPE_AG);
case XG_TYPE_AG:
if (type == XG_TYPE_AG) {
XG_TYPE_RTG : XG_TYPE_AG);
ri->ri_realtime ? XG_TYPE_RTG : XG_TYPE_AG);
isrt ? XG_TYPE_RTG : XG_TYPE_AG);
ri->ri_realtime ? XG_TYPE_RTG : XG_TYPE_AG);
isrt ? XG_TYPE_RTG : XG_TYPE_AG);
TRACE_DEFINE_ENUM(XG_TYPE_AG);
if (type == XG_TYPE_AG) {
xfs_verify_report_losses(mp, XG_TYPE_AG, daddr, bio_bbcount);