Searched refs:XFS_IOLOCK_SHARED (Results 1 – 8 of 8) sorted by relevance
/linux/fs/xfs/scrub/ |
A 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/fs/xfs/ |
A D | xfs_file.c | 259 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_dio_read() 263 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_dio_read() 281 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_dax_read() 285 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_dax_read() 301 ret = xfs_ilock_iocb(iocb, XFS_IOLOCK_SHARED); in xfs_file_buffered_read() 305 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_buffered_read() 420 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_write_checks() 551 int iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_write_aligned() 568 iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_write_aligned() 604 int iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_write_unaligned() [all …]
|
A D | xfs_inode.c | 176 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock() 186 } else if (lock_flags & XFS_IOLOCK_SHARED) { in xfs_ilock() 230 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait() 240 } else if (lock_flags & XFS_IOLOCK_SHARED) { in xfs_ilock_nowait() 270 else if (lock_flags & XFS_IOLOCK_SHARED) in xfs_ilock_nowait() 299 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock() 309 else if (lock_flags & XFS_IOLOCK_SHARED) in xfs_iunlock() 382 (lock_flags & XFS_IOLOCK_SHARED)); in xfs_isilocked() 385 if (lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) { in xfs_isilocked() 387 (lock_flags & XFS_IOLOCK_SHARED)); in xfs_isilocked() [all …]
|
A D | xfs_inode.h | 282 #define XFS_IOLOCK_SHARED (1<<1) macro 288 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 294 { XFS_IOLOCK_SHARED, "IOLOCK_SHARED" }, \
|
A D | xfs_pnfs.c | 40 *iolock &= ~XFS_IOLOCK_SHARED; in xfs_break_leased_layouts()
|
A D | xfs_iops.c | 1155 xfs_ilock(XFS_I(inode), XFS_IOLOCK_SHARED); in xfs_vn_fiemap() 1164 xfs_iunlock(XFS_I(inode), XFS_IOLOCK_SHARED); in xfs_vn_fiemap()
|
A D | xfs_bmap_util.c | 444 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap() 579 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap()
|
A D | xfs_icache.c | 712 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
|
Completed in 22 milliseconds