Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/
Dxfs_inode.c147 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_lock_flags_assert()
148 (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)); in xfs_lock_flags_assert()
202 if (lock_flags & XFS_MMAPLOCK_EXCL) { in xfs_ilock()
245 if (lock_flags & XFS_MMAPLOCK_EXCL) { in xfs_ilock_nowait()
263 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_ilock_nowait()
300 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_iunlock()
322 ASSERT(lock_flags & (XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)); in xfs_ilock_demote()
324 ~(XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)) == 0); in xfs_ilock_demote()
328 if (lock_flags & XFS_MMAPLOCK_EXCL) in xfs_ilock_demote()
368 if (lock_flags & (XFS_MMAPLOCK_EXCL|XFS_MMAPLOCK_SHARED)) { in xfs_isilocked()
[all …]
Dxfs_inode.h354 #define XFS_MMAPLOCK_EXCL (1u << 4) macro
359 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED)
366 { XFS_MMAPLOCK_EXCL, "MMAPLOCK_EXCL" }, \
Dxfs_iops.c794 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_setattr_size()
1006 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
1007 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
1011 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
1016 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_vn_setattr()
Dxfs_file.c811 xfs_iunlock(ip, XFS_MMAPLOCK_EXCL); in xfs_wait_dax_page()
813 xfs_ilock(ip, XFS_MMAPLOCK_EXCL); in xfs_wait_dax_page()
823 ASSERT(xfs_isilocked(XFS_I(inode), XFS_MMAPLOCK_EXCL)); in xfs_break_dax_layouts()
896 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
Dxfs_icache.c1317 if (!xfs_ilock_nowait(ip, XFS_MMAPLOCK_EXCL)) { in xfs_inode_free_cowblocks()
1322 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
Dxfs_bmap_util.c1114 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_collapse_file_space()
1184 ASSERT(xfs_isilocked(ip, XFS_MMAPLOCK_EXCL)); in xfs_insert_file_space()
/linux-6.1.9/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.c717 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()