Lines Matching refs:XFS_ILOCK_EXCL
117 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_data_map_shared()
130 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_attr_map_shared()
181 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock()
182 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock()
198 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock()
232 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock_nowait()
233 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock_nowait()
252 if (lock_flags & XFS_ILOCK_EXCL) { in xfs_ilock_nowait()
301 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_iunlock()
302 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_iunlock()
316 if (lock_flags & XFS_ILOCK_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()
337 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock_demote()
353 if (lock_flags & (XFS_ILOCK_EXCL|XFS_ILOCK_SHARED)) { in xfs_isilocked()
419 if (lock_mode & (XFS_ILOCK_SHARED|XFS_ILOCK_EXCL)) { in xfs_lock_inumorder()
460 XFS_ILOCK_EXCL)); in xfs_lock_inodes()
465 ASSERT(!(lock_mode & XFS_ILOCK_EXCL) || in xfs_lock_inodes()
469 ASSERT(!(lock_mode & (XFS_MMAPLOCK_EXCL | XFS_ILOCK_EXCL))); in xfs_lock_inodes()
471 ASSERT(!(lock_mode & XFS_ILOCK_EXCL)); in xfs_lock_inodes()
561 !(ip0_mode & (XFS_ILOCK_SHARED|XFS_ILOCK_EXCL))); in xfs_lock_two_inodes()
563 !(ip1_mode & (XFS_ILOCK_SHARED|XFS_ILOCK_EXCL))); in xfs_lock_two_inodes()
565 !(ip0_mode & (XFS_ILOCK_SHARED|XFS_ILOCK_EXCL))); in xfs_lock_two_inodes()
567 !(ip1_mode & (XFS_ILOCK_SHARED|XFS_ILOCK_EXCL))); in xfs_lock_two_inodes()
799 XFS_ILOCK_EXCL, &ip); in xfs_ialloc()
945 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_ialloc()
1193 xfs_ilock(dp, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT); in xfs_create()
1220 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_create()
1287 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_create()
1419 xfs_lock_two_inodes(sip, XFS_ILOCK_EXCL, tdp, XFS_ILOCK_EXCL); in xfs_link()
1421 xfs_trans_ijoin(tp, sip, XFS_ILOCK_EXCL); in xfs_link()
1422 xfs_trans_ijoin(tp, tdp, XFS_ILOCK_EXCL); in xfs_link()
1532 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_itruncate_extents_flags()
1702 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_truncate()
1723 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_truncate()
1729 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_truncate()
1795 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_ifree()
1796 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_inactive_ifree()
1799 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_inactive_ifree()
2330 if (!xfs_ilock_nowait(ip, XFS_ILOCK_EXCL)) { in xfs_ifree_cluster()
2344 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_ifree_cluster()
2362 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_ifree_cluster()
2377 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_ifree_cluster()
2424 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_ifree()
2478 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED)); in xfs_iunpin()
2585 xfs_lock_two_inodes(dp, XFS_ILOCK_EXCL, ip, XFS_ILOCK_EXCL); in xfs_remove()
2587 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_remove()
2588 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_remove()
2936 xfs_lock_inodes(inodes, num_inodes, XFS_ILOCK_EXCL); in xfs_rename()
2943 xfs_trans_ijoin(tp, src_dp, XFS_ILOCK_EXCL); in xfs_rename()
2945 xfs_trans_ijoin(tp, target_dp, XFS_ILOCK_EXCL); in xfs_rename()
2946 xfs_trans_ijoin(tp, src_ip, XFS_ILOCK_EXCL); in xfs_rename()
2948 xfs_trans_ijoin(tp, target_ip, XFS_ILOCK_EXCL); in xfs_rename()
2950 xfs_trans_ijoin(tp, wip, XFS_ILOCK_EXCL); in xfs_rename()
3330 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED)); in xfs_iflush()
3462 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED)); in xfs_iflush_int()