Home
last modified time | relevance | path

Searched refs:rtg_rmap (Results 1 – 9 of 9) sorted by relevance

/linux/fs/xfs/libxfs/
H A Dxfs_rtgroup.c211 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_lock()
212 xfs_ilock(rtg_rmap(rtg), XFS_ILOCK_EXCL); in xfs_rtgroup_lock()
231 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_unlock()
232 xfs_iunlock(rtg_rmap(rtg), XFS_ILOCK_EXCL); in xfs_rtgroup_unlock()
263 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_trans_join()
264 xfs_trans_ijoin(tp, rtg_rmap(rtg), XFS_ILOCK_EXCL); in xfs_rtgroup_trans_join()
H A Dxfs_metafile.c287 used += rtg_rmap(rtg)->i_nblocks; in xfs_metafile_resv_init()
H A Dxfs_rtgroup.h102 static inline struct xfs_inode *rtg_rmap(const struct xfs_rtgroup *rtg) in rtg_rmap() function
/linux/fs/xfs/
H A Dxfs_zone_alloc.c84 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_account_reclaimable()
170 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_open_zone_mark_full()
199 xfs_assert_ilocked(rtg_rmap(oz->oz_rtg), XFS_ILOCK_EXCL); in xfs_zone_inc_written()
237 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zoned_map_extent()
381 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_free_blocks()
939 lockdep_assert_held(&rtg_rmap(rtg)->i_lock); in xfs_zone_rgbno_is_valid()
1042 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_init_zone()
H A Dxfs_zone_gc.c473 if (rtg_rmap(rtg)->i_used_blocks == 0 || in xfs_zone_gc_pick_victim_from()
474 rtg_rmap(rtg)->i_used_blocks >= victim_used) { in xfs_zone_gc_pick_victim_from()
482 victim_used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_gc_pick_victim_from()
491 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()
948 ASSERT(rtg_rmap(rtg)->i_used_blocks == 0); in xfs_submit_zone_reset_bio()
1007 xfs_log_force_inode(rtg_rmap(rtg)); in xfs_zone_gc_reset_zones()
H A Dxfs_rtalloc.c858 if (rtg_rmap(args->rtg) != NULL) in xfs_growfs_rt_init_rtsb()
H A Dxfs_trace.h378 __entry->used = rtg_rmap(rtg)->i_used_blocks;
413 __entry->used = rtg_rmap(rtg)->i_used_blocks;
441 __entry->used = rtg_rmap(oz->oz_rtg)->i_used_blocks;
479 __entry->used = rtg_rmap(rtg)->i_used_blocks;
/linux/fs/xfs/scrub/
H A Drtbitmap.c287 xchk_ino_xref_set_corrupt(sc, rtg_rmap(rtg)->i_ino); in xchk_xref_is_used_rt_space()
H A Drtrmap_repair.c748 error = xfs_trans_reserve_more_inode(sc->tp, rtg_rmap(rtg), in xrep_rtrmap_build_new_tree()