Searched refs:XFS_IOLOCK_EXCL (Results 1 – 9 of 9) sorted by relevance
/fs/xfs/ |
D | xfs_file.c | 59 if (type & XFS_IOLOCK_EXCL) in xfs_rw_ilock() 70 if (type & XFS_IOLOCK_EXCL) in xfs_rw_iunlock() 80 if (type & XFS_IOLOCK_EXCL) in xfs_rw_ilock_demote() 289 xfs_rw_ilock(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter() 296 xfs_rw_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter() 311 xfs_rw_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter() 428 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_zero_eof() 540 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks() 628 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_aio_write() 640 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_aio_write() [all …]
|
D | xfs_inode.c | 153 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock() 154 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock() 159 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock() 194 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock_nowait() 195 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait() 200 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait() 217 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait() 247 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_iunlock() 248 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock() 254 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock() [all …]
|
D | xfs_inode.h | 263 #define XFS_IOLOCK_EXCL (1<<0) macro 268 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 272 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
|
D | xfs_bmap_util.c | 883 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_free_eofblocks() 894 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_free_eofblocks() 926 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_free_eofblocks() 1410 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space() 1645 lock_flags = XFS_IOLOCK_EXCL; in xfs_swap_extents() 1646 xfs_lock_two_inodes(ip, tip, XFS_IOLOCK_EXCL); in xfs_swap_extents()
|
D | xfs_qm_syscalls.c | 240 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 246 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 269 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
|
D | xfs_iops.c | 761 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size() 968 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_vn_setattr() 970 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_vn_setattr()
|
D | xfs_icache.c | 409 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget() 1319 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_inode_free_quota_eofblocks()
|
D | xfs_ioctl.c | 640 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_ioc_space() 757 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_ioc_space()
|
/fs/xfs/libxfs/ |
D | xfs_bmap.c | 5469 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge() 5657 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_shift_extents()
|