Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/
Dxfs_inode.h355 #define XFS_MMAPLOCK_SHARED (1u << 5) macro
359 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
367 { XFS_MMAPLOCK_SHARED, "MMAPLOCK_SHARED" }
Dxfs_file.c1319 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1323 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1326 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1329 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in __xfs_filemap_fault()
1400 xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in xfs_filemap_map_pages()
1402 xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); in xfs_filemap_map_pages()
Dxfs_inode.c147 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_lock_flags_assert()
148 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_lock_flags_assert()
205 } else if (lock_flags & XFS_MMAPLOCK_SHARED) { in xfs_ilock()
248 } else if (lock_flags & XFS_MMAPLOCK_SHARED) { in xfs_ilock_nowait()
265 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_ilock_nowait()
302 else if (lock_flags & XFS_MMAPLOCK_SHARED) in xfs_iunlock()
368 if (lock_flags & (XFS_MMAPLOCK_EXCL|XFS_MMAPLOCK_SHARED)) { in xfs_isilocked()
370 (lock_flags & XFS_MMAPLOCK_SHARED)); in xfs_isilocked()
422 if (lock_mode & (XFS_MMAPLOCK_SHARED|XFS_MMAPLOCK_EXCL)) { in xfs_lock_inumorder()
472 ASSERT(!(lock_mode & (XFS_IOLOCK_SHARED | XFS_MMAPLOCK_SHARED | in xfs_lock_inodes()
[all …]