Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_inode.h295 #define XFS_MMAPLOCK_SHARED (1<<5) macro
299 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
307 { XFS_MMAPLOCK_SHARED, "MMAPLOCK_SHARED" }
Dxfs_inode.c173 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock()
174 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock()
189 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_ilock()
224 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock_nowait()
225 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock_nowait()
241 } else if (lock_flags & XFS_MMAPLOCK_SHARED) { in xfs_ilock_nowait()
258 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_ilock_nowait()
293 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_iunlock()
294 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_iunlock()
307 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_iunlock()
[all …]
Dxfs_file.c1155 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1168 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()