Home
last modified time | relevance | path

Searched refs:XFS_IOLOCK_SHARED (Results 1 – 8 of 8) sorted by relevance

/linux/fs/xfs/scrub/
A Dparent.c191 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 Dxfs_file.c259 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 Dxfs_inode.c176 (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 Dxfs_inode.h282 #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 Dxfs_pnfs.c40 *iolock &= ~XFS_IOLOCK_SHARED; in xfs_break_leased_layouts()
A Dxfs_iops.c1155 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 Dxfs_bmap_util.c444 xfs_ilock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap()
579 xfs_iunlock(ip, XFS_IOLOCK_SHARED); in xfs_getbmap()
A Dxfs_icache.c712 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()

Completed in 22 milliseconds