Lines Matching refs:XFS_ILOCK_EXCL

72 		lock_mode = XFS_ILOCK_EXCL;  in xfs_ilock_data_map_shared()
84 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_attr_map_shared()
103 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_lock_flags_assert()
104 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_lock_flags_assert()
164 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock()
207 if (lock_flags & XFS_ILOCK_EXCL) { in xfs_ilock_nowait()
259 if (lock_flags & XFS_ILOCK_EXCL) in xfs_iunlock()
276 ASSERT(lock_flags & (XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)); in xfs_ilock_demote()
278 ~(XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)) == 0); in xfs_ilock_demote()
280 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock_demote()
301 else if (lock_flags & XFS_ILOCK_EXCL) in xfs_assert_ilocked()
358 if (lock_mode & (XFS_ILOCK_SHARED|XFS_ILOCK_EXCL)) { in xfs_lock_inumorder()
402 XFS_ILOCK_EXCL)); in xfs_lock_inodes()
407 ASSERT(!(lock_mode & XFS_ILOCK_EXCL) || in xfs_lock_inodes()
411 ASSERT(!(lock_mode & (XFS_MMAPLOCK_EXCL | XFS_ILOCK_EXCL))); in xfs_lock_inodes()
413 ASSERT(!(lock_mode & XFS_ILOCK_EXCL)); in xfs_lock_inodes()
600 error = xfs_iget(mp, tp, ino, XFS_IGET_CREATE, XFS_ILOCK_EXCL, &ip); in xfs_icreate()
711 xfs_ilock(dp, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT); in xfs_create()
762 xfs_iunlock(du.ip, XFS_ILOCK_EXCL); in xfs_create()
763 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_create()
776 xfs_iunlock(du.ip, XFS_ILOCK_EXCL); in xfs_create()
788 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_create()
856 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_create_tmpfile()
868 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_create_tmpfile()
968 xfs_iunlock(tdp, XFS_ILOCK_EXCL); in xfs_link()
969 xfs_iunlock(sip, XFS_ILOCK_EXCL); in xfs_link()
975 xfs_iunlock(tdp, XFS_ILOCK_EXCL); in xfs_link()
976 xfs_iunlock(sip, XFS_ILOCK_EXCL); in xfs_link()
1037 xfs_assert_ilocked(ip, XFS_ILOCK_EXCL); in xfs_itruncate_extents_flags()
1157 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_truncate()
1178 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_truncate()
1184 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_truncate()
1250 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_ifree()
1251 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_inactive_ifree()
1254 xfs_assert_ilocked(ip, XFS_ILOCK_EXCL); in xfs_inactive_ifree()
1618 if (!xfs_ilock_nowait(ip, XFS_ILOCK_EXCL)) { in xfs_ifree_mark_inode_stale()
1661 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_ifree_mark_inode_stale()
1666 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_ifree_mark_inode_stale()
1786 xfs_assert_ilocked(ip, XFS_ILOCK_EXCL); in xfs_ifree()
1822 xfs_assert_ilocked(ip, XFS_ILOCK_EXCL | XFS_ILOCK_SHARED); in xfs_iunpin()
1958 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_remove()
1959 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_remove()
1966 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_remove()
1967 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_remove()
1985 xfs_iunlock(i_tab[i], XFS_ILOCK_EXCL); in xfs_iunlock_rename()
2214 xfs_lock_inodes(inodes, num_inodes, XFS_ILOCK_EXCL); in xfs_rename()
2363 xfs_assert_ilocked(ip, XFS_ILOCK_EXCL | XFS_ILOCK_SHARED); in xfs_iflush()