/fs/xfs/ |
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() 405 *lockmode = XFS_ILOCK_EXCL; in xfs_reflink_fill_cow_hole() 470 *lockmode = XFS_ILOCK_EXCL; in xfs_reflink_fill_delalloc() 529 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_reflink_allocate_cow() 682 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 693 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 698 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_cancel_cow_range() 746 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow_extent() 810 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reflink_end_cow_extent() [all …]
|
D | xfs_symlink.c | 46 ASSERT(xfs_isilocked(ip, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_readlink_bmap_ilocked() 218 xfs_ilock(dp, XFS_ILOCK_EXCL | XFS_ILOCK_PARENT); in xfs_symlink() 252 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_symlink() 365 xfs_iunlock(dp, XFS_ILOCK_EXCL); in xfs_symlink() 407 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 467 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 473 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink_rmt() 492 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() 499 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() 509 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_inactive_symlink() [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() 874 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_alloc_file_space() 893 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_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() 1243 xfs_lock_two_inodes(dp, XFS_ILOCK_EXCL, ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_dir() 1245 xfs_trans_ijoin(tp, dp, XFS_ILOCK_EXCL); in xfs_trans_alloc_dir() 1246 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_trans_alloc_dir()
|
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_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_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_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() 1659 lockflags = XFS_ILOCK_EXCL; in xfs_qm_vop_dqalloc() 1786 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_vop_chown() 1874 ASSERT(xfs_isilocked(ip, XFS_ILOCK_EXCL)); in xfs_qm_vop_create_dqattach()
|
D | xfs_pnfs.c | 284 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_fs_commit_blocks() 285 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_fs_commit_blocks()
|
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_bmap_item.c | 502 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_bui_item_recover() 541 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bui_item_recover() 548 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_bui_item_recover()
|
D | xfs_iops.c | 909 lock_flags |= XFS_ILOCK_EXCL; in xfs_setattr_size() 910 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_setattr_size() 1062 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_vn_update_time() 1070 xfs_trans_ijoin(tp, ip, XFS_ILOCK_EXCL); in xfs_vn_update_time()
|
D | xfs_icache.c | 894 if (!xfs_ilock_nowait(ip, XFS_ILOCK_EXCL)) in xfs_reclaim_inode() 930 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 955 xfs_ilock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 957 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode() 966 xfs_iunlock(ip, XFS_ILOCK_EXCL); in xfs_reclaim_inode()
|
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_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()
|
/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 …]
|
/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()
|