Searched refs:to_rtg (Results 1 – 13 of 13) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rtgroup.h | 67 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 D | xfs_refcount.c | 177 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 D | xfs_rtrefcount_btree.c | 48 return xfs_rtrefcountbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrefcountbt_dup_cursor()
|
| H A D | xfs_rtrmap_btree.c | 50 return xfs_rtrmapbt_init_cursor(cur->bc_tp, to_rtg(cur->bc_group)); in xfs_rtrmapbt_dup_cursor()
|
| H A D | xfs_rmap.c | 339 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 D | xfs_fsmap.c | 224 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 D | xfs_notify_failure.c | 302 rtg = to_rtg(xg); in xfs_dax_notify_dev_failure()
|
| H A D | xfs_extfree_item.c | 787 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 D | xfs_zone_gc.c | 958 struct xfs_rtgroup *rtg = to_rtg(next); in xfs_zone_gc_reset_zones()
|
| H A D | xfs_zone_alloc.c | 484 return xfs_init_open_zone(to_rtg(xg), 0, write_hint, is_gc); in xfs_open_zone()
|
| /linux/fs/xfs/scrub/ |
| H A D | rtrmap.c | 228 xfs_rtrmap_check_irec(to_rtg(bs->cur->bc_group), &irec) != NULL) { in xchk_rtrmapbt_rec()
|
| H A D | bmap_repair.c | 396 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 D | rtrefcount.c | 468 if (xfs_rtrefcount_check_irec(to_rtg(bs->cur->bc_group), &irec) != in xchk_rtrefcountbt_rec()
|