/Linux-v5.15/fs/xfs/ |
D | xfs_symlink.c | 45 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_readlink_bmap_ilocked() 209 xfs_ilock(dp, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT); in xfs_symlink() 243 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_symlink() 356 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_symlink() 398 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 458 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 464 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 483 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() 490 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() 500 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() [all …]
|
D | xfs_reflink.c | 294 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_convert_cow() 296 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_convert_cow() 362 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_reflink_allocate_cow() 386 *lockmode = XFS_ILOCK_EXCL; in xfs_reflink_allocate_cow() 551 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 562 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 567 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 615 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow_extent() 679 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow_extent() 689 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow_extent() [all …]
|
D | xfs_inode.c | 116 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_data_map_shared() 128 lock_mode = XFS_ILOCK_EXCL; in xfs_ilock_attr_map_shared() 179 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock() 180 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock() 199 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock() 233 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock_nowait() 234 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_ilock_nowait() 253 if (lock_flags & XFS_ILOCK_EXCL) { in xfs_ilock_nowait() 302 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_iunlock() 303 (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_iunlock() [all …]
|
D | xfs_bmap_util.c | 135 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL|XFS_ILOCK_RTBITMAP); in xfs_bmap_rtalloc() 136 xfs_trans_ijoin(ap->tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc() 137 xfs_ilock(mp->m_rsumip, XFS_ILOCK_EXCL|XFS_ILOCK_RTSUM); in xfs_bmap_rtalloc() 138 xfs_trans_ijoin(ap->tp, mp->m_rsumip, XFS_ILOCK_EXCL); in xfs_bmap_rtalloc() 603 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_bmap_punch_delalloc_range() 630 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmap_punch_delalloc_range() 738 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_free_eofblocks() 766 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_free_eofblocks() 877 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_alloc_file_space() 896 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_alloc_file_space() [all …]
|
D | xfs_rtalloc.c | 804 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 805 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 845 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 846 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_growfs_rt_alloc() 1056 xfs_ilock(mp->m_rbmip, XFS_ILOCK_EXCL | XFS_ILOCK_RTBITMAP); in xfs_growfs_rt() 1057 xfs_trans_ijoin(tp, mp->m_rbmip, XFS_ILOCK_EXCL); in xfs_growfs_rt() 1070 xfs_ilock(mp->m_rsumip, XFS_ILOCK_EXCL | XFS_ILOCK_RTSUM); in xfs_growfs_rt() 1071 xfs_trans_ijoin(tp, mp->m_rsumip, XFS_ILOCK_EXCL); in xfs_growfs_rt() 1188 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtallocate_extent() 1345 ASSERT(xfs_isilocked(mp->m_rbmip, XFS_ILOCK_EXCL)); in xfs_rtpick_extent()
|
D | xfs_iomap.c | 279 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_direct() 581 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_unwritten() 604 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_iomap_write_unwritten() 663 mode = XFS_ILOCK_EXCL; in xfs_ilock_for_iomap() 673 mode = XFS_ILOCK_EXCL; in xfs_ilock_for_iomap() 691 mode = XFS_ILOCK_EXCL; in xfs_ilock_for_iomap() 887 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_buffered_write_iomap_begin() 1053 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_buffered_write_iomap_begin() 1058 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_buffered_write_iomap_begin() 1062 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_buffered_write_iomap_begin() [all …]
|
D | xfs_inode.h | 284 #define XFS_ILOCK_EXCL (1<<2) macro 290 | XFS_ILOCK_EXCL | XFS_ILOCK_SHARED \ 296 { XFS_ILOCK_EXCL, "ILOCK_EXCL" }, \
|
D | xfs_dquot.c | 307 xfs_ilock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc() 313 xfs_iunlock(quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc() 317 xfs_trans_ijoin(tp, quotip, XFS_ILOCK_EXCL); in xfs_dquot_disk_alloc() 980 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqget_inode() 999 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqget_inode() 1001 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqget_inode() 1037 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqget_inode()
|
D | xfs_acl.c | 232 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_acl_set_mode() 233 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_acl_set_mode()
|
D | xfs_pnfs.c | 282 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_fs_commit_blocks() 283 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_fs_commit_blocks()
|
D | xfs_aops.c | 60 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_setfilesize() 63 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_setfilesize() 71 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_setfilesize()
|
D | xfs_trans.c | 1053 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_inode() 1066 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_inode() 1079 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_inode() 1153 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_ichange() 1154 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_ichange()
|
D | xfs_qm.c | 257 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqattach_one() 325 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqattach_locked() 356 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_dqattach_locked() 369 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqattach() 371 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_qm_dqattach() 1645 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc() 1772 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_vop_chown() 1860 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_vop_create_dqattach()
|
D | xfs_iops.c | 645 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_setattr_mode() 658 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_setattr_time() 977 lock_flags |= XFS_ILOCK_EXCL; in xfs_setattr_size() 978 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_setattr_size() 1133 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_vn_update_time() 1141 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_vn_update_time()
|
D | xfs_bmap_item.c | 500 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_bui_item_recover() 539 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bui_item_recover() 546 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bui_item_recover()
|
D | xfs_qm_syscalls.c | 77 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_qm_scall_trunc_qfile() 95 xfs_iunlock(ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL); in xfs_qm_scall_trunc_qfile()
|
D | xfs_mount.c | 799 XFS_ILOCK_EXCL, &rip); in xfs_mountfs() 812 xfs_iunlock(rip, XFS_ILOCK_EXCL); in xfs_mountfs() 818 xfs_iunlock(rip, XFS_ILOCK_EXCL); in xfs_mountfs()
|
D | xfs_icache.c | 889 if (!xfs_ilock_nowait(ip, XFS_ILOCK_EXCL)) in xfs_reclaim_inode() 925 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 950 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 952 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 961 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode()
|
/Linux-v5.15/fs/xfs/libxfs/ |
D | xfs_trans_inode.c | 34 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ijoin() 64 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_ichgtime() 102 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_trans_log_inode()
|
D | xfs_defer.c | 699 ASSERT(!capture_ip || xfs_isilocked(capture_ip, XFS_ILOCK_EXCL)); in xfs_defer_ops_capture_and_commit() 734 xfs_ilock(dfc->dfc_capture_ip, XFS_ILOCK_EXCL); in xfs_defer_ops_continue()
|
D | xfs_bmap.c | 1137 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmap_add_attrfork() 1142 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmap_add_attrfork() 1227 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_iread_extents() 3932 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED|XFS_ILOCK_EXCL)); in xfs_bmapi_read() 4403 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_bmapi_write() 4578 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_bmapi_convert_delalloc() 4664 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmapi_convert_delalloc() 4671 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bmapi_convert_delalloc() 4695 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_bmapi_remap() 5367 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in __xfs_bunmapi() [all …]
|
/Linux-v5.15/fs/xfs/scrub/ |
D | quota.c | 59 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_quota() 60 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_setup_quota() 238 sc->ilock_flags = XFS_ILOCK_EXCL; in xchk_quota()
|
D | rtbitmap.c | 31 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTBITMAP; in xchk_setup_rt() 143 sc->ilock_flags = XFS_ILOCK_EXCL | XFS_ILOCK_RTSUM; in xchk_rtsummary()
|
D | parent.c | 292 sc->ilock_flags &= ~(XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent() 293 xfs_iunlock(sc->ip, XFS_ILOCK_EXCL | XFS_MMAPLOCK_EXCL); in xchk_parent()
|
D | inode.c | 56 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode() 57 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_inode()
|