Home
last modified time | relevance | path

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

/linux/fs/xfs/
A Dxfs_pnfs.c41 *iolock |= XFS_IOLOCK_EXCL; in xfs_break_leased_layouts()
120 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
174 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
180 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
236 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
296 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
A Dxfs_inode.c176 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock()
183 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock()
230 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait()
237 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait()
268 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait()
307 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock()
342 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_demote()
486 if (lock_mode & XFS_IOLOCK_EXCL) { in xfs_lock_inodes()
1367 xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_itruncate_extents_flags()
1478 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) in xfs_release()
[all …]
A Dxfs_file.c379 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks()
422 *iolock = XFS_IOLOCK_EXCL; in xfs_file_write_checks()
566 if (iolock == XFS_IOLOCK_EXCL) { in xfs_file_dio_write_aligned()
567 xfs_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_dio_write_aligned()
617 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_write_unaligned()
693 int iolock = XFS_IOLOCK_EXCL; in xfs_file_dax_write()
744 iolock = XFS_IOLOCK_EXCL; in xfs_file_buffered_write()
877 ASSERT(xfs_isilocked(XFS_I(inode), XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts()
915 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
A Dxfs_inode.h281 #define XFS_IOLOCK_EXCL (1<<0) macro
288 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \
293 { 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.c712 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
1137 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_eofblocks()
1142 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_eofblocks()
1296 if (!(*lockflags & XFS_IOLOCK_EXCL) && in xfs_inode_free_cowblocks()
1297 !xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_cowblocks()
1302 *lockflags |= XFS_IOLOCK_EXCL; in xfs_inode_free_cowblocks()
A Dxfs_bmap_util.c655 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL) || in xfs_can_free_eofblocks()
1108 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space()
1178 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
A Dxfs_iops.c867 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size()
1085 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
A Dxfs_ioctl.c639 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_ioc_space()
/linux/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.c715 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/fs/xfs/libxfs/
A Dxfs_bmap.c5679 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge()
5808 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_collapse_extents()
5881 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_can_insert_extents()
5923 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_insert_extents()

Completed in 48 milliseconds