Searched refs:XFS_IOLOCK_SHARED (Results 1 – 7 of 7) sorted by relevance
/fs/xfs/ |
D | xfs_iget.c | 437 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget() 564 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock() 565 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock() 572 else if (lock_flags & XFS_IOLOCK_SHARED) in xfs_ilock() 605 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock_nowait() 606 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait() 614 } else if (lock_flags & XFS_IOLOCK_SHARED) { in xfs_ilock_nowait() 631 else if (lock_flags & XFS_IOLOCK_SHARED) in xfs_ilock_nowait() 659 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_iunlock() 660 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock() [all …]
|
D | xfs_file.c | 298 xfs_rw_ilock(ip, XFS_IOLOCK_SHARED); in xfs_file_aio_read() 300 xfs_rw_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_aio_read() 321 xfs_rw_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_aio_read() 345 xfs_rw_ilock(ip, XFS_IOLOCK_SHARED); in xfs_file_splice_read() 353 xfs_rw_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_file_splice_read() 614 if (*iolock == XFS_IOLOCK_SHARED) { in xfs_file_aio_write_checks() 708 iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_aio_write() 716 if (mapping->nrpages && iolock == XFS_IOLOCK_SHARED) { in xfs_file_dio_aio_write() 741 iolock = XFS_IOLOCK_SHARED; in xfs_file_dio_aio_write()
|
D | xfs_inode.h | 436 #define XFS_IOLOCK_SHARED (1<<1) macro 440 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 445 { XFS_IOLOCK_SHARED, "IOLOCK_SHARED" }, \
|
D | xfs_sync.c | 232 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_SHARED)) { in xfs_sync_inode_data() 235 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_sync_inode_data() 240 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_sync_inode_data()
|
D | xfs_aops.c | 1481 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_vm_bmap() 1483 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_vm_bmap()
|
D | xfs_vnodeops.c | 1043 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) in xfs_lock_inumorder() 1178 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) in xfs_lock_two_inodes()
|
D | xfs_bmap.c | 5555 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap() 5666 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap()
|