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()563 if (oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_try_use_zone()751 (xfs_filblks_t)rtg_blocks(rtg) - oz->oz_allocated); in xfs_zone_alloc_blocks()1073 if (write_pointer == rtg_blocks(rtg) && used == 0) { in xfs_init_zone()1084 iz->available += rtg_blocks(rtg); in xfs_init_zone()[all …]
313 ASSERT(iter->next_startblock <= rtg_blocks(rtg)); in xfs_zone_gc_query()314 if (iter->next_startblock == rtg_blocks(rtg)) in xfs_zone_gc_query()317 ASSERT(iter->next_startblock < rtg_blocks(rtg)); in xfs_zone_gc_query()351 iter->next_startblock = rtg_blocks(rtg); in xfs_zone_gc_query()481 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()550 if (oz && oz->oz_written < rtg_blocks(oz->oz_rtg)) in xfs_zone_gc_select_target()576 if (!oz || oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_zone_gc_ensure_target()618 rtg_blocks(oz->oz_rtg) - oz->oz_allocated); in xfs_zone_gc_alloc_blocks()892 xfs_zoned_add_available(mp, rtg_blocks(rtg)); in xfs_zone_gc_finish_reset()930 bio->bi_iter.bi_size = XFS_FSB_TO_B(mp, rtg_blocks(rtg)); in xfs_submit_zone_reset_bio()[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()