Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/
Dxfs_pnfs.c40 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts()
44 if (with_imutex && (*iolock & XFS_IOLOCK_EXCL)) in xfs_break_layouts()
47 *iolock = XFS_IOLOCK_EXCL; in xfs_break_layouts()
148 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
207 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
213 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
269 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
332 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
Dxfs_inode.c161 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock()
162 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock()
169 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock()
209 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock_nowait()
210 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait()
217 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait()
248 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait()
278 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_iunlock()
279 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock()
287 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock()
[all …]
Dxfs_file.c57 if (type & XFS_IOLOCK_EXCL) in xfs_rw_ilock()
68 if (type & XFS_IOLOCK_EXCL) in xfs_rw_iunlock()
78 if (type & XFS_IOLOCK_EXCL) in xfs_rw_ilock_demote()
343 xfs_rw_ilock(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter()
359 xfs_rw_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter()
372 xfs_rw_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter()
493 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_zero_eof()
604 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
631 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
736 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_aio_write()
[all …]
Dxfs_inode.h263 #define XFS_IOLOCK_EXCL (1<<0) macro
270 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \
275 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
Dxfs_symlink.c243 xfs_ilock(dp, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL | in xfs_symlink()
292 xfs_trans_ijoin(tp, dp, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL); in xfs_symlink()
425 xfs_iunlock(dp, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL); in xfs_symlink()
Dxfs_bmap_util.c906 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_free_eofblocks()
917 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_free_eofblocks()
946 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_free_eofblocks()
1565 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space()
1593 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
1735 lock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_swap_extents()
1736 xfs_lock_two_inodes(ip, tip, XFS_IOLOCK_EXCL); in xfs_swap_extents()
Dxfs_qm_syscalls.c237 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
243 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
265 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
Dxfs_icache.c409 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
1321 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_inode_free_quota_eofblocks()
Dxfs_iops.c769 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size()
950 uint iolock = XFS_IOLOCK_EXCL; in xfs_vn_setattr()
Dxfs_ioctl.c623 uint iolock = XFS_IOLOCK_EXCL; in xfs_ioc_space()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_bmap.c5475 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge()
5687 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_shift_extents()