Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_zones.c25 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()
A Dxfs_rtgroup.c210 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()
A Dxfs_metafile.c282 used += rtg_rmap(rtg)->i_nblocks; in xfs_metafile_resv_init()
A Dxfs_rtgroup.h102 static inline struct xfs_inode *rtg_rmap(const struct xfs_rtgroup *rtg) in rtg_rmap() function
A Dxfs_rtrmap_btree.c508 struct xfs_inode *ip = rtg_rmap(rtg); in xfs_rtrmapbt_init_cursor()
1023 struct xfs_btree_block *block = rtg_rmap(rtg)->i_df.if_broot; in xfs_rtrmap_highest_rgbno()
/fs/xfs/
A Dxfs_zone_alloc.c76 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_account_reclaimable()
144 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()
348 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_free_blocks()
405 xfs_ilock(rtg_rmap(rtg), XFS_ILOCK_SHARED); in xfs_last_used_zone()
409 xfs_iunlock(rtg_rmap(rtg), XFS_ILOCK_SHARED); in xfs_last_used_zone()
993 lockdep_assert_held(&rtg_rmap(rtg)->i_lock); in xfs_zone_rgbno_is_valid()
1030 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_init_zone()
A Dxfs_zone_gc.c455 if (rtg_rmap(rtg)->i_used_blocks == 0 || in xfs_zone_gc_pick_victim_from()
456 rtg_rmap(rtg)->i_used_blocks >= victim_used) { in xfs_zone_gc_pick_victim_from()
464 victim_used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_gc_pick_victim_from()
473 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()
906 ASSERT(rtg_rmap(rtg)->i_used_blocks == 0); in xfs_zone_gc_prepare_reset()
952 xfs_log_force_inode(rtg_rmap(rtg)); in xfs_zone_gc_reset_zones()
A Dxfs_zone_info.c36 rtg_rmap(oz->oz_rtg)->i_used_blocks, in xfs_show_open_zone()
A Dxfs_rtalloc.c855 if (rtg_rmap(args->rtg) != NULL) in xfs_growfs_rt_init_rtsb()
A Dxfs_trace.h374 __entry->used = rtg_rmap(rtg)->i_used_blocks;
408 __entry->used = rtg_rmap(rtg)->i_used_blocks;
436 __entry->used = rtg_rmap(oz->oz_rtg)->i_used_blocks;
473 __entry->used = rtg_rmap(rtg)->i_used_blocks;
/fs/xfs/scrub/
A Drtrmap.c57 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()
A Drtbitmap.c287 xchk_ino_xref_set_corrupt(sc, rtg_rmap(rtg)->i_ino); in xchk_xref_is_used_rt_space()
A Drtrmap_repair.c751 error = xfs_trans_reserve_more_inode(sc->tp, rtg_rmap(rtg), in xrep_rtrmap_build_new_tree()

Completed in 29 milliseconds