Searched refs:XFS_IOLOCK_EXCL (Results 1 – 14 of 14) sorted by relevance
| /OK3568_Linux_fs/kernel/fs/xfs/ |
| H A D | xfs_pnfs.c | 41 *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()
|
| H A D | xfs_inode.c | 177 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock() 178 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock() 185 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock() 228 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock_nowait() 229 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_ilock_nowait() 236 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock_nowait() 267 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_ilock_nowait() 297 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_iunlock() 298 (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)); in xfs_iunlock() 306 if (lock_flags & XFS_IOLOCK_EXCL) in xfs_iunlock() [all …]
|
| H A D | xfs_file.c | 360 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks() 386 *iolock = XFS_IOLOCK_EXCL; in xfs_file_aio_write_checks() 565 iolock = XFS_IOLOCK_EXCL; in xfs_file_dio_aio_write() 594 } else if (iolock == XFS_IOLOCK_EXCL) { in xfs_file_dio_aio_write() 595 xfs_ilock_demote(ip, XFS_IOLOCK_EXCL); in xfs_file_dio_aio_write() 625 int iolock = XFS_IOLOCK_EXCL; in xfs_file_dax_write() 681 iolock = XFS_IOLOCK_EXCL; in xfs_file_buffered_aio_write() 818 ASSERT(xfs_isilocked(XFS_I(inode), XFS_IOLOCK_SHARED|XFS_IOLOCK_EXCL)); in xfs_break_layouts() 856 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_file_fallocate()
|
| H A D | xfs_inode.h | 245 #define XFS_IOLOCK_EXCL (1<<0) macro 252 #define XFS_LOCK_MASK (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED \ 257 { XFS_IOLOCK_EXCL, "IOLOCK_EXCL" }, \
|
| H A D | xfs_icache.c | 624 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget() 1379 if (!xfs_ilock_nowait(ip, XFS_IOLOCK_EXCL)) { in xfs_inode_free_eofblocks() 1386 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_inode_free_eofblocks() 1625 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_inode_free_cowblocks() 1636 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_inode_free_cowblocks()
|
| H A D | xfs_qm_syscalls.c | 285 xfs_ilock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 289 xfs_iunlock(ip, XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 311 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
|
| H A D | xfs_iops.c | 864 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_setattr_size() 1080 iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_vn_setattr()
|
| H A D | xfs_bmap_util.c | 1075 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_collapse_file_space() 1145 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_insert_file_space()
|
| H A D | xfs_ioctl.c | 638 uint iolock = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xfs_ioc_space()
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A D | parent.c | 221 error = xchk_ilock_inverted(sc->ip, XFS_IOLOCK_EXCL); in xchk_parent_validate() 224 sc->ilock_flags = XFS_IOLOCK_EXCL; in xchk_parent_validate()
|
| H A D | inode.c | 52 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode()
|
| H A D | common.c | 747 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_contents()
|
| H A D | bmap.c | 38 sc->ilock_flags = XFS_IOLOCK_EXCL | XFS_MMAPLOCK_EXCL; in xchk_setup_inode_bmap()
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_bmap.c | 5666 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmse_merge() 5795 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_collapse_extents() 5870 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL)); in xfs_bmap_can_insert_extents() 5912 ASSERT(xfs_isilocked(ip, XFS_IOLOCK_EXCL | XFS_ILOCK_EXCL)); in xfs_bmap_insert_extents()
|