Searched refs:rtg_blocks (Results 1 – 4 of 4) sorted by relevance
88 bool was_full = (used + freed == rtg_blocks(rtg)); in xfs_zone_account_reclaimable()188 if (used < rtg_blocks(rtg)) in xfs_open_zone_mark_full()189 xfs_zone_account_reclaimable(rtg, rtg_blocks(rtg) - used); in xfs_open_zone_mark_full()208 ASSERT(rmapip->i_used_blocks <= rtg_blocks(rtg)); in xfs_zone_record_blocks()210 if (oz->oz_written == rtg_blocks(rtg)) in xfs_zone_record_blocks()231 if (oz->oz_written == rtg_blocks(rtg)) in xfs_zone_skip_blocks()576 if (oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_try_use_zone()764 (xfs_filblks_t)rtg_blocks(rtg) - oz->oz_allocated); in xfs_zone_alloc_blocks()1026 if (write_pointer == rtg_blocks(rtg) && used == 0) { in xfs_init_zone()1037 iz->available += rtg_blocks(rtg); in xfs_init_zone()[all …]
321 ASSERT(iter->next_startblock <= rtg_blocks(rtg)); in xfs_zone_gc_query()322 if (iter->next_startblock == rtg_blocks(rtg)) in xfs_zone_gc_query()325 ASSERT(iter->next_startblock < rtg_blocks(rtg)); in xfs_zone_gc_query()359 iter->next_startblock = rtg_blocks(rtg); in xfs_zone_gc_query()489 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()558 if (oz && oz->oz_written < rtg_blocks(oz->oz_rtg)) in xfs_zone_gc_select_target()584 if (!oz || oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_zone_gc_ensure_target()605 return oz->oz_allocated < rtg_blocks(oz->oz_rtg) && in xfs_zone_gc_space_available()647 rtg_blocks(oz->oz_rtg) - oz->oz_allocated); in xfs_zone_gc_alloc_blocks()901 xfs_zoned_add_available(mp, rtg_blocks(rtg)); in xfs_zone_gc_finish_reset()[all …]
87 static inline xfs_rgblock_t rtg_blocks(const struct xfs_rtgroup *rtg) in rtg_blocks() function
279 rgeo->rg_length = rtg_blocks(rtg); in xfs_rtgroup_get_geometry()