Searched refs:XFS_IOLOCK_EXCL (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/fs/xfs/ |
D | xfs_pnfs.c | 41 *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()
|
D | xfs_file.c | 229 if (*lock_mode == XFS_IOLOCK_EXCL) in xfs_ilock_iocb_for_write() 235 *lock_mode = XFS_IOLOCK_EXCL; in xfs_ilock_iocb_for_write() 417 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() 460 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks() 603 if (iolock == XFS_IOLOCK_EXCL) { in xfs_file_dio_write_aligned() 604 xfs_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_dio_write_aligned() 654 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_write_unaligned() 730 unsigned int iolock = XFS_IOLOCK_EXCL; in xfs_file_dax_write() 776 iolock = XFS_IOLOCK_EXCL; in xfs_file_buffered_write() 903 ASSERT(xfs_isilocked(XFS_I(inode), XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts() [all …]
|
D | xfs_inode.c | 145 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_lock_flags_assert() 146 (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() 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() 330 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_demote() 373 if (lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) { in xfs_isilocked() [all …]
|
D | xfs_inode.h | 379 #define XFS_IOLOCK_EXCL (1u << 0) macro 386 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 391 { 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 | 748 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget() 1145 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_eofblocks() 1150 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks() 1304 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks() 1305 !xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_cowblocks() 1310 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
|
D | xfs_bmap_util.c | 658 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL) || in xfs_can_free_eofblocks() 1117 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space() 1187 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
|
D | xfs_dir2_readdir.c | 524 ASSERT(xfs_isilocked(dp, XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_readdir()
|
D | xfs_iops.c | 799 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size() 1013 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
|
D | xfs_reflink.c | 1546 xfs_ilock_demote(src, XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL); in xfs_reflink_remap_prep()
|
/linux-6.6.21/fs/xfs/scrub/ |
D | inode.c | 35 xchk_ilock(sc, XFS_IOLOCK_EXCL); in xchk_prepare_iscrub()
|
D | bmap.c | 41 xchk_ilock(sc, XFS_IOLOCK_EXCL); in xchk_setup_inode_bmap()
|
D | common.c | 1025 xchk_ilock(sc, XFS_IOLOCK_EXCL); in xchk_setup_inode_contents()
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_bmap.c | 5638 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge() 5767 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_collapse_extents() 5840 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_can_insert_extents() 5882 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_insert_extents()
|