Home
last modified time | relevance | path

Searched refs:to_rtg (Results 1 – 13 of 13) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.h67 static inline struct xfs_rtgroup *to_rtg(struct xfs_group *xg) in to_rtg() function
118 return to_rtg(xfs_group_get(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_get()
125 return to_rtg(xfs_group_hold(rtg_group(rtg))); in xfs_rtgroup_hold()
141 return to_rtg(xfs_group_grab(mp, rgno, XG_TYPE_RTG)); in xfs_rtgroup_grab()
158 return to_rtg(xfs_group_next_range(mp, rtg ? rtg_group(rtg) : NULL, in xfs_rtgroup_next_range()
H A Dxfs_refcount.c177 return xfs_rtrefcount_check_irec(to_rtg(cur->bc_group), irec); in xfs_refcount_check_btrec()
1477 struct xfs_rtgroup *rtg = to_rtg(ri->ri_group); in xfs_rtrefcount_continue_op()
1502 struct xfs_rtgroup *rtg = to_rtg(ri->ri_group); in xfs_rtrefcount_finish_one()
2104 xfs_rtgroup_lock(to_rtg(xg), XFS_RTGLOCK_REFCOUNT); in xfs_refcount_recover_cow_leftovers()
2105 cur = xfs_rtrefcountbt_init_cursor(tp, to_rtg(xg)); in xfs_refcount_recover_cow_leftovers()
2120 xfs_rtgroup_unlock(to_rtg(xg), XFS_RTGLOCK_REFCOUNT); in xfs_refcount_recover_cow_leftovers()
H A Dxfs_rtrefcount_btree.c48 return xfs_rtrefcountbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrefcountbt_dup_cursor()
H A Dxfs_rtrmap_btree.c50 return xfs_rtrmapbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrmapbt_dup_cursor()
H A Dxfs_rmap.c339 return xfs_rtrmap_check_irec(to_rtg(cur->bc_group), irec); in xfs_rmap_check_btrec()
2664 struct xfs_rtgroup *rtg = to_rtg(ri->ri_group); in xfs_rtrmap_finish_init_cursor()
/linux/fs/xfs/
H A Dxfs_fsmap.c224 cur = xfs_rtrefcountbt_init_cursor(tp, to_rtg(info->group)); in xfs_getfsmap_is_shared()
863 struct xfs_rtgroup *rtg = to_rtg(info->group); in xfs_getfsmap_rtdev_rmapbt_query()
989 xfs_rtgroup_unlock(to_rtg(bt_cur->bc_group), in xfs_getfsmap_rtdev_rmapbt()
1028 xfs_rtgroup_unlock(to_rtg(bt_cur->bc_group), in xfs_getfsmap_rtdev_rmapbt()
H A Dxfs_notify_failure.c302 rtg = to_rtg(xg); in xfs_dax_notify_dev_failure()
H A Dxfs_extfree_item.c787 if (*rtgp != to_rtg(xefi->xefi_group)) { in xfs_rtextent_free_finish_item()
795 *rtgp = to_rtg(xefi->xefi_group); in xfs_rtextent_free_finish_item()
H A Dxfs_zone_gc.c958 struct xfs_rtgroup *rtg = to_rtg(next); in xfs_zone_gc_reset_zones()
H A Dxfs_zone_alloc.c484 return xfs_init_open_zone(to_rtg(xg), 0, write_hint, is_gc); in xfs_open_zone()
/linux/fs/xfs/scrub/
H A Drtrmap.c228 xfs_rtrmap_check_irec(to_rtg(bs->cur->bc_group), &irec) != NULL) { in xchk_rtrmapbt_rec()
H A Dbmap_repair.c396 if (!xfs_verify_rgbext(to_rtg(cur->bc_group), rec->rm_startblock, in xrep_bmap_check_rtfork_rmap()
441 xfs_rgbno_to_rtb(to_rtg(cur->bc_group), in xrep_bmap_walk_rtrmap()
H A Drtrefcount.c468 if (xfs_rtrefcount_check_irec(to_rtg(bs->cur->bc_group), &irec) != in xchk_rtrefcountbt_rec()