Home
last modified time | relevance | path

Searched refs:XG_TYPE_RTG (Results 1 – 22 of 22) sorted by relevance

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_rtgroup.h118 return to_rtg(xfs_group_get(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_get()
141 return to_rtg(xfs_group_grab(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_grab()
159 start_rgno, end_rgno, XG_TYPE_RTG)); in xfs_rtgroup_next_range()
209 return xfs_fsb_to_gno(mp, rtbno, XG_TYPE_RTG); in xfs_rtb_to_rgno()
217 return xfs_fsb_to_gbno(mp, rtbno, XG_TYPE_RTG); in xfs_rtb_to_rgbno()
226 return (rtbno & mp->m_groups[XG_TYPE_RTG].blkmask) == 0; in xfs_rtbno_is_group_start()
247 struct xfs_groups *g = &mp->m_groups[XG_TYPE_RTG]; in xfs_rtb_to_daddr()
263 struct xfs_groups *g = &mp->m_groups[XG_TYPE_RTG]; in xfs_daddr_to_rtb()
H A Dxfs_types.h228 XG_TYPE_RTG, enumerator
234 { XG_TYPE_RTG, "rtg" }
H A Dxfs_rtbitmap.h132 rtbno &= mp->m_groups[XG_TYPE_RTG].blkmask; in xfs_rtb_to_rtx()
154 rtbno &= mp->m_groups[XG_TYPE_RTG].blkmask; in xfs_rtb_to_rtxoff()
H A Dxfs_zones.c139 struct xfs_groups *g = &mp->m_groups[XG_TYPE_RTG]; in xfs_zone_validate()
H A Dxfs_rtgroup.c81 error = xfs_group_insert(mp, rtg_group(rtg), rgno, XG_TYPE_RTG); in xfs_rtgroup_alloc()
96 xfs_group_free(mp, rgno, XG_TYPE_RTG, NULL); in xfs_rtgroup_free()
H A Dxfs_rtrmap_btree.c797 mp->m_groups[XG_TYPE_RTG].blocks); in xfs_rtrmapbt_compute_maxlevels()
834 uint32_t blocks = mp->m_groups[XG_TYPE_RTG].blocks; in xfs_rtrmapbt_calc_reserves()
H A Dxfs_sb.c1196 struct xfs_groups *rgs = &mp->m_groups[XG_TYPE_RTG]; in xfs_sb_mount_rextsize()
H A Dxfs_refcount.c2060 bool isrt = xg->xg_type == XG_TYPE_RTG; in xfs_refcount_recover_cow_leftovers()
H A Dxfs_rmap.c2705 if (ri->ri_group->xg_type == XG_TYPE_RTG) in xfs_rmap_finish_one()
/linux-6.15/fs/xfs/
H A Dxfs_zone_space_resv.c57 mp->m_groups[XG_TYPE_RTG].blocks + in xfs_zoned_default_resblks()
61 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zoned_default_resblks()
177 if (!xfs_group_marked(mp, XG_TYPE_RTG, XFS_RTG_RECLAIMABLE) && in xfs_zoned_reserve_available()
H A Dxfs_notify_failure.c256 error = xfs_dax_translate_range(type == XG_TYPE_RTG ? in xfs_dax_notify_dev_failure()
262 if (type == XG_TYPE_RTG) { in xfs_dax_notify_dev_failure()
386 XG_TYPE_RTG : XG_TYPE_AG); in xfs_dax_notify_failure()
H A Dxfs_zone_alloc.c44 mp->m_groups[XG_TYPE_RTG].blocks; in xfs_zone_bucket()
405 XA_STATE (xas, &mp->m_groups[XG_TYPE_RTG].xa, start); in xfs_find_free_zone()
887 return !xa_get_mark(&rtg_mount(rtg)->m_groups[XG_TYPE_RTG].xa, in xfs_zone_rgbno_is_valid()
1180 mp->m_sb.sb_rgcount, mp->m_groups[XG_TYPE_RTG].blocks, in xfs_mount_zones()
H A Dxfs_zone_gc.c176 if (!xfs_group_marked(mp, XG_TYPE_RTG, XFS_RTG_RECLAIMABLE)) in xfs_zoned_need_gc()
182 mp->m_groups[XG_TYPE_RTG].blocks * in xfs_zoned_need_gc()
1135 if (!xfs_group_marked(mp, XG_TYPE_RTG, XFS_RTG_FREE) || in xfs_zone_gc_mount()
H A Dxfs_refcount_item.c372 ri->ri_realtime ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_refcount_defer_add()
483 isrt ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_cui_recover_work()
H A Dxfs_rmap_item.c397 ri->ri_realtime ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_rmap_defer_add()
548 isrt ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_rui_recover_work()
H A Dxfs_extfree_item.c493 xfs_efi_is_realtime(xefi) ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_extent_free_defer_add()
627 isrt ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_efi_recover_work()
H A Dxfs_bmap_item.c330 type = XG_TYPE_RTG; in xfs_bmap_update_get_group()
H A Dxfs_discard.c115 case XG_TYPE_RTG: in xfs_group_bdev()
H A Dxfs_fsmap.c223 if (info->group->xg_type == XG_TYPE_RTG) in xfs_getfsmap_is_shared()
H A Dxfs_rtalloc.c1266 uint32_t gblocks = mp->m_groups[XG_TYPE_RTG].blocks; in xfs_growfs_check_rtgeom()
H A Dxfs_trace.h228 TRACE_DEFINE_ENUM(XG_TYPE_RTG);
404 __entry->blocks = mp->m_groups[XG_TYPE_RTG].blocks;
3342 if (bi->bi_group->xg_type == XG_TYPE_RTG &&
/linux-6.15/fs/xfs/scrub/
H A Dtrace.h45 TRACE_DEFINE_ENUM(XG_TYPE_RTG);