Searched refs:XFS_MMAPLOCK_SHARED (Results 1 – 3 of 3) sorted by relevance
250 #define XFS_MMAPLOCK_SHARED (1<<5) macro254 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)262 { XFS_MMAPLOCK_SHARED, "MMAPLOCK_SHARED" }
179 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 …]
1266 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()