Searched refs:rtg_blocks (Results 1 – 3 of 3) sorted by relevance
89 bool was_full = (used + freed == rtg_blocks(rtg)); in xfs_zone_account_reclaimable()190 if (used < rtg_blocks(rtg)) in xfs_open_zone_mark_full()191 xfs_zone_account_reclaimable(rtg, rtg_blocks(rtg) - used); in xfs_open_zone_mark_full()203 if (oz->oz_written == rtg_blocks(oz->oz_rtg)) in xfs_zone_inc_written()303 ASSERT(rmapip->i_used_blocks <= rtg_blocks(rtg)); in xfs_zoned_map_extent()568 if (oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_try_use_zone()757 (xfs_filblks_t)rtg_blocks(rtg) - oz->oz_allocated); in xfs_zone_alloc_blocks()810 if (oz->oz_allocated == rtg_blocks(oz->oz_rtg)) { in xfs_get_cached_zone()813 if (oz && oz->oz_allocated == rtg_blocks(oz->oz_rtg)) { in xfs_get_cached_zone()864 if (old_oz && old_oz->oz_allocated < rtg_blocks(old_oz->oz_rtg) && in xfs_set_cached_zone()[all …]
336 ASSERT(iter->next_startblock <= rtg_blocks(rtg)); in xfs_zone_gc_query()337 if (iter->next_startblock == rtg_blocks(rtg)) in xfs_zone_gc_query()340 ASSERT(iter->next_startblock < rtg_blocks(rtg)); in xfs_zone_gc_query()374 iter->next_startblock = rtg_blocks(rtg); in xfs_zone_gc_query()501 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()580 if (data->oz->oz_allocated < rtg_blocks(data->oz->oz_rtg)) in xfs_zone_gc_select_target()587 if (data->oz->oz_written < rtg_blocks(data->oz->oz_rtg)) in xfs_zone_gc_select_target()643 rtg_blocks(oz->oz_rtg) - oz->oz_allocated); in xfs_zone_gc_alloc_blocks()944 xfs_zoned_add_available(mp, rtg_blocks(rtg)); in xfs_zone_gc_finish_reset()983 bio->bi_iter.bi_size = XFS_FSB_TO_B(mp, rtg_blocks(rtg)); in xfs_submit_zone_reset_bio()
87 static inline xfs_rgblock_t rtg_blocks(const struct xfs_rtgroup *rtg) in rtg_blocks() function