| /fs/xfs/libxfs/ |
| A D | xfs_rtgroup.h | 31 struct xfs_group rtg_group; member 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() 177 return xfs_verify_gbno(rtg_group(rtg), rgbno); in xfs_verify_rgbno() 193 return xfs_verify_gbext(rtg_group(rtg), rgbno, len); in xfs_verify_rgbext() [all …]
|
| A D | xfs_rtgroup.c | 61 rtg_group(rtg)->xg_block_count = rtg->rtg_extents * mp->m_sb.sb_rextsize; in xfs_rtgroup_calc_geometry() 62 rtg_group(rtg)->xg_min_gbno = xfs_rtgroup_min_block(mp, rgno); in xfs_rtgroup_calc_geometry() 81 error = xfs_group_insert(mp, rtg_group(rtg), rgno, XG_TYPE_RTG); in xfs_rtgroup_alloc() 182 rtg_group(rtg)->xg_block_count = rtg->rtg_extents * mp->m_sb.sb_rextsize; in xfs_update_last_rtgroup_size() 435 xfs_group_mark_sick(rtg_group(rtg), ops->sick); in xfs_rtginode_mark_sick()
|
| A D | xfs_health.h | 258 xfs_group_has_sickness(rtg_group(rtg), (mask))
|
| A D | xfs_rtrmap_btree.c | 518 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()
|
| A D | xfs_rtbitmap.h | 29 xfs_rtblock_t start = xfs_group_start_fsb(rtg_group(rtg)); in xfs_rtx_to_rtb()
|
| A D | xfs_rtrefcount_btree.c | 417 cur->bc_group = xfs_group_hold(rtg_group(rtg)); in xfs_rtrefcountbt_init_cursor()
|
| A D | xfs_rtbitmap.c | 1147 xfs_extent_busy_insert(tp, rtg_group(rtg), in xfs_rtfree_blocks()
|
| /fs/xfs/scrub/ |
| A D | health.c | 177 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()
|
| A D | rtrmap_repair.c | 855 trace_xrep_rmap_live_update(rtg_group(rr->sc->sr.rtg), action, p); in xrep_rtrmapbt_live_update() 912 error = xfs_rmap_hook_add(rtg_group(sc->sr.rtg), &rr->rhook); in xrep_rtrmap_setup_scan() 934 xfs_rmap_hook_del(rtg_group(sc->sr.rtg), &rr->rhook); in xrep_rtrmap_teardown()
|
| A D | reap.c | 737 trace_xreap_agextent_select(rtg_group(sc->sr.rtg), rgbno, len, in xreap_rgextent_select() 777 trace_xreap_dispose_unmap_extent(rtg_group(sc->sr.rtg), rgbno, in xreap_rgextent_iter() 785 trace_xreap_dispose_free_extent(rtg_group(sc->sr.rtg), rgbno, *rglenp); in xreap_rgextent_iter()
|
| A D | common.c | 781 if (!xfs_group_intent_busy(rtg_group(sr->rtg))) in xchk_rtgroup_lock() 788 error = xfs_group_intent_drain(rtg_group(sr->rtg)); in xchk_rtgroup_lock()
|
| A D | rtrefcount_repair.c | 189 trace_xrep_refc_found(rtg_group(rr->sc->sr.rtg), &irec); in xrep_rtrefc_stash()
|
| A D | rtbitmap_repair.c | 516 struct xfs_group *xg = rtg_group(sc->sr.rtg); in xrep_rtbitmap()
|
| /fs/xfs/ |
| A D | xfs_health.c | 62 xfs_health_unmount_group(rtg_group(rtg), &warn); in xfs_health_unmount() 265 xfs_group_mark_sick(rtg_group(rtg), mask); in xfs_rgno_mark_sick() 404 xfs_group_measure_sickness(rtg_group(rtg), &sick, &checked); in xfs_fsop_geom_health() 467 xfs_group_measure_sickness(rtg_group(rtg), &sick, &checked); in xfs_rtgroup_geom_health()
|
| A D | xfs_discard.c | 664 trace_xfs_discard_toosmall(rtg_group(rtg), rgbno, len); in xfs_trim_gather_rtgroup_extent() 672 if (xfs_extent_busy_search(rtg_group(rtg), rgbno, len)) { in xfs_trim_gather_rtgroup_extent() 673 trace_xfs_discard_busy(rtg_group(rtg), rgbno, len); in xfs_trim_gather_rtgroup_extent() 677 xfs_extent_busy_insert_discard(rtg_group(rtg), rgbno, len, in xfs_trim_gather_rtgroup_extent()
|
| A D | xfs_zone_gc.c | 657 *daddr = xfs_gbno_to_daddr(&oz->oz_rtg->rtg_group, 0); in xfs_zone_gc_alloc_blocks() 888 xfs_group_set_mark(&rtg->rtg_group, XFS_RTG_FREE); in xfs_zone_gc_finish_reset() 907 bio->bi_iter.bi_sector = xfs_gbno_to_daddr(&rtg->rtg_group, 0); in xfs_zone_gc_prepare_reset() 954 next = rtg_group(rtg)->xg_next_reset; in xfs_zone_gc_reset_zones() 955 rtg_group(rtg)->xg_next_reset = NULL; in xfs_zone_gc_reset_zones()
|
| A D | xfs_zone_alloc.c | 73 struct xfs_group *xg = &rtg->rtg_group; in xfs_zone_account_reclaimable() 772 *sector = xfs_gbno_to_daddr(&rtg->rtg_group, 0); in xfs_zone_alloc_blocks() 1074 xfs_group_set_mark(&rtg->rtg_group, XFS_RTG_FREE); in xfs_init_zone() 1080 atomic_inc(&rtg_group(rtg)->xg_active_ref); in xfs_init_zone()
|
| A D | xfs_extent_busy.c | 676 xfs_extent_busy_wait_group(rtg_group(rtg)); in xfs_extent_busy_wait_all()
|
| A D | xfs_fsmap.c | 795 info->group = rtg_group(rtg); in xfs_getfsmap_rtdev_rtbitmap() 976 info->group = rtg_group(rtg); in xfs_getfsmap_rtdev_rmapbt()
|
| A D | xfs_rtalloc.c | 1803 busy = xfs_extent_busy_trim(rtg_group(rtg), minlen, in xfs_rtalloc_check_busy() 1871 error = xfs_extent_busy_flush(args->tp, rtg_group(args->rtg), in xfs_rtallocate_adjust_for_busy()
|
| A D | xfs_reflink.c | 1085 error = xfs_refcount_recover_cow_leftovers(rtg_group(rtg)); in xfs_reflink_recover_cow()
|