Searched refs:rtg_rmap (Results 1 – 13 of 13) sorted by relevance
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_zones.c | 25 if (rtg_rmap(rtg)->i_used_blocks > 0) { in xfs_zone_validate_empty() 27 rtg_rgno(rtg), rtg_rmap(rtg)->i_used_blocks); in xfs_zone_validate_empty() 44 if (rtg_rmap(rtg)->i_used_blocks > rtg->rtg_extents) { in xfs_zone_validate_wp() 46 rtg_rgno(rtg), rtg_rmap(rtg)->i_used_blocks); in xfs_zone_validate_wp() 74 if (rtg_rmap(rtg)->i_used_blocks > rtg->rtg_extents) { in xfs_zone_validate_full() 76 rtg_rgno(rtg), rtg_rmap(rtg)->i_used_blocks); in xfs_zone_validate_full()
|
| H A D | xfs_rtgroup.c | 210 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_lock() 211 xfs_ilock(rtg_rmap(rtg), XFS_ILOCK_EXCL); in xfs_rtgroup_lock() 230 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_unlock() 231 xfs_iunlock(rtg_rmap(rtg), XFS_ILOCK_EXCL); in xfs_rtgroup_unlock() 262 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_trans_join() 263 xfs_trans_ijoin(tp, rtg_rmap(rtg), XFS_ILOCK_EXCL); in xfs_rtgroup_trans_join()
|
| H A D | xfs_metafile.c | 282 used += rtg_rmap(rtg)->i_nblocks; in xfs_metafile_resv_init()
|
| H A D | xfs_rtgroup.h | 102 static inline struct xfs_inode *rtg_rmap(const struct xfs_rtgroup *rtg) in rtg_rmap() function
|
| H A D | xfs_rtrmap_btree.c | 529 struct xfs_inode *ip = rtg_rmap(rtg); in xfs_rtrmapbt_init_cursor() 1044 struct xfs_btree_block *block = rtg_rmap(rtg)->i_df.if_broot; in xfs_rtrmap_highest_rgbno()
|
| /linux-6.15/fs/xfs/ |
| H A D | xfs_zone_alloc.c | 75 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_account_reclaimable() 143 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_open_zone_mark_full() 175 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_record_blocks() 331 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_free_blocks() 388 xfs_ilock(rtg_rmap(rtg), XFS_ILOCK_SHARED); in xfs_last_used_zone() 392 xfs_iunlock(rtg_rmap(rtg), XFS_ILOCK_SHARED); in xfs_last_used_zone() 883 lockdep_assert_held(&rtg_rmap(rtg)->i_lock); in xfs_zone_rgbno_is_valid() 920 uint64_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_init_zone()
|
| H A D | xfs_zone_gc.c | 460 if (rtg_rmap(rtg)->i_used_blocks == 0 || in xfs_zone_gc_pick_victim_from() 461 rtg_rmap(rtg)->i_used_blocks >= victim_used) { in xfs_zone_gc_pick_victim_from() 469 victim_used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_gc_pick_victim_from() 478 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from() 912 ASSERT(rtg_rmap(rtg)->i_used_blocks == 0); in xfs_zone_gc_prepare_reset() 958 xfs_log_force_inode(rtg_rmap(rtg)); in xfs_zone_gc_reset_zones()
|
| H A D | xfs_zone_info.c | 36 rtg_rmap(oz->oz_rtg)->i_used_blocks, in xfs_show_open_zone()
|
| H A D | xfs_rtalloc.c | 857 if (rtg_rmap(args->rtg) != NULL) in xfs_growfs_rt_init_rtsb()
|
| H A D | xfs_trace.h | 284 __entry->used = rtg_rmap(rtg)->i_used_blocks; 318 __entry->used = rtg_rmap(rtg)->i_used_blocks; 346 __entry->used = rtg_rmap(oz->oz_rtg)->i_used_blocks; 382 __entry->used = rtg_rmap(rtg)->i_used_blocks;
|
| /linux-6.15/fs/xfs/scrub/ |
| H A D | rtrmap.c | 57 error = xchk_install_live_inode(sc, rtg_rmap(sc->sr.rtg)); in xchk_setup_rtrmapbt() 247 struct xfs_inode *ip = rtg_rmap(sc->sr.rtg); in xchk_rtrmapbt()
|
| H A D | rtbitmap.c | 287 xchk_ino_xref_set_corrupt(sc, rtg_rmap(rtg)->i_ino); in xchk_xref_is_used_rt_space()
|
| H A D | rtrmap_repair.c | 753 error = xfs_trans_reserve_more_inode(sc->tp, rtg_rmap(rtg), in xrep_rtrmap_build_new_tree()
|