Searched refs:rtg_group (Results 1 – 11 of 11) sorted by relevance
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_rtgroup.h | 31 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 D | xfs_rtgroup.c | 86 rtg_group(rtg)->xg_block_count = in xfs_rtgroup_calc_geometry() 88 rtg_group(rtg)->xg_min_gbno = xfs_rtgroup_min_block(mp, rgno); in xfs_rtgroup_calc_geometry() 107 error = xfs_group_insert(mp, rtg_group(rtg), rgno, XG_TYPE_RTG); in xfs_rtgroup_alloc() 183 rtg_group(rtg)->xg_block_count = rtg->rtg_extents * mp->m_sb.sb_rextsize; in xfs_update_last_rtgroup_size() 436 xfs_group_mark_sick(rtg_group(rtg), ops->sick); in xfs_rtginode_mark_sick()
|
| H A D | xfs_rtbitmap.h | 29 xfs_rtblock_t start = xfs_group_start_fsb(rtg_group(rtg)); in xfs_rtx_to_rtb()
|
| /linux/fs/xfs/ |
| H A D | xfs_zone_gc.c | 644 *daddr = xfs_gbno_to_daddr(rtg_group(oz->oz_rtg), 0); in xfs_zone_gc_alloc_blocks() 741 atomic_inc(&rtg_group(chunk->victim_rtg)->xg_active_ref); in xfs_zone_gc_start_chunk() 827 atomic_inc(&rtg_group(chunk->victim_rtg)->xg_active_ref); in xfs_zone_gc_split_write() 927 xfs_group_set_mark(rtg_group(rtg), XFS_RTG_FREE); in xfs_zone_gc_finish_reset() 957 bio->bi_iter.bi_sector = xfs_gbno_to_daddr(rtg_group(rtg), 0); in xfs_submit_zone_reset_bio() 1009 next = rtg_group(rtg)->xg_next_reset; in xfs_zone_gc_reset_zones() 1010 rtg_group(rtg)->xg_next_reset = NULL; in xfs_zone_gc_reset_zones()
|
| H A D | xfs_health.c | 65 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 D | xfs_discard.c | 649 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 D | xfs_zone_alloc.c | 81 struct xfs_group *xg = rtg_group(rtg); in xfs_zone_account_reclaimable() 765 *sector = xfs_gbno_to_daddr(rtg_group(rtg), 0); in xfs_zone_alloc_blocks() 994 sector_t start = xfs_gbno_to_daddr(&rtg->rtg_group, 0); in xfs_query_write_pointer() 1086 xfs_group_set_mark(rtg_group(rtg), XFS_RTG_FREE); in xfs_init_zone() 1092 atomic_inc(&rtg_group(rtg)->xg_active_ref); in xfs_init_zone() 1266 xfs_gbno_to_daddr(rtg_group(rtg), 0)); in xfs_zone_is_conv()
|
| H 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()
|
| H A D | xfs_rtalloc.c | 1835 busy = xfs_extent_busy_trim(rtg_group(rtg), minlen, in xfs_rtalloc_check_busy() 1903 error = xfs_extent_busy_flush(args->tp, rtg_group(args->rtg), in xfs_rtallocate_adjust_for_busy()
|
| /linux/fs/xfs/scrub/ |
| H A D | rtrmap_repair.c | 852 trace_xrep_rmap_live_update(rtg_group(rr->sc->sr.rtg), action, p); in xrep_rtrmapbt_live_update() 909 error = xfs_rmap_hook_add(rtg_group(sc->sr.rtg), &rr->rhook); in xrep_rtrmap_setup_scan() 931 xfs_rmap_hook_del(rtg_group(sc->sr.rtg), &rr->rhook); in xrep_rtrmap_teardown()
|
| H A D | rtrefcount_repair.c | 183 trace_xrep_refc_found(rtg_group(rr->sc->sr.rtg), &irec); in xrep_rtrefc_stash()
|