Home
last modified time | relevance | path

Searched refs:rtg_group (Results 1 – 15 of 15) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.h31 struct xfs_group rtg_group; member
69 return container_of(xg, struct xfs_rtgroup, rtg_group); in to_rtg()
72 static inline struct xfs_group *rtg_group(struct xfs_rtgroup *rtg) in rtg_group() function
74 return &rtg->rtg_group; in rtg_group()
79 return rtg->rtg_group.xg_mount; in rtg_mount()
84 return rtg->rtg_group.xg_gno; in rtg_rgno()
89 return rtg->rtg_group.xg_block_count; in rtg_blocks()
125 return to_rtg(xfs_group_hold(rtg_group(rtg))); in xfs_rtgroup_hold()
132 xfs_group_put(rtg_group(rtg)); in xfs_rtgroup_put()
148 xfs_group_rele(rtg_group(rtg)); in xfs_rtgroup_rele()
[all …]
H A Dxfs_rtrmap_btree.c518 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrmapbt_init_cursor()
624 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrmapbt_mem_cursor()
H A Dxfs_rtbitmap.h29 xfs_rtblock_t start = xfs_group_start_fsb(rtg_group(rtg)); in xfs_rtx_to_rtb()
H A Dxfs_rtrefcount_btree.c417 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrefcountbt_init_cursor()
/linux/fs/xfs/scrub/
H A Dhealth.c177 xfs_group_mark_healthy(rtg_group(rtg), XFS_SICK_RG_INDIRECT); in xchk_mark_all_healthy()
258 xfs_group_mark_corrupt(rtg_group(rtg), mask); in xchk_update_health()
260 xfs_group_mark_healthy(rtg_group(rtg), mask); in xchk_update_health()
331 xfs_group_measure_sickness(rtg_group(rtg), &sick, &checked); in xchk_health_record()
H A Dreap.c947 trace_xreap_agextent_select(rtg_group(sc->sr.rtg), rgbno, len, in xreap_rgextent_select()
987 trace_xreap_dispose_unmap_extent(rtg_group(sc->sr.rtg), rgbno, in xreap_rgextent_iter()
995 trace_xreap_dispose_free_extent(rtg_group(sc->sr.rtg), rgbno, *rglenp); in xreap_rgextent_iter()
H A Drtbitmap_repair.c519 struct xfs_group *xg = rtg_group(sc->sr.rtg); in xrep_rtbitmap()
/linux/fs/xfs/
H A Dxfs_health.c65 xfs_health_unmount_group(rtg_group(rtg), &warn); in xfs_health_unmount()
313 xfs_group_mark_sick(rtg_group(rtg), mask); in xfs_rgno_mark_sick()
491 xfs_group_measure_sickness(rtg_group(rtg), &sick, &checked); in xfs_fsop_geom_health()
589 xfs_group_measure_sickness(rtg_group(rtg), &sick, &checked); in xfs_rtgroup_geom_health()
H A Dxfs_zone_gc.c654 *daddr = xfs_gbno_to_daddr(rtg_group(oz->oz_rtg), 0); in xfs_zone_gc_alloc_blocks()
751 atomic_inc(&rtg_group(chunk->victim_rtg)->xg_active_ref); in xfs_zone_gc_start_chunk()
838 atomic_inc(&rtg_group(chunk->victim_rtg)->xg_active_ref); in xfs_zone_gc_split_write()
971 bio->bi_iter.bi_sector = xfs_gbno_to_daddr(rtg_group(rtg), 0); in xfs_submit_zone_reset_bio()
1023 next = rtg_group(rtg)->xg_next_reset; in xfs_zone_gc_reset_zones()
1024 rtg_group(rtg)->xg_next_reset = NULL; in xfs_zone_gc_reset_zones()
H A Dxfs_discard.c649 trace_xfs_discard_toosmall(rtg_group(rtg), rgbno, len); in xfs_trim_gather_rtgroup_extent()
657 if (xfs_extent_busy_search(rtg_group(rtg), rgbno, len)) { in xfs_trim_gather_rtgroup_extent()
658 trace_xfs_discard_busy(rtg_group(rtg), rgbno, len); in xfs_trim_gather_rtgroup_extent()
662 xfs_extent_busy_insert_discard(rtg_group(rtg), rgbno, len, in xfs_trim_gather_rtgroup_extent()
H A Dxfs_zone_alloc.c82 struct xfs_group *xg = rtg_group(rtg); in xfs_zone_account_reclaimable()
768 *sector = xfs_gbno_to_daddr(rtg_group(rtg), 0); in xfs_zone_alloc_blocks()
994 xfs_group_set_mark(rtg_group(rtg), XFS_RTG_FREE); in xfs_zone_mark_free()
1045 sector_t start = xfs_gbno_to_daddr(&rtg->rtg_group, 0); in xfs_query_write_pointer()
1142 atomic_inc(&rtg_group(rtg)->xg_active_ref); in xfs_init_zone()
1316 xfs_gbno_to_daddr(rtg_group(rtg), 0)); in xfs_zone_is_conv()
H A Dxfs_extent_busy.c675 xfs_extent_busy_wait_group(rtg_group(rtg)); in xfs_extent_busy_wait_all()
H A Dxfs_fsmap.c795 info->group = rtg_group(rtg); in xfs_getfsmap_rtdev_rtbitmap()
976 info->group = rtg_group(rtg); in xfs_getfsmap_rtdev_rmapbt()
H A Dxfs_rtalloc.c1843 busy = xfs_extent_busy_trim(rtg_group(rtg), minlen, in xfs_rtalloc_check_busy()
1911 error = xfs_extent_busy_flush(args->tp, rtg_group(args->rtg), in xfs_rtallocate_adjust_for_busy()
H A Dxfs_reflink.c1121 error = xfs_refcount_recover_cow_leftovers(rtg_group(rtg)); in xfs_reflink_recover_cow()