Lines Matching refs:XFS_IOLOCK_EXCL
145 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_lock_flags_assert()
146 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_lock_flags_assert()
194 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock()
237 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait()
268 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait()
295 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock()
322 ASSERT(lock_flags & (XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)); in xfs_ilock_demote()
324 ~(XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)) == 0); in xfs_ilock_demote()
330 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_demote()
373 if (lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) { in xfs_isilocked()
417 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) { in xfs_lock_inumorder()
470 ASSERT(lock_mode & (XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL | in xfs_lock_inodes()
479 if (lock_mode & XFS_IOLOCK_EXCL) { in xfs_lock_inodes()
563 ASSERT(!(ip0_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL))); in xfs_lock_two_inodes()
564 ASSERT(!(ip1_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL))); in xfs_lock_two_inodes()
1341 xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_itruncate_extents_flags()
1452 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) in xfs_release()
1483 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_release()