Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_inode.h250 #define XFS_MMAPLOCK_SHARED (1<<5) macro
254 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
262 { XFS_MMAPLOCK_SHARED, "MMAPLOCK_SHARED" }
Dxfs_inode.c179 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock()
180 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock()
195 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_ilock()
230 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock_nowait()
231 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock_nowait()
247 } else if (lock_flags & XFS_MMAPLOCK_SHARED) { in xfs_ilock_nowait()
264 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_ilock_nowait()
299 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_iunlock()
300 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_iunlock()
313 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_iunlock()
[all …]
Dxfs_file.c1266 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1283 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1349 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in xfs_filemap_map_pages()
1351 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in xfs_filemap_map_pages()