Home
last modified time | relevance | path

Searched refs:XFS_IOLOCK_EXCL (Results 1 – 14 of 14) sorted by relevance

/linux-6.3-rc2/fs/xfs/
A Dxfs_pnfs.c41 *iolock |= XFS_IOLOCK_EXCL; in xfs_break_leased_layouts()
155 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
212 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
218 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
274 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
335 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
A Dxfs_file.c352 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks()
395 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks()
538 if (iolock == XFS_IOLOCK_EXCL) { in xfs_file_dio_write_aligned()
539 xfs_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_dio_write_aligned()
589 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_write_unaligned()
665 unsigned int iolock = XFS_IOLOCK_EXCL; in xfs_file_dax_write()
711 iolock = XFS_IOLOCK_EXCL; in xfs_file_buffered_write()
844 ASSERT(xfs_isilocked(XFS_I(inode), XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts()
896 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
A Dxfs_inode.c146 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_lock_flags_assert()
194 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock()
237 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait()
268 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait()
295 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock()
330 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_demote()
417 if (lock_mode & (XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)) { in xfs_lock_inumorder()
479 if (lock_mode & XFS_IOLOCK_EXCL) { in xfs_lock_inodes()
1341 xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_itruncate_extents_flags()
1452 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) in xfs_release()
[all …]
A Dxfs_inode.h350 #define XFS_IOLOCK_EXCL (1u << 0) macro
357 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \
362 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
A Dxfs_qm_syscalls.c69 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()
A Dxfs_icache.c722 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
1156 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_eofblocks()
1161 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1315 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1316 !xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_cowblocks()
1321 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
A Dxfs_bmap_util.c658 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL) || in xfs_can_free_eofblocks()
1115 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space()
1185 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
A Dxfs_dir2_readdir.c524 ASSERT(xfs_isilocked(dp, XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_readdir()
A Dxfs_iops.c794 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size()
1008 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
/linux-6.3-rc2/fs/xfs/scrub/
A Dparent.c220 error = xchk_ilock_inverted(sc->ip, XFS_IOLOCK_EXCL); in xchk_parent_validate()
223 sc->ilock_flags = XFS_IOLOCK_EXCL; in xchk_parent_validate()
A Dinode.c51 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode()
A Dcommon.c714 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents()
A Dbmap.c38 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_bmap()
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_bmap.c5608 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge()
5737 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_collapse_extents()
5810 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_can_insert_extents()
5852 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_insert_extents()

Completed in 40 milliseconds