Home
last modified time | relevance | path

Searched refs:i_mmaplock (Results 1 – 3 of 3) sorted by relevance

/fs/xfs/
Dxfs_inode.c201 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()
[all …]
Dxfs_inode.h60 mrlock_t i_mmaplock; /* inode mmap IO lock */ member
Dxfs_super.c1010 mrlock_init(&ip->i_mmaplock, MRLOCK_ALLOW_EQUAL_PRI|MRLOCK_BARRIER, in xfs_fs_inode_init_once()