Lines Matching refs:i_mmaplock
201 mrupdate_nested(&ip->i_mmaplock, XFS_MMAPLOCK_DEP(lock_flags)); in xfs_ilock()
203 mraccess_nested(&ip->i_mmaplock, XFS_MMAPLOCK_DEP(lock_flags)); in xfs_ilock()
252 if (!mrtryupdate(&ip->i_mmaplock)) in xfs_ilock_nowait()
255 if (!mrtryaccess(&ip->i_mmaplock)) in xfs_ilock_nowait()
270 mrunlock_excl(&ip->i_mmaplock); in xfs_ilock_nowait()
272 mrunlock_shared(&ip->i_mmaplock); in xfs_ilock_nowait()
319 mrunlock_excl(&ip->i_mmaplock); in xfs_iunlock()
321 mrunlock_shared(&ip->i_mmaplock); in xfs_iunlock()
347 mrdemote(&ip->i_mmaplock); in xfs_ilock_demote()
368 return !!ip->i_mmaplock.mr_writer; in xfs_isilocked()
369 return rwsem_is_locked(&ip->i_mmaplock.mr_lock); in xfs_isilocked()