/openbmc/linux/fs/xfs/scrub/ |
H A D | parent.c | 74 if (!xfs_ilock_nowait(dp, XFS_ILOCK_SHARED)) in xchk_parent_ilock_dir() 78 return XFS_ILOCK_SHARED; in xchk_parent_ilock_dir() 80 xfs_iunlock(dp, XFS_ILOCK_SHARED); in xchk_parent_ilock_dir()
|
H A D | rtbitmap.c | 149 xfs_ilock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_xref_is_used_rt_space() 157 xfs_iunlock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_xref_is_used_rt_space()
|
H A D | rtsummary.c | 73 xfs_ilock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_setup_rtsummary() 263 xfs_iunlock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_rtsummary()
|
H A D | readdir.c | 286 ASSERT(xfs_isilocked(dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xchk_dir_walk() 337 ASSERT(xfs_isilocked(dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xchk_dir_lookup()
|
H A D | fscounters.c | 421 xfs_ilock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_fscount_count_frextents() 430 xfs_iunlock(sc->mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xchk_fscount_count_frextents()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_inode.c | 115 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_data_map_shared() 127 uint lock_mode = XFS_ILOCK_SHARED; in xfs_ilock_attr_map_shared() 150 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_lock_flags_assert() 212 else if (lock_flags & XFS_ILOCK_SHARED) in xfs_ilock() 363 if (!(lock_flags & XFS_ILOCK_SHARED)) in xfs_isilocked() 473 XFS_ILOCK_SHARED))); in xfs_lock_inodes() 3443 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_iflush_cluster() 3493 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_log_force_inode() 3496 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_log_force_inode() 3773 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_inode_reload_unlinked() [all …]
|
H A D | xfs_aops.c | 287 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks() 299 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks() 310 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks() 322 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_map_blocks()
|
H A D | xfs_inode.h | 382 #define XFS_ILOCK_SHARED (1u << 3) macro 387 | XFS_ILOCK_EXCL | XFS_ILOCK_SHARED \ 394 { XFS_ILOCK_SHARED, "ILOCK_SHARED" }, \
|
H A D | xfs_itable.c | 77 XFS_ILOCK_SHARED, &ip); in xfs_bulkstat_one_int() 87 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_bulkstat_one_int() 158 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_bulkstat_one_int()
|
H A D | xfs_symlink.c | 46 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_readlink_bmap_ilocked() 112 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_readlink() 141 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_readlink()
|
H A D | xfs_pnfs.c | 234 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_pnfs_validate_isize() 237 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_pnfs_validate_isize()
|
H A D | xfs_attr_inactive.c | 332 int lock_mode = XFS_ILOCK_SHARED; in xfs_attr_inactive()
|
H A D | xfs_iomap.c | 738 if (mode == XFS_ILOCK_SHARED && is_write && xfs_is_cow_inode(ip)) { in xfs_ilock_for_iomap() 782 unsigned int lockmode = XFS_ILOCK_SHARED; in xfs_direct_write_iomap_begin() 1256 unsigned int lockmode = XFS_ILOCK_SHARED; in xfs_read_iomap_begin()
|
H A D | xfs_ioctl.c | 1032 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_ioc_fsgetxattra() 1034 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_ioc_fsgetxattra() 1049 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_fileattr_get() 1051 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_fileattr_get()
|
H A D | xfs_qm.c | 1725 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1747 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc() 1765 lockflags = XFS_ILOCK_SHARED; in xfs_qm_vop_dqalloc()
|
H A D | xfs_fsmap.c | 536 xfs_ilock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xfs_getfsmap_rtdev_rtbitmap() 563 xfs_iunlock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xfs_getfsmap_rtdev_rtbitmap()
|
H A D | xfs_bmap_util.c | 451 lock = XFS_ILOCK_SHARED; in xfs_getbmap() 700 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_can_free_eofblocks() 703 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_can_free_eofblocks()
|
H A D | xfs_attr_list.c | 511 ASSERT(xfs_isilocked(dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_attr_list_ilocked()
|
H A D | xfs_file.c | 123 xfs_ilock(ip, XFS_ILOCK_SHARED); in xfs_fsync_flush_log() 133 xfs_iunlock(ip, XFS_ILOCK_SHARED); in xfs_fsync_flush_log()
|
H A D | xfs_rtalloc.c | 1341 xfs_ilock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xfs_rtalloc_reinit_frextents() 1344 xfs_iunlock(mp->m_rbmip, XFS_ILOCK_SHARED | XFS_ILOCK_RTBITMAP); in xfs_rtalloc_reinit_frextents()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 566 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL | XFS_ILOCK_SHARED)); in xfs_iextents_copy()
|
H A D | xfs_attr.c | 227 ASSERT(xfs_isilocked(args->dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_attr_get_ilocked()
|
H A D | xfs_bmap.c | 3891 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED|XFS_ILOCK_EXCL)); in xfs_bmapi_read()
|