Home
last modified time | relevance | path

Searched refs:XFS_MMAPLOCK_EXCL (Results 1 – 12 of 12) sorted by relevance

/linux-4.19.296/fs/xfs/
Dxfs_inode.c179 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock()
180 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock()
193 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_ilock()
230 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock_nowait()
231 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock_nowait()
244 if (lock_flags & XFS_MMAPLOCK_EXCL) { in xfs_ilock_nowait()
262 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_ilock_nowait()
299 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_iunlock()
300 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_iunlock()
311 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_iunlock()
[all …]
Dxfs_inode.h281 #define XFS_MMAPLOCK_EXCL (1<<4) macro
286 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
293 { XFS_MMAPLOCK_EXCL, "MMAPLOCK_EXCL" }, \
Dxfs_iops.c849 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_setattr_size()
1063 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
1064 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
1068 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
1073 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
Dxfs_file.c735 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_wait_dax_page()
737 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_wait_dax_page()
747 ASSERT(xfs_isilocked(XFS_I(inode), XFS_MMAPLOCK_EXCL)); in xfs_break_dax_layouts()
806 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
Dxfs_bmap_util.c1293 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_collapse_file_space()
1361 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_insert_file_space()
1801 lock_flags = XFS_MMAPLOCK_EXCL; in xfs_swap_extents()
1802 xfs_lock_two_inodes(ip, XFS_MMAPLOCK_EXCL, tip, XFS_MMAPLOCK_EXCL); in xfs_swap_extents()
Dxfs_reflink.c1244 xfs_iunlock(dest, XFS_MMAPLOCK_EXCL); in xfs_reflink_remap_unlock()
1323 xfs_ilock(src, XFS_MMAPLOCK_EXCL); in xfs_reflink_remap_prep()
1326 XFS_MMAPLOCK_EXCL); in xfs_reflink_remap_prep()
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_icache.c1777 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_inode_free_cowblocks()
1786 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_inode_free_cowblocks()
/linux-4.19.296/fs/xfs/scrub/
Dparent.c286 sc->ilock_flags &= ~(XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
287 xfs_iunlock(sc->ip, XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
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()