Home
last modified time | relevance | path

Searched refs:m_rbmip (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/fs/xfs/scrub/
Drtbitmap.c31 error = xchk_install_live_inode(sc, sc->mp->m_rbmip); in xchk_setup_rtbitmap()
79 error = xfs_bmapi_read(mp->m_rbmip, off, in xchk_rtbitmap_check_extents()
104 if (sc->mp->m_rbmip->i_disk_size != in xchk_rtbitmap()
106 xchk_ino_set_corrupt(sc, sc->mp->m_rbmip->i_ino); in xchk_rtbitmap()
148 xfs_ilock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_xref_is_used_rt_space()
154 xchk_ino_xref_set_corrupt(sc, sc->mp->m_rbmip->i_ino); in xchk_xref_is_used_rt_space()
156 xfs_iunlock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_xref_is_used_rt_space()
Drtsummary.c72 xfs_ilock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_setup_rtsummary()
141 xchk_ino_xref_set_corrupt(sc, mp->m_rbmip->i_ino); in xchk_rtsum_record_free()
168 mp->m_rbmip->i_disk_size) in xchk_rtsum_compute()
250 xchk_ino_xref_set_corrupt(sc, mp->m_rbmip->i_ino); in xchk_rtsummary()
262 xfs_iunlock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_rtsummary()
Dfscounters.c421 xfs_ilock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_fscount_count_frextents()
430 xfs_iunlock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_fscount_count_frextents()
/Linux-v6.6/fs/xfs/
Dxfs_rtalloc.c940 if (!mp->m_rbmip || !mp->m_rsumip) in xfs_growfs_rt()
996 rbmblocks = XFS_B_TO_FSB(mp, mp->m_rbmip->i_disk_size); in xfs_growfs_rt()
1001 error = xfs_growfs_rt_alloc(mp, rbmblocks, nrbmblocks, mp->m_rbmip); in xfs_growfs_rt()
1059 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL | XFS_ILOCK_RTBITMAP); in xfs_growfs_rt()
1060 xfs_trans_ijoin(tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_growfs_rt()
1066 mp->m_rbmip->i_disk_size = in xfs_growfs_rt()
1068 i_size_write(VFS_I(mp->m_rbmip), mp->m_rbmip->i_disk_size); in xfs_growfs_rt()
1069 xfs_trans_log_inode(tp, mp->m_rbmip, XFS_ILOG_CORE); in xfs_growfs_rt()
1191 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtallocate_extent()
1268 mp->m_rbmip = mp->m_rsumip = NULL; in xfs_rtmount_init()
[all …]
Dxfs_inode.h285 return ip == mp->m_rbmip || ip == mp->m_rsumip || in xfs_is_metadata_inode()
Dxfs_mount.h93 struct xfs_inode *m_rbmip; /* pointer to bitmap inode */ member
Dxfs_fsmap.c536 xfs_ilock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xfs_getfsmap_rtdev_rtbitmap()
563 xfs_iunlock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xfs_getfsmap_rtdev_rtbitmap()
Dxfs_qm.c223 if (mp->m_rbmip) in xfs_qm_unmount_quotas()
224 xfs_qm_dqdetach(mp->m_rbmip); in xfs_qm_unmount_quotas()
Dxfs_bmap_util.c135 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL|XFS_ILOCK_RTBITMAP); in xfs_bmap_rtalloc()
136 xfs_trans_ijoin(ap->tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc()
/Linux-v6.6/fs/xfs/libxfs/
Dxfs_rtbitmap.c67 ip = issum ? mp->m_rsumip : mp->m_rbmip; in xfs_rtbuf_get()
976 ASSERT(mp->m_rbmip->i_itemp != NULL); in xfs_rtfree_extent()
977 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtfree_extent()
1000 if (!(mp->m_rbmip->i_diflags & XFS_DIFLAG_NEWRTBM)) in xfs_rtfree_extent()
1001 mp->m_rbmip->i_diflags |= XFS_DIFLAG_NEWRTBM; in xfs_rtfree_extent()
1002 *(uint64_t *)&VFS_I(mp->m_rbmip)->i_atime = 0; in xfs_rtfree_extent()
1003 xfs_trans_log_inode(tp, mp->m_rbmip, XFS_ILOG_CORE); in xfs_rtfree_extent()
Dxfs_bmap.c5342 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL|XFS_ILOCK_RTBITMAP); in __xfs_bunmapi()
5343 xfs_trans_ijoin(tp, mp->m_rbmip, XFS_ILOCK_EXCL); in __xfs_bunmapi()