Home
last modified time | relevance | path

Searched refs:rtg_rmap (Results 1 – 11 of 11) 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.c282 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
H 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()
/linux/fs/xfs/
H A Dxfs_zone_gc.c471 if (rtg_rmap(rtg)->i_used_blocks == 0 || in xfs_zone_gc_pick_victim_from()
472 rtg_rmap(rtg)->i_used_blocks >= victim_used) { in xfs_zone_gc_pick_victim_from()
480 victim_used = rtg_rmap(rtg)->i_used_blocks; in xfs_zone_gc_pick_victim_from()
489 rtg_rmap(rtg)->i_used_blocks < rtg_blocks(rtg) / 100) in xfs_zone_gc_pick_victim_from()
916 ASSERT(rtg_rmap(rtg)->i_used_blocks == 0); in xfs_zone_gc_prepare_reset()
962 xfs_log_force_inode(rtg_rmap(rtg)); in xfs_zone_gc_reset_zones()
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()
201 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_record_blocks()
382 struct xfs_inode *rmapip = rtg_rmap(rtg); in xfs_zone_free_blocks()
949 lockdep_assert_held(&rtg_rmap(rtg)->i_lock); in xfs_zone_rgbno_is_valid()
992 uint32_t used = rtg_rmap(rtg)->i_used_blocks; in xfs_init_zone()
H A Dxfs_zone_info.c36 rtg_rmap(oz->oz_rtg)->i_used_blocks, in xfs_show_open_zone()
H A Dxfs_rtalloc.c855 if (rtg_rmap(args->rtg) != NULL) in xfs_growfs_rt_init_rtsb()
/linux/fs/xfs/scrub/
H 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()
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.c751 error = xfs_trans_reserve_more_inode(sc->tp, rtg_rmap(rtg), in xrep_rtrmap_build_new_tree()