Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_inode.h282 #define XFS_MMAPLOCK_SHARED (1<<5) macro
286 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
294 { 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.c1078 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1091 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
Dxfs_reflink.c1246 xfs_iunlock(src, XFS_MMAPLOCK_SHARED); in xfs_reflink_remap_unlock()
1325 xfs_lock_two_inodes(src, XFS_MMAPLOCK_SHARED, dest, in xfs_reflink_remap_prep()