Searched refs:XFS_MMAPLOCK_SHARED (Results 1 – 3 of 3) sorted by relevance
177 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock()178 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock()194 } else if (lock_flags & XFS_MMAPLOCK_SHARED) { in xfs_ilock()231 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock_nowait()232 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock_nowait()248 } else if (lock_flags & XFS_MMAPLOCK_SHARED) { in xfs_ilock_nowait()265 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_ilock_nowait()300 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_iunlock()301 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_iunlock()314 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_iunlock()[all …]
287 #define XFS_MMAPLOCK_SHARED (1<<5) macro291 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)299 { XFS_MMAPLOCK_SHARED, "MMAPLOCK_SHARED" }
1327 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()1334 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()1337 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()1340 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()1411 if (!xfs_ilock_nowait(XFS_I(inode), XFS_MMAPLOCK_SHARED)) in xfs_filemap_map_pages()1414 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in xfs_filemap_map_pages()1416 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in xfs_filemap_map_pages()