Searched refs:i_iolock (Results 1 – 3 of 3) sorted by relevance
647 mrupdate_nested(&ip->i_iolock, XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock()649 mraccess_nested(&ip->i_iolock, XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock()688 if (!mrtryupdate(&ip->i_iolock)) in xfs_ilock_nowait()691 if (!mrtryaccess(&ip->i_iolock)) in xfs_ilock_nowait()706 mrunlock_excl(&ip->i_iolock); in xfs_ilock_nowait()708 mrunlock_shared(&ip->i_iolock); in xfs_ilock_nowait()744 mrunlock_excl(&ip->i_iolock); in xfs_iunlock()746 mrunlock_shared(&ip->i_iolock); in xfs_iunlock()781 mrdemote(&ip->i_iolock); in xfs_ilock_demote()805 if (!ip->i_iolock.mr_writer) in xfs_isilocked()
255 mrlock_t i_iolock; /* inode IO lock */ member
978 mrlock_init(&ip->i_iolock, MRLOCK_BARRIER, "xfsio", ip->i_ino); in xfs_fs_inode_init_once()