Searched refs:XFS_IOLOCK_SHARED (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/fs/xfs/scrub/ |
D | parent.c | 191 if (xfs_ilock_nowait(dp, XFS_IOLOCK_SHARED)) { in xchk_parent_validate() 209 error = xchk_ilock_inverted(dp, XFS_IOLOCK_SHARED); in xchk_parent_validate() 219 xfs_iunlock(dp, XFS_IOLOCK_SHARED); in xchk_parent_validate() 254 xfs_iunlock(dp, XFS_IOLOCK_SHARED); in xchk_parent_validate()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_file.c | 232 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_dio_read() 236 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_dio_read() 254 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_dax_read() 258 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_dax_read() 274 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_buffered_read() 278 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_buffered_read() 350 if (*iolock == XFS_IOLOCK_SHARED && !IS_NOSEC(inode)) { in xfs_file_write_checks() 393 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_write_checks() 523 unsigned int iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_write_aligned() 540 iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_write_aligned() [all …]
|
D | xfs_inode.h | 351 #define XFS_IOLOCK_SHARED (1u << 1) macro 357 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 363 { 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 | 1077 xfs_ilock(XFS_I(inode), XFS_IOLOCK_SHARED); in xfs_vn_fiemap() 1086 xfs_iunlock(XFS_I(inode), XFS_IOLOCK_SHARED); in xfs_vn_fiemap()
|
D | xfs_bmap_util.c | 443 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap() 580 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap()
|
D | xfs_icache.c | 716 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
|