Searched refs:rtglock_flags (Results 1 – 6 of 6) sorted by relevance
192 unsigned int rtglock_flags) in xfs_rtgroup_lock() argument194 ASSERT(!(rtglock_flags & ~XFS_RTGLOCK_ALL_FLAGS)); in xfs_rtgroup_lock()195 ASSERT(!(rtglock_flags & XFS_RTGLOCK_BITMAP_SHARED) || in xfs_rtgroup_lock()196 !(rtglock_flags & XFS_RTGLOCK_BITMAP)); in xfs_rtgroup_lock()199 if (rtglock_flags & XFS_RTGLOCK_BITMAP) { in xfs_rtgroup_lock()206 } else if (rtglock_flags & XFS_RTGLOCK_BITMAP_SHARED) { in xfs_rtgroup_lock()211 if ((rtglock_flags & XFS_RTGLOCK_RMAP) && rtg_rmap(rtg)) in xfs_rtgroup_lock()214 if ((rtglock_flags & XFS_RTGLOCK_REFCOUNT) && rtg_refcount(rtg)) in xfs_rtgroup_lock()222 unsigned int rtglock_flags) in xfs_rtgroup_unlock() argument224 ASSERT(!(rtglock_flags & ~XFS_RTGLOCK_ALL_FLAGS)); in xfs_rtgroup_unlock()[all …]
310 void xfs_rtgroup_lock(struct xfs_rtgroup *rtg, unsigned int rtglock_flags);311 void xfs_rtgroup_unlock(struct xfs_rtgroup *rtg, unsigned int rtglock_flags);313 unsigned int rtglock_flags);
745 unsigned int rtglock_flags) in xchk_rtgroup_lock() argument757 if (rtglock_flags == XFS_RTGLOCK_BITMAP_SHARED) { in xchk_rtgroup_lock()758 xfs_rtgroup_lock(sr->rtg, rtglock_flags); in xchk_rtgroup_lock()759 sr->rtlock_flags = rtglock_flags; in xchk_rtgroup_lock()767 xfs_rtgroup_lock(sr->rtg, rtglock_flags); in xchk_rtgroup_lock()799 xfs_rtgroup_unlock(sr->rtg, rtglock_flags); in xchk_rtgroup_lock()811 sr->rtlock_flags = rtglock_flags; in xchk_rtgroup_lock()813 if (xfs_has_rtrmapbt(sc->mp) && (rtglock_flags & XFS_RTGLOCK_RMAP)) in xchk_rtgroup_lock()816 if (xfs_has_rtreflink(sc->mp) && (rtglock_flags & XFS_RTGLOCK_REFCOUNT)) in xchk_rtgroup_lock()
44 unsigned int rtglock_flags; member
108 struct xchk_rt *sr, unsigned int rtglock_flags);
154 unsigned int rtglock_flags);