Searched refs:rtg_blocks (Results 1 – 4 of 4) sorted by relevance
80 bool was_full = (used + freed == rtg_blocks(rtg)); in xfs_zone_account_reclaimable()162 if (used < rtg_blocks(rtg)) in xfs_open_zone_mark_full()182 ASSERT(rmapip->i_used_blocks <= rtg_blocks(rtg)); in xfs_zone_record_blocks()184 if (oz->oz_written == rtg_blocks(rtg)) in xfs_zone_record_blocks()205 if (oz->oz_written == rtg_blocks(rtg)) in xfs_zone_skip_blocks()588 if (oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_try_use_zone()761 (xfs_filblks_t)rtg_blocks(rtg) - oz->oz_allocated); in xfs_zone_alloc_blocks()1075 iz->available += rtg_blocks(rtg); in xfs_init_zone()1076 } else if (write_pointer < rtg_blocks(rtg)) { in xfs_init_zone()1088 } else if (used < rtg_blocks(rtg)) { in xfs_init_zone()[all …]
320 ASSERT(iter->next_startblock <= rtg_blocks(rtg)); in xfs_zone_gc_query()321 if (iter->next_startblock == rtg_blocks(rtg)) in xfs_zone_gc_query()324 ASSERT(iter->next_startblock < rtg_blocks(rtg)); in xfs_zone_gc_query()358 iter->next_startblock = rtg_blocks(rtg); in xfs_zone_gc_query()473 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()557 if (oz && oz->oz_written < rtg_blocks(oz->oz_rtg)) in xfs_zone_gc_select_target()583 if (!oz || oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_zone_gc_ensure_target()604 return oz->oz_allocated < rtg_blocks(oz->oz_rtg) && in xfs_zone_gc_space_available()646 rtg_blocks(oz->oz_rtg) - oz->oz_allocated); in xfs_zone_gc_alloc_blocks()891 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
278 rgeo->rg_length = rtg_blocks(rtg); in xfs_rtgroup_get_geometry()
Completed in 15 milliseconds