Home
last modified time | relevance | path

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

/linux-4.1.27/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()
202 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
208 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_map_blocks()
264 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
327 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_fs_commit_blocks()
Dxfs_file.c56 if (type & XFS_IOLOCK_EXCL) in xfs_rw_ilock()
67 if (type & XFS_IOLOCK_EXCL) in xfs_rw_iunlock()
77 if (type & XFS_IOLOCK_EXCL) in xfs_rw_ilock_demote()
322 xfs_rw_ilock(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter()
329 xfs_rw_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter()
344 xfs_rw_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_read_iter()
461 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_zero_eof()
588 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks()
690 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_aio_write()
702 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_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_bmap_util.c880 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_free_eofblocks()
891 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_free_eofblocks()
923 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_free_eofblocks()
1525 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space()
1553 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
1695 lock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_swap_extents()
1696 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()
266 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()
1319 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_inode_free_quota_eofblocks()
Dxfs_iops.c773 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size()
953 uint iolock = XFS_IOLOCK_EXCL; in xfs_vn_setattr()
Dxfs_ioctl.c612 uint iolock = XFS_IOLOCK_EXCL; in xfs_ioc_space()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bmap.c5436 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge()
5648 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_shift_extents()