Searched refs:XFS_MMAPLOCK_EXCL (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/fs/xfs/ |
D | xfs_inode.c | 147 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 …]
|
D | xfs_inode.h | 354 #define XFS_MMAPLOCK_EXCL (1u << 4) macro 359 | XFS_MMAPLOCK_EXCL | XFS_MMAPLOCK_SHARED) 366 { XFS_MMAPLOCK_EXCL, "MMAPLOCK_EXCL" }, \
|
D | xfs_iops.c | 794 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()
|
D | xfs_file.c | 811 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()
|
D | xfs_icache.c | 1317 if (!xfs_ilock_nowait(ip, XFS_MMAPLOCK_EXCL)) { in xfs_inode_free_cowblocks() 1322 *lockflags |= XFS_MMAPLOCK_EXCL; in xfs_inode_free_cowblocks()
|
D | xfs_bmap_util.c | 1114 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/ |
D | parent.c | 292 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()
|
D | inode.c | 51 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode()
|
D | common.c | 717 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents()
|
D | bmap.c | 38 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_bmap()
|