Searched refs:XFS_IOLOCK_EXCL (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/fs/xfs/ |
D | xfs_pnfs.c | 41 *iolock |= XFS_IOLOCK_EXCL; in xfs_break_leased_layouts() 154 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks() 210 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks() 216 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks() 272 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks() 333 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
|
D | xfs_file.c | 345 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() 388 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() 531 if (iolock == XFS_IOLOCK_EXCL) { in xfs_file_dio_write_aligned() 532 xfs_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_dio_write_aligned() 582 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_write_unaligned() 658 unsigned int iolock = XFS_IOLOCK_EXCL; in xfs_file_dax_write() 707 iolock = XFS_IOLOCK_EXCL; in xfs_file_buffered_write() 838 ASSERT(xfs_isilocked(XFS_I(inode), XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts() 890 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
|
D | xfs_inode.c | 144 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_lock_flags_assert() 145 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_lock_flags_assert() 193 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock() 236 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait() 267 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait() 294 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock() 321 ASSERT(lock_flags & (XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)); in xfs_ilock_demote() 323 ~(XFS_IOLOCK_EXCL|XFS_MMAPLOCK_EXCL|XFS_ILOCK_EXCL)) == 0); in xfs_ilock_demote() 329 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_demote() 372 if (lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) { in xfs_isilocked() [all …]
|
D | xfs_inode.h | 286 #define XFS_IOLOCK_EXCL (1u << 0) macro 293 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 298 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
|
D | xfs_qm_syscalls.c | 69 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 73 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 95 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
|
D | xfs_icache.c | 715 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget() 1148 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_eofblocks() 1153 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks() 1307 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks() 1308 !xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_cowblocks() 1313 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
|
D | xfs_bmap_util.c | 655 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL) || in xfs_can_free_eofblocks() 1112 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space() 1182 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
|
D | xfs_iops.c | 780 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size() 994 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
|
D | xfs_dir2_readdir.c | 524 ASSERT(xfs_isilocked(dp, XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_readdir()
|
/linux-5.19.10/fs/xfs/scrub/ |
D | parent.c | 220 error = xchk_ilock_inverted(sc->ip, XFS_IOLOCK_EXCL); in xchk_parent_validate() 223 sc->ilock_flags = XFS_IOLOCK_EXCL; in xchk_parent_validate()
|
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()
|
/linux-5.19.10/fs/xfs/libxfs/ |
D | xfs_bmap.c | 5640 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge() 5769 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_collapse_extents() 5842 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_can_insert_extents() 5884 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_insert_extents()
|