/linux-4.19.296/fs/xfs/ |
D | xfs_inode.c | 117 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_data_map_shared() 130 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_attr_map_shared() 181 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock() 182 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock() 198 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock() 232 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock_nowait() 233 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock_nowait() 252 if (lock_flags & XFS_ILOCK_EXCL) { in xfs_ilock_nowait() 301 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_iunlock() 302 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_iunlock() [all …]
|
D | xfs_reflink.c | 348 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_convert_cow() 352 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_convert_cow() 414 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_reflink_allocate_cow() 429 *lockmode = XFS_ILOCK_EXCL; in xfs_reflink_allocate_cow() 606 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 617 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 622 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 677 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow() 749 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow() 756 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow() [all …]
|
D | xfs_symlink.c | 52 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_readlink_bmap_ilocked() 225 xfs_ilock(dp, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT); in xfs_symlink() 259 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_symlink() 376 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_symlink() 418 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 479 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 485 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 504 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() 511 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() 521 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() [all …]
|
D | xfs_trans_inode.c | 35 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ijoin() 65 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ichgtime() 93 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_log_inode()
|
D | xfs_iomap.c | 242 lockmode = XFS_ILOCK_EXCL; in xfs_iomap_write_direct() 522 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_file_iomap_begin_delay() 635 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_file_iomap_begin_delay() 707 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_allocate() 773 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_allocate() 801 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_allocate() 857 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_unwritten() 887 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_unwritten() 910 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_unwritten() 956 mode = XFS_ILOCK_EXCL; in xfs_ilock_for_iomap() [all …]
|
D | xfs_bmap_util.c | 123 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL|XFS_ILOCK_RTBITMAP); in xfs_bmap_rtalloc() 124 xfs_trans_ijoin(ap->tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc() 125 xfs_ilock(mp->m_rsumip, XFS_ILOCK_EXCL|XFS_ILOCK_RTSUM); in xfs_bmap_rtalloc() 126 xfs_trans_ijoin(ap->tp, mp->m_rsumip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc() 707 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_bmap_punch_delalloc_range() 734 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmap_punch_delalloc_range() 831 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_free_eofblocks() 854 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_free_eofblocks() 961 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_alloc_file_space() 979 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_alloc_file_space() [all …]
|
D | xfs_rtalloc.c | 796 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 797 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 833 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 834 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 998 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_growfs_rt() 999 xfs_trans_ijoin(tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_growfs_rt() 1012 xfs_ilock(mp->m_rsumip, XFS_ILOCK_EXCL); in xfs_growfs_rt() 1013 xfs_trans_ijoin(tp, mp->m_rsumip, XFS_ILOCK_EXCL); in xfs_growfs_rt() 1107 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtallocate_extent() 1262 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtpick_extent()
|
D | xfs_iops.c | 581 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_setattr_mode() 594 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_setattr_time() 687 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_setattr_nonsize() 776 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_setattr_nonsize() 806 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_setattr_nonsize() 958 lock_flags |= XFS_ILOCK_EXCL; in xfs_setattr_size() 959 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_setattr_size() 1108 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_vn_update_time() 1116 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_vn_update_time()
|
D | xfs_inode.h | 279 #define XFS_ILOCK_EXCL (1<<2) macro 285 | XFS_ILOCK_EXCL | XFS_ILOCK_SHARED \ 291 { XFS_ILOCK_EXCL, "ILOCK_EXCL" }, \
|
D | xfs_bmap_item.c | 453 error = xfs_iget(mp, tp, bmap->me_owner, 0, XFS_ILOCK_EXCL, &ip); in xfs_bui_recover() 497 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bui_recover() 506 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bui_recover()
|
D | xfs_dquot.c | 299 xfs_ilock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc() 305 xfs_iunlock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc() 310 xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc() 869 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqget_inode() 888 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqget_inode() 890 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqget_inode() 926 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqget_inode()
|
D | xfs_pnfs.c | 294 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_fs_commit_blocks() 295 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_fs_commit_blocks()
|
D | xfs_qm_syscalls.c | 234 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_qm_scall_trunc_qfile() 252 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile() 754 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_dqrele_inode() 767 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_dqrele_inode()
|
D | xfs_qm.c | 259 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqattach_one() 329 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqattach_locked() 360 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqattach_locked() 373 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqattach() 375 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqattach() 1655 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc() 1778 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_vop_chown() 1825 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL|XFS_ILOCK_SHARED)); in xfs_qm_vop_chown_reserve() 1938 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_vop_create_dqattach()
|
D | xfs_icache.c | 1112 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 1160 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 1189 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 1214 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 1216 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 1226 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode()
|
D | xfs_aops.c | 172 xfs_ilock(ip, XFS_ILOCK_EXCL); in __xfs_setfilesize() 175 xfs_iunlock(ip, XFS_ILOCK_EXCL); in __xfs_setfilesize() 183 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in __xfs_setfilesize()
|
D | xfs_mount.c | 898 XFS_ILOCK_EXCL, &rip); in xfs_mountfs() 911 xfs_iunlock(rip, XFS_ILOCK_EXCL); in xfs_mountfs() 919 xfs_iunlock(rip, XFS_ILOCK_EXCL); in xfs_mountfs()
|
/linux-4.19.296/fs/xfs/scrub/ |
D | quota.c | 71 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_quota() 72 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_setup_quota() 264 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_quota()
|
D | rtbitmap.c | 38 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTBITMAP; in xchk_setup_rt() 106 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTSUM; in xchk_rtsummary()
|
D | parent.c | 286 sc->ilock_flags &= ~(XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent() 287 xfs_iunlock(sc->ip, XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
|
D | inode.c | 67 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode() 68 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_inode()
|
D | common.c | 741 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode_contents() 742 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_inode_contents()
|
D | bmap.c | 84 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode_bmap() 85 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_inode_bmap()
|
/linux-4.19.296/fs/xfs/libxfs/ |
D | xfs_attr.c | 111 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_attr_get_ilocked() 368 xfs_ilock(dp, XFS_ILOCK_EXCL); in xfs_attr_set() 400 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_attr_set() 454 xfs_ilock(dp, XFS_ILOCK_EXCL); in xfs_attr_remove() 480 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_attr_remove() 487 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_attr_remove()
|
D | xfs_bmap.c | 1079 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_bmap_add_attrfork() 1145 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmap_add_attrfork() 1150 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmap_add_attrfork() 1181 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_iread_extents() 3828 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED|XFS_ILOCK_EXCL)); in xfs_bmapi_read() 4272 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_bmapi_write() 4506 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_bmapi_remap() 5167 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in __xfs_bunmapi() 5210 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL|XFS_ILOCK_RTBITMAP); in __xfs_bunmapi() 5211 xfs_trans_ijoin(tp, mp->m_rbmip, XFS_ILOCK_EXCL); in __xfs_bunmapi() [all …]
|