Home
last modified time | relevance | path

Searched refs:XFS_ILOCK_EXCL (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v5.15/fs/xfs/
Dxfs_symlink.c45 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 …]
Dxfs_reflink.c294 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 …]
Dxfs_inode.c116 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 …]
Dxfs_bmap_util.c135 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 …]
Dxfs_rtalloc.c804 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()
Dxfs_iomap.c279 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 …]
Dxfs_inode.h284 #define XFS_ILOCK_EXCL (1<<2) macro
290 | XFS_ILOCK_EXCL | XFS_ILOCK_SHARED \
296 { XFS_ILOCK_EXCL, "ILOCK_EXCL" }, \
Dxfs_dquot.c307 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()
Dxfs_acl.c232 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()
Dxfs_pnfs.c282 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()
Dxfs_aops.c60 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()
Dxfs_trans.c1053 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()
Dxfs_qm.c257 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()
Dxfs_iops.c645 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()
Dxfs_bmap_item.c500 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()
Dxfs_qm_syscalls.c77 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()
Dxfs_mount.c799 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()
Dxfs_icache.c889 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/
Dxfs_trans_inode.c34 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()
Dxfs_defer.c699 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()
Dxfs_bmap.c1137 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/
Dquota.c59 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()
Drtbitmap.c31 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()
Dparent.c292 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()
Dinode.c56 sc->ilock_flags |= XFS_ILOCK_EXCL; in xchk_setup_inode()
57 xfs_ilock(sc->ip, XFS_ILOCK_EXCL); in xchk_setup_inode()

12