Lines Matching refs:XFS_ILOCK_EXCL
267 xfs_ilock(mpath->dp, XFS_ILOCK_EXCL); in xchk_metapath_ilock_both()
268 if (xchk_ilock_nowait(sc, XFS_ILOCK_EXCL)) { in xchk_metapath_ilock_both()
269 mpath->dp_ilock_flags |= XFS_ILOCK_EXCL; in xchk_metapath_ilock_both()
272 xfs_iunlock(mpath->dp, XFS_ILOCK_EXCL); in xchk_metapath_ilock_both()
291 xchk_iunlock(sc, XFS_ILOCK_EXCL); in xchk_metapath_iunlock()
293 mpath->dp_ilock_flags &= ~XFS_ILOCK_EXCL; in xchk_metapath_iunlock()
294 xfs_iunlock(mpath->dp, XFS_ILOCK_EXCL); in xchk_metapath_iunlock()
495 xfs_ilock(mpath->dp, XFS_ILOCK_EXCL); in xchk_metapath_ilock_parent_and_child()
496 if (!ip || xfs_ilock_nowait(ip, XFS_ILOCK_EXCL)) in xchk_metapath_ilock_parent_and_child()
498 xfs_iunlock(mpath->dp, XFS_ILOCK_EXCL); in xchk_metapath_ilock_parent_and_child()
601 xfs_iunlock(mpath->dp, XFS_ILOCK_EXCL); in xrep_metapath_try_unlink()
603 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xrep_metapath_try_unlink()