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() 189 if (used < rtg_blocks(rtg)) in xfs_open_zone_mark_full() 190 xfs_zone_account_reclaimable(rtg, rtg_blocks(rtg) - used); in xfs_open_zone_mark_full() 202 if (oz->oz_written == rtg_blocks(oz->oz_rtg)) in xfs_zone_inc_written() 302 ASSERT(rmapip->i_used_blocks <= rtg_blocks(rtg)); in xfs_zoned_map_extent() 565 if (oz->oz_allocated == rtg_blocks(oz->oz_rtg)) in xfs_try_use_zone() 754 (xfs_filblks_t)rtg_blocks(rtg) - oz->oz_allocated); in xfs_zone_alloc_blocks() 1084 if (write_pointer == rtg_blocks(rtg) && used == 0) { in xfs_init_zone() 1094 iz->available += rtg_blocks(rtg); in xfs_init_zone() 1095 } else if (write_pointer < rtg_blocks(rt in xfs_init_zone() [all...]
326 ASSERT(iter->next_startblock <= rtg_blocks(rtg)); in xfs_zone_gc_query() 327 if (iter->next_startblock == rtg_blocks(rtg)) in xfs_zone_gc_query() 330 ASSERT(iter->next_startblock < rtg_blocks(rtg)); in xfs_zone_gc_query() 364 iter->next_startblock = rtg_blocks(rtg); in xfs_zone_gc_query() 491 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from() 570 if (data->oz->oz_allocated < rtg_blocks(data->oz->oz_rtg)) in xfs_zone_gc_select_target() 577 if (data->oz->oz_written < rtg_blocks(data->oz->oz_rtg)) in xfs_zone_gc_select_target() 633 rtg_blocks(oz->oz_rtg) - oz->oz_allocated); in xfs_zone_gc_alloc_blocks() 928 xfs_zoned_add_available(mp, rtg_blocks(rtg)); in xfs_zone_gc_finish_reset() 967 bio->bi_iter.bi_size = XFS_FSB_TO_B(mp, rtg_blocks(rt 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()