Home
last modified time | relevance | path

Searched refs:XFS_IOLOCK_EXCL (Results 1 – 9 of 9) sorted by relevance

/fs/xfs/
Dxfs_file.c59 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 …]
Dxfs_inode.c153 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 …]
Dxfs_inode.h263 #define XFS_IOLOCK_EXCL (1<<0) macro
268 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \
272 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
Dxfs_bmap_util.c883 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()
Dxfs_qm_syscalls.c240 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()
Dxfs_iops.c761 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()
Dxfs_icache.c409 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()
Dxfs_ioctl.c640 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_ioc_space()
757 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_ioc_space()
/fs/xfs/libxfs/
Dxfs_bmap.c5469 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge()
5657 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_shift_extents()