Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_inode.c177 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock()
178 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock()
191 if (lock_flags & XFS_MMAPLOCK_EXCL) { in xfs_ilock()
231 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock_nowait()
232 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_ilock_nowait()
245 if (lock_flags & XFS_MMAPLOCK_EXCL) { in xfs_ilock_nowait()
263 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_ilock_nowait()
300 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_iunlock()
301 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_iunlock()
312 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_iunlock()
[all …]
Dxfs_inode.h286 #define XFS_MMAPLOCK_EXCL (1<<4) macro
291 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
298 { XFS_MMAPLOCK_EXCL, "MMAPLOCK_EXCL" }, \
Dxfs_iops.c800 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_setattr_size()
1013 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
1014 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
1018 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
1023 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
Dxfs_file.c842 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_wait_dax_page()
844 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_wait_dax_page()
854 ASSERT(xfs_isilocked(XFS_I(inode), XFS_MMAPLOCK_EXCL)); in xfs_break_dax_layouts()
912 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
Dxfs_bmap_util.c1106 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_collapse_file_space()
1176 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_insert_file_space()
Dxfs_icache.c1330 if (!xfs_ilock_nowait(ip, XFS_MMAPLOCK_EXCL)) { in xfs_inode_free_cowblocks()
1335 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
Dxfs_ioctl.c639 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_ioc_space()
/fs/xfs/scrub/
Dparent.c292 sc->ilock_flags &= ~(XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
293 xfs_iunlock(sc->ip, XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
Dinode.c51 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode()
Dcommon.c715 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents()
Dbmap.c38 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_bmap()