Searched refs:XFS_ILOCK_SHARED (Results 1 – 20 of 20) sorted by relevance
| /Linux-v5.4/fs/xfs/ |
| D | xfs_inode.c | 107 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_data_map_shared() 120 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_attr_map_shared() 175 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock() 176 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock() 194 else if (lock_flags & XFS_ILOCK_SHARED) in xfs_ilock() 226 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock_nowait() 227 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock_nowait() 249 } else if (lock_flags & XFS_ILOCK_SHARED) { in xfs_ilock_nowait() 295 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_iunlock() 296 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_iunlock() [all …]
|
| D | xfs_pnfs.c | 160 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_fs_map_blocks() 201 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_pnfs_validate_isize() 204 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_pnfs_validate_isize()
|
| D | xfs_export.c | 228 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_fs_nfs_commit_metadata() 231 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_fs_nfs_commit_metadata()
|
| D | xfs_inode.h | 293 #define XFS_ILOCK_SHARED (1<<3) macro 298 | XFS_ILOCK_EXCL | XFS_ILOCK_SHARED \ 305 { XFS_ILOCK_SHARED, "ILOCK_SHARED" }, \
|
| D | xfs_symlink.c | 43 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_readlink_bmap_ilocked() 121 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_readlink() 140 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_readlink()
|
| D | xfs_itable.c | 72 XFS_ILOCK_SHARED, &ip); in xfs_bulkstat_one_int() 136 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_bulkstat_one_int()
|
| D | xfs_aops.c | 532 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks() 545 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks() 556 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks() 568 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks()
|
| D | xfs_file.c | 88 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_dir_fsync() 91 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_dir_fsync() 147 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_file_fsync() 158 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_file_fsync()
|
| D | xfs_iomap.c | 192 lockmode = XFS_ILOCK_SHARED; /* locked by caller */ in xfs_iomap_write_direct() 868 unsigned mode = XFS_ILOCK_SHARED; in xfs_ilock_for_iomap() 909 if (mode == XFS_ILOCK_SHARED && is_write && xfs_is_cow_inode(ip)) { in xfs_ilock_for_iomap()
|
| D | xfs_inode_item.c | 516 if (!xfs_ilock_nowait(ip, XFS_ILOCK_SHARED)) in xfs_inode_item_push() 560 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_inode_item_push()
|
| D | xfs_qm.c | 1668 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1688 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1705 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1800 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED)); in xfs_qm_vop_chown_reserve()
|
| D | xfs_attr_inactive.c | 380 int lock_mode = XFS_ILOCK_SHARED; in xfs_attr_inactive()
|
| D | xfs_fsmap.c | 516 xfs_ilock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query() 534 xfs_iunlock(tp->t_mountp->m_rbmip, XFS_ILOCK_SHARED); in xfs_getfsmap_rtdev_rtbitmap_query()
|
| D | xfs_bmap_util.c | 560 lock = XFS_ILOCK_SHARED; in xfs_getbmap() 798 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_free_eofblocks() 800 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_free_eofblocks()
|
| D | xfs_attr_list.c | 497 ASSERT(xfs_isilocked(dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_attr_list_int_ilocked()
|
| D | xfs_ioctl.c | 1145 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_ioc_fsgetxattr() 1147 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_ioc_fsgetxattr()
|
| /Linux-v5.4/fs/xfs/scrub/ |
| D | rtbitmap.c | 139 xfs_ilock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_xref_is_used_rt_space() 147 xfs_iunlock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_xref_is_used_rt_space()
|
| /Linux-v5.4/fs/xfs/libxfs/ |
| D | xfs_inode_fork.c | 557 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL | XFS_ILOCK_SHARED)); in xfs_iextents_copy()
|
| D | xfs_attr.c | 109 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_attr_get_ilocked()
|
| D | xfs_bmap.c | 3816 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED|XFS_ILOCK_EXCL)); in xfs_bmapi_read()
|