Home
last modified time | relevance | path

Searched refs:i_ceph_lock (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/fs/ceph/
H A Dio.c27 spin_lock(&ci->i_ceph_lock); in ceph_block_o_direct()
29 spin_unlock(&ci->i_ceph_lock); in ceph_block_o_direct()
112 spin_lock(&ci->i_ceph_lock); in ceph_block_buffered()
114 spin_unlock(&ci->i_ceph_lock); in ceph_block_buffered()
H A Dcaps.c431 * Called with i_ceph_lock held.
454 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
456 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
461 * Called under i_ceph_lock.
504 * Caller holds i_ceph_lock
546 * Caller must hold i_ceph_lock.
565 lockdep_assert_held(&ci->i_ceph_lock); in __check_cap_issue()
608 lockdep_assert_held(&ci->i_ceph_lock); in change_auth_cap_ses()
624 * Caller should hold session snap_rwsem (read) and ci->i_ceph_lock
643 lockdep_assert_held(&ci->i_ceph_lock); in ceph_add_cap()
[all...]
H A Dxattr.c264 spin_lock(&ci->i_ceph_lock); in ceph_vxattrcb_quota_exists()
270 spin_unlock(&ci->i_ceph_lock); in ceph_vxattrcb_quota_exists()
658 __releases(ci->i_ceph_lock)
659 __acquires(ci->i_ceph_lock)
687 spin_unlock(&ci->i_ceph_lock);
702 spin_lock(&ci->i_ceph_lock);
734 spin_lock(&ci->i_ceph_lock);
768 * that it can be freed by the caller as the i_ceph_lock is likely to be
862 spin_lock(&ci->i_ceph_lock); in __ceph_getxattr()
869 spin_unlock(&ci->i_ceph_lock); in __ceph_getxattr()
[all...]
H A Dfile.c289 spin_lock(&ci->i_ceph_lock); in ceph_renew_caps()
295 spin_unlock(&ci->i_ceph_lock); in ceph_renew_caps()
301 spin_unlock(&ci->i_ceph_lock); in ceph_renew_caps()
377 spin_lock(&ci->i_ceph_lock); in ceph_open()
387 spin_unlock(&ci->i_ceph_lock); in ceph_open()
399 spin_unlock(&ci->i_ceph_lock); in ceph_open()
403 spin_unlock(&ci->i_ceph_lock); in ceph_open()
431 spin_lock(&cdst->i_ceph_lock); in cache_file_layout()
439 spin_unlock(&cdst->i_ceph_lock); in cache_file_layout()
456 spin_lock(&ci->i_ceph_lock); in try_prep_async_create()
[all...]
H A Dquota.c69 spin_lock(&ci->i_ceph_lock); in ceph_handle_quota()
75 spin_unlock(&ci->i_ceph_lock); in ceph_handle_quota()
353 spin_lock(&ci->i_ceph_lock); in check_quota_exceeded()
361 spin_unlock(&ci->i_ceph_lock); in check_quota_exceeded()
496 spin_lock(&ci->i_ceph_lock); in ceph_quota_update_statfs()
505 spin_unlock(&ci->i_ceph_lock); in ceph_quota_update_statfs()
H A Dlocks.c45 spin_lock(&ci->i_ceph_lock); in ceph_fl_release_lock()
47 spin_unlock(&ci->i_ceph_lock); in ceph_fl_release_lock()
251 spin_lock(&ci->i_ceph_lock); in ceph_lock()
255 spin_unlock(&ci->i_ceph_lock); in ceph_lock()
310 spin_lock(&ci->i_ceph_lock); in ceph_flock()
314 spin_unlock(&ci->i_ceph_lock); in ceph_flock()
H A Dinode.c260 spin_lock(&ci->i_ceph_lock); in ceph_fill_dirfrag()
263 spin_unlock(&ci->i_ceph_lock); in ceph_fill_dirfrag()
444 spin_lock_init(&ci->i_ceph_lock); in ceph_alloc_inode()
795 spin_lock(&ci->i_ceph_lock); in ceph_fill_inode()
869 lockdep_is_held(&ci->i_ceph_lock)); in ceph_fill_inode()
944 spin_unlock(&ci->i_ceph_lock); in ceph_fill_inode()
960 spin_lock(&ci->i_ceph_lock); in ceph_fill_inode()
1026 spin_unlock(&ci->i_ceph_lock); in ceph_fill_inode()
1795 spin_lock(&ci->i_ceph_lock); in ceph_inode_set_size()
1802 spin_unlock(&ci->i_ceph_lock); in ceph_inode_set_size()
[all...]
H A Dsuper.h319 spinlock_t i_ceph_lock; member
351 /* capabilities. protected _both_ by i_ceph_lock and cap->session's
360 * is also protected by the inode's i_ceph_lock. Walking s_cap_dirty
362 * be tested under the i_ceph_lock. Changing anything requires both.
371 * holding the i_ceph_lock for this inode.
602 spin_lock(&ci->i_ceph_lock); in ceph_set_error_write()
604 spin_unlock(&ci->i_ceph_lock); in ceph_set_error_write()
611 spin_lock(&ci->i_ceph_lock); in ceph_clear_error_write()
613 spin_unlock(&ci->i_ceph_lock); in ceph_clear_error_write()
707 spin_lock(&ci->i_ceph_lock); in ceph_caps_issued()
[all...]
H A Daddr.c93 spin_lock(&ci->i_ceph_lock); in ceph_set_page_dirty()
116 spin_unlock(&ci->i_ceph_lock); in ceph_set_page_dirty()
509 spin_lock(&ci->i_ceph_lock); in get_oldest_context()
554 spin_unlock(&ci->i_ceph_lock); in get_oldest_context()
568 spin_lock(&ci->i_ceph_lock); in get_writepages_data_length()
577 spin_unlock(&ci->i_ceph_lock); in get_writepages_data_length()
1674 spin_lock(&ci->i_ceph_lock); in ceph_page_mkwrite()
1678 spin_unlock(&ci->i_ceph_lock); in ceph_page_mkwrite()
1750 spin_lock(&ci->i_ceph_lock); in ceph_uninline_data()
1752 spin_unlock(&ci->i_ceph_lock); in ceph_uninline_data()
[all...]
H A Ddir.c343 spin_lock(&ci->i_ceph_lock); in ceph_readdir()
355 spin_unlock(&ci->i_ceph_lock); in ceph_readdir()
360 spin_unlock(&ci->i_ceph_lock); in ceph_readdir()
573 spin_lock(&ci->i_ceph_lock); in ceph_readdir()
587 spin_unlock(&ci->i_ceph_lock); in ceph_readdir()
766 spin_lock(&ci->i_ceph_lock); in ceph_lookup()
776 spin_unlock(&ci->i_ceph_lock); in ceph_lookup()
782 spin_unlock(&ci->i_ceph_lock); in ceph_lookup()
1094 spin_lock(&ci->i_ceph_lock); in get_caps_for_async_unlink()
1099 spin_unlock(&ci->i_ceph_lock); in get_caps_for_async_unlink()
[all...]
H A Dacl.c24 spin_lock(&ci->i_ceph_lock); in ceph_set_cached_acl()
29 spin_unlock(&ci->i_ceph_lock); in ceph_set_cached_acl()
H A Dcache.c347 spin_lock(&ci->i_ceph_lock); in ceph_fscache_revalidate_cookie()
349 spin_unlock(&ci->i_ceph_lock); in ceph_fscache_revalidate_cookie()
H A Dioctl.c249 spin_lock(&ci->i_ceph_lock); in ceph_ioctl_lazyio()
253 spin_unlock(&ci->i_ceph_lock); in ceph_ioctl_lazyio()
/kernel/linux/linux-6.6/fs/ceph/
H A Dio.c27 spin_lock(&ci->i_ceph_lock); in ceph_block_o_direct()
29 spin_unlock(&ci->i_ceph_lock); in ceph_block_o_direct()
112 spin_lock(&ci->i_ceph_lock); in ceph_block_buffered()
114 spin_unlock(&ci->i_ceph_lock); in ceph_block_buffered()
H A Dcaps.c433 * Called with i_ceph_lock held.
456 spin_lock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
458 spin_unlock(&ci->i_ceph_lock); in ceph_get_cap_for_mds()
463 * Called under i_ceph_lock.
506 * Caller holds i_ceph_lock
548 * Caller must hold i_ceph_lock.
567 lockdep_assert_held(&ci->i_ceph_lock); in __check_cap_issue()
610 lockdep_assert_held(&ci->i_ceph_lock); in change_auth_cap_ses()
626 * Caller should hold session snap_rwsem (read) and ci->i_ceph_lock
645 lockdep_assert_held(&ci->i_ceph_lock); in ceph_add_cap()
[all...]
H A Dxattr.c271 spin_lock(&ci->i_ceph_lock); in ceph_vxattrcb_quota_exists()
277 spin_unlock(&ci->i_ceph_lock); in ceph_vxattrcb_quota_exists()
335 spin_lock(&ci->i_ceph_lock); in ceph_vxattrcb_caps()
337 spin_unlock(&ci->i_ceph_lock); in ceph_vxattrcb_caps()
348 spin_lock(&ci->i_ceph_lock); in ceph_vxattrcb_auth_mds()
351 spin_unlock(&ci->i_ceph_lock); in ceph_vxattrcb_auth_mds()
787 __releases(ci->i_ceph_lock)
788 __acquires(ci->i_ceph_lock)
816 spin_unlock(&ci->i_ceph_lock);
831 spin_lock(&ci->i_ceph_lock);
[all...]
H A Dquota.c70 spin_lock(&ci->i_ceph_lock); in ceph_handle_quota()
76 spin_unlock(&ci->i_ceph_lock); in ceph_handle_quota()
361 spin_lock(&ci->i_ceph_lock); in check_quota_exceeded()
369 spin_unlock(&ci->i_ceph_lock); in check_quota_exceeded()
504 spin_lock(&ci->i_ceph_lock); in ceph_quota_update_statfs()
527 spin_unlock(&ci->i_ceph_lock); in ceph_quota_update_statfs()
H A Dlocks.c60 spin_lock(&ci->i_ceph_lock); in ceph_fl_release_lock()
62 spin_unlock(&ci->i_ceph_lock); in ceph_fl_release_lock()
268 spin_lock(&ci->i_ceph_lock); in ceph_lock()
272 spin_unlock(&ci->i_ceph_lock); in ceph_lock()
327 spin_lock(&ci->i_ceph_lock); in ceph_flock()
331 spin_unlock(&ci->i_ceph_lock); in ceph_flock()
H A Dinode.c382 spin_lock(&ci->i_ceph_lock); in ceph_fill_dirfrag()
385 spin_unlock(&ci->i_ceph_lock); in ceph_fill_dirfrag()
569 spin_lock_init(&ci->i_ceph_lock); in ceph_alloc_inode()
990 spin_lock(&ci->i_ceph_lock); in ceph_fill_inode()
1077 lockdep_is_held(&ci->i_ceph_lock)); in ceph_fill_inode()
1164 spin_unlock(&ci->i_ceph_lock); in ceph_fill_inode()
1197 spin_lock(&ci->i_ceph_lock); in ceph_fill_inode()
1273 spin_unlock(&ci->i_ceph_lock); in ceph_fill_inode()
2067 spin_lock(&ci->i_ceph_lock); in ceph_inode_set_size()
2075 spin_unlock(&ci->i_ceph_lock); in ceph_inode_set_size()
[all...]
H A Daddr.c97 spin_lock(&ci->i_ceph_lock); in ceph_dirty_folio()
120 spin_unlock(&ci->i_ceph_lock); in ceph_dirty_folio()
569 spin_lock(&ci->i_ceph_lock); in get_oldest_context()
614 spin_unlock(&ci->i_ceph_lock); in get_oldest_context()
630 spin_lock(&ci->i_ceph_lock); in get_writepages_data_length()
639 spin_unlock(&ci->i_ceph_lock); in get_writepages_data_length()
1758 spin_lock(&ci->i_ceph_lock); in ceph_page_mkwrite()
1761 spin_unlock(&ci->i_ceph_lock); in ceph_page_mkwrite()
1835 spin_lock(&ci->i_ceph_lock); in ceph_uninline_data()
1837 spin_unlock(&ci->i_ceph_lock); in ceph_uninline_data()
[all...]
H A Dfile.c303 spin_lock(&ci->i_ceph_lock); in ceph_renew_caps()
309 spin_unlock(&ci->i_ceph_lock); in ceph_renew_caps()
315 spin_unlock(&ci->i_ceph_lock); in ceph_renew_caps()
396 spin_lock(&ci->i_ceph_lock); in ceph_open()
406 spin_unlock(&ci->i_ceph_lock); in ceph_open()
418 spin_unlock(&ci->i_ceph_lock); in ceph_open()
422 spin_unlock(&ci->i_ceph_lock); in ceph_open()
450 spin_lock(&cdst->i_ceph_lock); in cache_file_layout()
458 spin_unlock(&cdst->i_ceph_lock); in cache_file_layout()
475 spin_lock(&ci->i_ceph_lock); in try_prep_async_create()
[all...]
H A Ddir.c350 spin_lock(&ci->i_ceph_lock); in ceph_readdir()
362 spin_unlock(&ci->i_ceph_lock); in ceph_readdir()
367 spin_unlock(&ci->i_ceph_lock); in ceph_readdir()
598 spin_lock(&ci->i_ceph_lock); in ceph_readdir()
612 spin_unlock(&ci->i_ceph_lock); in ceph_readdir()
804 spin_lock(&ci->i_ceph_lock); in ceph_lookup()
814 spin_unlock(&ci->i_ceph_lock); in ceph_lookup()
820 spin_unlock(&ci->i_ceph_lock); in ceph_lookup()
1258 spin_lock(&ci->i_ceph_lock); in get_caps_for_async_unlink()
1263 spin_unlock(&ci->i_ceph_lock); in get_caps_for_async_unlink()
[all...]
H A Dsuper.h349 spinlock_t i_ceph_lock; member
381 /* capabilities. protected _both_ by i_ceph_lock and cap->session's
390 * is also protected by the inode's i_ceph_lock. Walking s_cap_dirty
392 * be tested under the i_ceph_lock. Changing anything requires both.
401 * holding the i_ceph_lock for this inode.
659 spin_lock(&ci->i_ceph_lock); in ceph_set_error_write()
661 spin_unlock(&ci->i_ceph_lock); in ceph_set_error_write()
668 spin_lock(&ci->i_ceph_lock); in ceph_clear_error_write()
670 spin_unlock(&ci->i_ceph_lock); in ceph_clear_error_write()
764 spin_lock(&ci->i_ceph_lock); in ceph_caps_issued()
[all...]
H A Dacl.c24 spin_lock(&ci->i_ceph_lock); in ceph_set_cached_acl()
29 spin_unlock(&ci->i_ceph_lock); in ceph_set_cached_acl()
H A Dsnap.c531 spin_lock(&ci->i_ceph_lock); in ceph_queue_cap_snap()
639 spin_unlock(&ci->i_ceph_lock); in ceph_queue_cap_snap()
651 * Caller must hold i_ceph_lock.
966 lockdep_assert_held(&ci->i_ceph_lock); in ceph_change_snap_realm()
1078 spin_lock(&ci->i_ceph_lock); in ceph_handle_snap()
1100 spin_unlock(&ci->i_ceph_lock); in ceph_handle_snap()
1105 spin_unlock(&ci->i_ceph_lock); in ceph_handle_snap()

Completed in 41 milliseconds

12