Searched refs:XFS_IOLOCK_SHARED (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/fs/xfs/ |
D | xfs_file.c | 269 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_dio_read() 273 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_dio_read() 291 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_dax_read() 295 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_dax_read() 311 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_buffered_read() 315 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_buffered_read() 366 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_file_splice_read() 368 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_splice_read() 415 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { in xfs_file_write_checks() 458 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_write_checks() [all …]
|
D | xfs_inode.h | 380 #define XFS_IOLOCK_SHARED (1u << 1) macro 386 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 392 { XFS_IOLOCK_SHARED, "IOLOCK_SHARED" }, \
|
D | xfs_inode.c | 145 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_lock_flags_assert() 146 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_lock_flags_assert() 197 } else if (lock_flags & XFS_IOLOCK_SHARED) { in xfs_ilock() 240 } else if (lock_flags & XFS_IOLOCK_SHARED) { in xfs_ilock_nowait() 270 else if (lock_flags & XFS_IOLOCK_SHARED) in xfs_ilock_nowait() 297 else if (lock_flags & XFS_IOLOCK_SHARED) in xfs_iunlock() 373 if (lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) { in xfs_isilocked() 375 (lock_flags & XFS_IOLOCK_SHARED)); in xfs_isilocked() 417 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) { in xfs_lock_inumorder() 472 ASSERT(!(lock_mode & (XFS_IOLOCK_SHARED | XFS_MMAPLOCK_SHARED | in xfs_lock_inodes() [all …]
|
D | xfs_pnfs.c | 40 *iolock &= ~XFS_IOLOCK_SHARED; in xfs_break_leased_layouts()
|
D | xfs_dir2_readdir.c | 524 ASSERT(xfs_isilocked(dp, XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_readdir()
|
D | xfs_iops.c | 1088 xfs_ilock(XFS_I(inode), XFS_IOLOCK_SHARED); in xfs_vn_fiemap() 1097 xfs_iunlock(XFS_I(inode), XFS_IOLOCK_SHARED); in xfs_vn_fiemap()
|
D | xfs_bmap_util.c | 441 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap() 580 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap()
|
D | xfs_icache.c | 748 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
|