Home
last modified time | relevance | path

Searched refs:i_lock (Results 1 – 25 of 83) sorted by relevance

1234

/linux-6.6.21/fs/
Dinode.c195 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 …]
Dfs-writeback.c123 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 …]
Dstack.c35 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()
Ddrop_caches.c25 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()
Ddcache.c386 __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 …]
Dpipe.c702 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/
Dpnfs.c315 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 …]
Dinode.c250 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 …]
Dnfs42proc.c83 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 …]
Dunlink.c296 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()
Dnfs42xattr.c435 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()
Dgetroot.c55 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()
Ddir.c85 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/
Dorangefs-utils.c247 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()
Dfile.c293 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/
Dwriteback.h208 __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/
Ddquot.c1040 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/
Dfid.c68 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()
Dv9fs_vfs.h84 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/
Dfsnotify.c49 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/
Dtruncate.c45 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/
Dfs.c123 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/
Dbdev.c54 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/
Ddcache.c158 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/
Dexpfs.c54 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()

1234