Lines Matching refs:XFS_IOLOCK_EXCL

177 	ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) !=  in xfs_ilock()
178 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock()
185 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock()
228 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock_nowait()
229 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait()
236 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait()
267 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait()
297 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_iunlock()
298 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock()
306 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock()
333 ASSERT(lock_flags & (XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)); in xfs_ilock_demote()
335 ~(XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)) == 0); in xfs_ilock_demote()
341 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_demote()
365 if (lock_flags & (XFS_IOLOCK_EXCL|XFS_IOLOCK_SHARED)) { in xfs_isilocked()
409 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) { in xfs_lock_inumorder()
459 ASSERT(lock_mode & (XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL | in xfs_lock_inodes()
468 if (lock_mode & XFS_IOLOCK_EXCL) { in xfs_lock_inodes()
558 ASSERT(!(ip0_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL))); in xfs_lock_two_inodes()
559 ASSERT(!(ip1_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL))); in xfs_lock_two_inodes()
1534 xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_itruncate_extents_flags()
1670 if (xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_release()
1672 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_release()