/linux-6.6.21/fs/ |
D | inode.c | 195 spin_lock_init(&inode->i_lock); in inode_init_always() 196 lockdep_set_class(&inode->i_lock, &sb->s_type->i_lock_key); in inode_init_always() 533 spin_lock(&inode->i_lock); in __insert_inode_hash() 535 spin_unlock(&inode->i_lock); in __insert_inode_hash() 549 spin_lock(&inode->i_lock); in __remove_inode_hash() 551 spin_unlock(&inode->i_lock); in __remove_inode_hash() 676 spin_lock(&inode->i_lock); in evict() 679 spin_unlock(&inode->i_lock); in evict() 724 spin_lock(&inode->i_lock); in evict_inodes() 726 spin_unlock(&inode->i_lock); in evict_inodes() [all …]
|
D | fs-writeback.c | 123 assert_spin_locked(&inode->i_lock); in inode_io_list_move_locked() 283 assert_spin_locked(&inode->i_lock); in inode_cgwb_move_to_attached() 304 __releases(&inode->i_lock) in locked_inode_to_wb_and_lock_list() 317 spin_unlock(&inode->i_lock); in locked_inode_to_wb_and_lock_list() 329 spin_lock(&inode->i_lock); in locked_inode_to_wb_and_lock_list() 343 spin_lock(&inode->i_lock); in inode_to_wb_and_lock_list() 381 spin_lock(&inode->i_lock); in inode_do_switch_wbs() 461 spin_unlock(&inode->i_lock); in inode_do_switch_wbs() 538 spin_lock(&inode->i_lock); in inode_prepare_wbs_switch() 542 spin_unlock(&inode->i_lock); in inode_prepare_wbs_switch() [all …]
|
D | stack.c | 35 spin_lock(&src->i_lock); in fsstack_copy_inode_size() 38 spin_unlock(&src->i_lock); in fsstack_copy_inode_size() 54 spin_lock(&dst->i_lock); in fsstack_copy_inode_size() 58 spin_unlock(&dst->i_lock); in fsstack_copy_inode_size()
|
D | drop_caches.c | 25 spin_lock(&inode->i_lock); in drop_pagecache_sb() 33 spin_unlock(&inode->i_lock); in drop_pagecache_sb() 37 spin_unlock(&inode->i_lock); in drop_pagecache_sb()
|
D | dcache.c | 386 __releases(dentry->d_inode->i_lock) in dentry_unlink_inode() 395 spin_unlock(&inode->i_lock); in dentry_unlink_inode() 695 spin_lock(&inode->i_lock); in d_mark_dontcache() 702 spin_unlock(&inode->i_lock); in d_mark_dontcache() 717 if (inode && unlikely(!spin_trylock(&inode->i_lock))) in dentry_kill() 738 spin_lock(&inode->i_lock); in dentry_kill() 750 spin_unlock(&inode->i_lock); in dentry_kill() 1021 spin_lock(&inode->i_lock); in d_find_any_alias() 1023 spin_unlock(&inode->i_lock); in d_find_any_alias() 1066 spin_lock(&inode->i_lock); in d_find_alias() [all …]
|
D | pipe.c | 702 spin_lock(&inode->i_lock); in put_pipe_info() 707 spin_unlock(&inode->i_lock); in put_pipe_info() 1103 spin_lock(&inode->i_lock); in fifo_open() 1107 spin_unlock(&inode->i_lock); in fifo_open() 1109 spin_unlock(&inode->i_lock); in fifo_open() 1114 spin_lock(&inode->i_lock); in fifo_open() 1117 spin_unlock(&inode->i_lock); in fifo_open() 1122 spin_unlock(&inode->i_lock); in fifo_open()
|
/linux-6.6.21/fs/nfs/ |
D | pnfs.c | 315 if (refcount_dec_and_lock(&lo->plh_refcount, &inode->i_lock)) { in pnfs_put_layout_hdr() 320 spin_unlock(&inode->i_lock); in pnfs_put_layout_hdr() 425 spin_lock(&inode->i_lock); in nfs4_layout_refresh_old_stateid() 444 spin_unlock(&inode->i_lock); in nfs4_layout_refresh_old_stateid() 512 spin_lock(&inode->i_lock); in pnfs_layout_io_set_failed() 515 spin_unlock(&inode->i_lock); in pnfs_layout_io_set_failed() 610 if (refcount_dec_and_lock(&lseg->pls_refcount, &inode->i_lock)) { in pnfs_put_lseg() 615 spin_unlock(&inode->i_lock); in pnfs_put_lseg() 769 spin_lock(&nfsi->vfs_inode.i_lock); in __pnfs_destroy_layout() 776 spin_unlock(&nfsi->vfs_inode.i_lock); in __pnfs_destroy_layout() [all …]
|
D | inode.c | 250 spin_lock(&inode->i_lock); in nfs_zap_caches() 252 spin_unlock(&inode->i_lock); in nfs_zap_caches() 258 spin_lock(&inode->i_lock); in nfs_zap_mapping() 260 spin_unlock(&inode->i_lock); in nfs_zap_mapping() 271 spin_lock(&inode->i_lock); in nfs_zap_acl_cache() 273 spin_unlock(&inode->i_lock); in nfs_zap_acl_cache() 279 spin_lock(&inode->i_lock); in nfs_invalidate_atime() 281 spin_unlock(&inode->i_lock); in nfs_invalidate_atime() 298 spin_lock(&inode->i_lock); in nfs_set_inode_stale() 300 spin_unlock(&inode->i_lock); in nfs_set_inode_stale() [all …]
|
D | nfs42proc.c | 83 spin_lock(&inode->i_lock); in _nfs42_proc_fallocate() 86 spin_unlock(&inode->i_lock); in _nfs42_proc_fallocate() 299 spin_lock(&inode->i_lock); in nfs42_copy_dest_done() 306 spin_unlock(&inode->i_lock); in nfs42_copy_dest_done() 749 spin_lock(&inode->i_lock); in nfs42_layoutstat_prepare() 752 spin_unlock(&inode->i_lock); in nfs42_layoutstat_prepare() 757 spin_unlock(&inode->i_lock); in nfs42_layoutstat_prepare() 784 spin_lock(&inode->i_lock); in nfs42_layoutstat_done() 796 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done() 800 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done() [all …]
|
D | unlink.c | 296 spin_lock(&data->old_dir->i_lock); in nfs_async_rename_release() 298 spin_unlock(&data->old_dir->i_lock); in nfs_async_rename_release() 300 spin_lock(&data->new_dir->i_lock); in nfs_async_rename_release() 302 spin_unlock(&data->new_dir->i_lock); in nfs_async_rename_release() 511 spin_lock(&inode->i_lock); in nfs_sillyrename() 516 spin_unlock(&inode->i_lock); in nfs_sillyrename()
|
D | nfs42xattr.c | 435 spin_lock(&inode->i_lock); in nfs4_xattr_get_cache() 445 spin_unlock(&inode->i_lock); in nfs4_xattr_get_cache() 454 spin_lock(&inode->i_lock); in nfs4_xattr_get_cache() 461 spin_unlock(&inode->i_lock); in nfs4_xattr_get_cache() 480 spin_unlock(&inode->i_lock); in nfs4_xattr_get_cache() 774 spin_lock(&inode->i_lock); in nfs4_xattr_cache_zap() 776 spin_unlock(&inode->i_lock); in nfs4_xattr_cache_zap() 841 if (!spin_trylock(&inode->i_lock)) in cache_lru_isolate() 851 spin_unlock(&inode->i_lock); in cache_lru_isolate()
|
D | getroot.c | 55 spin_lock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root() 59 spin_unlock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
|
D | dir.c | 85 spin_lock(&dir->i_lock); in alloc_nfs_open_dir_context() 93 spin_unlock(&dir->i_lock); in alloc_nfs_open_dir_context() 101 spin_lock(&dir->i_lock); in put_nfs_open_dir_context() 103 spin_unlock(&dir->i_lock); in put_nfs_open_dir_context() 1479 spin_lock(&inode->i_lock); in nfs_clear_verifier_delegated() 1485 spin_unlock(&inode->i_lock); in nfs_clear_verifier_delegated() 1589 spin_lock(&inode->i_lock); in nfs_mark_dir_for_revalidate() 1591 spin_unlock(&inode->i_lock); in nfs_mark_dir_for_revalidate() 1885 spin_lock(&inode->i_lock); in nfs_drop_nlink() 1893 spin_unlock(&inode->i_lock); in nfs_drop_nlink() [all …]
|
/linux-6.6.21/fs/orangefs/ |
D | orangefs-utils.c | 247 spin_lock(&inode->i_lock); in orangefs_inode_getattr() 252 spin_unlock(&inode->i_lock); in orangefs_inode_getattr() 256 spin_unlock(&inode->i_lock); in orangefs_inode_getattr() 259 spin_unlock(&inode->i_lock); in orangefs_inode_getattr() 281 spin_lock(&inode->i_lock); in orangefs_inode_getattr() 286 spin_unlock(&inode->i_lock); in orangefs_inode_getattr() 378 spin_unlock(&inode->i_lock); in orangefs_inode_getattr() 427 spin_lock(&inode->i_lock); in orangefs_inode_setattr() 435 spin_unlock(&inode->i_lock); in orangefs_inode_setattr() 439 spin_unlock(&inode->i_lock); in orangefs_inode_setattr()
|
D | file.c | 293 spin_lock(&inode->i_lock); in orangefs_revalidate_mapping() 295 spin_unlock(&inode->i_lock); in orangefs_revalidate_mapping() 300 spin_unlock(&inode->i_lock); in orangefs_revalidate_mapping() 306 spin_unlock(&inode->i_lock); in orangefs_revalidate_mapping()
|
/linux-6.6.21/include/linux/ |
D | writeback.h | 208 __releases(&inode->i_lock); 259 spin_lock(&inode->i_lock); in wbc_attach_fdatawrite_inode() 298 __releases(&inode->i_lock) in wbc_attach_and_unlock_inode() 300 spin_unlock(&inode->i_lock); in wbc_attach_and_unlock_inode()
|
/linux-6.6.21/fs/quota/ |
D | dquot.c | 1040 spin_lock(&inode->i_lock); in add_dquot_ref() 1044 spin_unlock(&inode->i_lock); in add_dquot_ref() 1048 spin_unlock(&inode->i_lock); in add_dquot_ref() 1547 spin_lock(&inode->i_lock); in __dquot_initialize() 1553 spin_unlock(&inode->i_lock); in __dquot_initialize() 1662 spin_lock(&inode->i_lock); in inode_get_rsv_space() 1664 spin_unlock(&inode->i_lock); in inode_get_rsv_space() 1690 spin_lock(&inode->i_lock); in __dquot_alloc_space() 1692 spin_unlock(&inode->i_lock); in __dquot_alloc_space() 1704 spin_lock(&inode->i_lock); in __dquot_alloc_space() [all …]
|
/linux-6.6.21/fs/9p/ |
D | fid.c | 68 spin_lock(&inode->i_lock); in v9fs_fid_find_inode() 82 spin_unlock(&inode->i_lock); in v9fs_fid_find_inode() 97 spin_lock(&inode->i_lock); in v9fs_open_fid_add() 99 spin_unlock(&inode->i_lock); in v9fs_open_fid_add()
|
D | v9fs_vfs.h | 84 spin_lock(&inode->i_lock); in v9fs_i_size_write() 87 spin_unlock(&inode->i_lock); in v9fs_i_size_write()
|
/linux-6.6.21/fs/notify/ |
D | fsnotify.c | 49 spin_lock(&inode->i_lock); in fsnotify_unmount_inodes() 51 spin_unlock(&inode->i_lock); in fsnotify_unmount_inodes() 65 spin_unlock(&inode->i_lock); in fsnotify_unmount_inodes() 70 spin_unlock(&inode->i_lock); in fsnotify_unmount_inodes() 117 spin_lock(&inode->i_lock); in __fsnotify_update_child_dentry_flags() 140 spin_unlock(&inode->i_lock); in __fsnotify_update_child_dentry_flags()
|
/linux-6.6.21/mm/ |
D | truncate.c | 45 spin_lock(&mapping->host->i_lock); in clear_shadow_entry() 51 spin_unlock(&mapping->host->i_lock); in clear_shadow_entry() 78 spin_lock(&mapping->host->i_lock); in truncate_folio_batch_exceptionals() 103 spin_unlock(&mapping->host->i_lock); in truncate_folio_batch_exceptionals() 578 spin_lock(&mapping->host->i_lock); in invalidate_complete_folio2() 588 spin_unlock(&mapping->host->i_lock); in invalidate_complete_folio2() 594 spin_unlock(&mapping->host->i_lock); in invalidate_complete_folio2()
|
/linux-6.6.21/security/landlock/ |
D | fs.c | 123 spin_lock(&inode->i_lock); in get_inode_object() 126 spin_unlock(&inode->i_lock); in get_inode_object() 140 spin_unlock(&inode->i_lock); in get_inode_object() 946 spin_lock(&inode->i_lock); in hook_sb_delete() 955 spin_unlock(&inode->i_lock); in hook_sb_delete() 963 spin_unlock(&inode->i_lock); in hook_sb_delete() 968 spin_unlock(&inode->i_lock); in hook_sb_delete()
|
/linux-6.6.21/block/ |
D | bdev.c | 54 spin_lock(&inode->i_lock); in bdev_write_inode() 56 spin_unlock(&inode->i_lock); in bdev_write_inode() 62 spin_lock(&inode->i_lock); in bdev_write_inode() 64 spin_unlock(&inode->i_lock); in bdev_write_inode() 990 spin_lock(&inode->i_lock); in sync_bdevs() 993 spin_unlock(&inode->i_lock); in sync_bdevs() 997 spin_unlock(&inode->i_lock); in sync_bdevs()
|
/linux-6.6.21/fs/ocfs2/ |
D | dcache.c | 158 spin_lock(&inode->i_lock); in ocfs2_find_local_alias() 167 spin_unlock(&inode->i_lock); in ocfs2_find_local_alias() 172 spin_unlock(&inode->i_lock); in ocfs2_find_local_alias()
|
/linux-6.6.21/fs/exportfs/ |
D | expfs.c | 54 spin_lock(&inode->i_lock); in find_acceptable_alias() 57 spin_unlock(&inode->i_lock); in find_acceptable_alias() 64 spin_lock(&inode->i_lock); in find_acceptable_alias() 67 spin_unlock(&inode->i_lock); in find_acceptable_alias()
|