Home
last modified time | relevance | path

Searched refs:rtglock_flags (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/libxfs/
A Dxfs_rtgroup.c191 unsigned int rtglock_flags) in xfs_rtgroup_lock() argument
193 ASSERT(!(rtglock_flags & ~XFS_RTGLOCK_ALL_FLAGS)); in xfs_rtgroup_lock()
195 !(rtglock_flags & XFS_RTGLOCK_BITMAP)); in xfs_rtgroup_lock()
198 if (rtglock_flags & XFS_RTGLOCK_BITMAP) { in xfs_rtgroup_lock()
221 unsigned int rtglock_flags) in xfs_rtgroup_unlock() argument
223 ASSERT(!(rtglock_flags & ~XFS_RTGLOCK_ALL_FLAGS)); in xfs_rtgroup_unlock()
225 !(rtglock_flags & XFS_RTGLOCK_BITMAP)); in xfs_rtgroup_unlock()
234 if (rtglock_flags & XFS_RTGLOCK_BITMAP) { in xfs_rtgroup_unlock()
251 unsigned int rtglock_flags) in xfs_rtgroup_trans_join() argument
253 ASSERT(!(rtglock_flags & ~XFS_RTGLOCK_ALL_FLAGS)); in xfs_rtgroup_trans_join()
[all …]
A Dxfs_rtgroup.h312 void xfs_rtgroup_lock(struct xfs_rtgroup *rtg, unsigned int rtglock_flags);
313 void xfs_rtgroup_unlock(struct xfs_rtgroup *rtg, unsigned int rtglock_flags);
315 unsigned int rtglock_flags);
/fs/xfs/scrub/
A Dcommon.c730 unsigned int rtglock_flags) in xchk_rtgroup_lock() argument
742 if (rtglock_flags == XFS_RTGLOCK_BITMAP_SHARED) { in xchk_rtgroup_lock()
743 xfs_rtgroup_lock(sr->rtg, rtglock_flags); in xchk_rtgroup_lock()
744 sr->rtlock_flags = rtglock_flags; in xchk_rtgroup_lock()
752 xfs_rtgroup_lock(sr->rtg, rtglock_flags); in xchk_rtgroup_lock()
784 xfs_rtgroup_unlock(sr->rtg, rtglock_flags); in xchk_rtgroup_lock()
796 sr->rtlock_flags = rtglock_flags; in xchk_rtgroup_lock()
798 if (xfs_has_rtrmapbt(sc->mp) && (rtglock_flags & XFS_RTGLOCK_RMAP)) in xchk_rtgroup_lock()
801 if (xfs_has_rtreflink(sc->mp) && (rtglock_flags & XFS_RTGLOCK_REFCOUNT)) in xchk_rtgroup_lock()
A Drtbitmap.h44 unsigned int rtglock_flags; member
A Drepair.c1030 unsigned int rtglock_flags) in xrep_rtgroup_init() argument
1034 xfs_rtgroup_lock(rtg, rtglock_flags); in xrep_rtgroup_init()
1035 sr->rtlock_flags = rtglock_flags; in xrep_rtgroup_init()
A Drepair.h116 struct xchk_rt *sr, unsigned int rtglock_flags);
A Dcommon.h152 unsigned int rtglock_flags);

Completed in 19 milliseconds