Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/
H A Dxfs_inode.h384 #define XFS_MMAPLOCK_SHARED (1u << 5) macro
388 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
396 { XFS_MMAPLOCK_SHARED, "MMAPLOCK_SHARED" }
H A 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 …]
H A Dxfs_file.c237 xfs_ilock(ip, XFS_MMAPLOCK_SHARED); in xfs_ilock_for_write_fault()
239 return XFS_MMAPLOCK_SHARED; in xfs_ilock_for_write_fault()
242 xfs_iunlock(ip, XFS_MMAPLOCK_SHARED); in xfs_ilock_for_write_fault()