Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/
Dxfs_pnfs.c47 *iolock |= XFS_IOLOCK_EXCL; in xfs_break_leased_layouts()
127 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
186 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
192 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
248 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
308 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
Dxfs_file.c313 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
339 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
514 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_aio_write()
543 } else if (iolock == XFS_IOLOCK_EXCL) { in xfs_file_dio_aio_write()
544 xfs_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_dio_aio_write()
576 int iolock = XFS_IOLOCK_EXCL; in xfs_file_dax_write()
632 iolock = XFS_IOLOCK_EXCL; in xfs_file_buffered_aio_write()
768 ASSERT(xfs_isilocked(XFS_I(inode), XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts()
806 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
Dxfs_inode.c177 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock()
178 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock()
185 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock()
228 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock_nowait()
229 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait()
236 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait()
267 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait()
297 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_iunlock()
298 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock()
306 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock()
[all …]
Dxfs_inode.h277 #define XFS_IOLOCK_EXCL (1<<0) macro
284 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \
289 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
Dxfs_qm_syscalls.c226 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
230 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
252 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
Dxfs_icache.c630 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
1501 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_eofblocks()
1507 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_inode_free_eofblocks()
1776 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_inode_free_cowblocks()
1787 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_inode_free_cowblocks()
Dxfs_ioctl.c604 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_ioc_space()
1108 xfs_ilock(ip, XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_ioctl_setattr_dax_invalidate()
1116 *join_flags = XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL; in xfs_ioctl_setattr_dax_invalidate()
1120 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_ioctl_setattr_dax_invalidate()
Dxfs_iops.c848 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size()
1064 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
Dxfs_bmap_util.c1292 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space()
1360 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
/linux-4.19.296/fs/xfs/scrub/
Dparent.c214 error = xchk_ilock_inverted(sc->ip, XFS_IOLOCK_EXCL); in xchk_parent_validate()
217 sc->ilock_flags = XFS_IOLOCK_EXCL; in xchk_parent_validate()
Dinode.c62 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode()
Dcommon.c736 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents()
Dbmap.c46 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_bmap()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bmap.c5549 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge()
5675 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_collapse_extents()
5748 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_can_insert_extents()
5793 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_insert_extents()