Home
last modified time | relevance | path

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

123

/linux-4.19.296/fs/
Dinode.c169 spin_lock_init(&inode->i_lock); in inode_init_always()
170 lockdep_set_class(&inode->i_lock, &sb->s_type->i_lock_key); in inode_init_always()
481 spin_lock(&inode->i_lock); in __insert_inode_hash()
483 spin_unlock(&inode->i_lock); in __insert_inode_hash()
497 spin_lock(&inode->i_lock); in __remove_inode_hash()
499 spin_unlock(&inode->i_lock); in __remove_inode_hash()
570 spin_lock(&inode->i_lock); in evict()
573 spin_unlock(&inode->i_lock); in evict()
618 spin_lock(&inode->i_lock); in evict_inodes()
620 spin_unlock(&inode->i_lock); in evict_inodes()
[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()
Dfs-writeback.c162 assert_spin_locked(&inode->i_lock); in inode_io_list_del_locked()
285 __releases(&inode->i_lock) in locked_inode_to_wb_and_lock_list()
298 spin_unlock(&inode->i_lock); in locked_inode_to_wb_and_lock_list()
310 spin_lock(&inode->i_lock); in locked_inode_to_wb_and_lock_list()
324 spin_lock(&inode->i_lock); in inode_to_wb_and_lock_list()
382 spin_lock(&inode->i_lock); in inode_switch_wbs_work_fn()
453 spin_unlock(&inode->i_lock); in inode_switch_wbs_work_fn()
527 spin_lock(&inode->i_lock); in inode_switch_wbs()
531 spin_unlock(&inode->i_lock); in inode_switch_wbs()
536 spin_unlock(&inode->i_lock); in inode_switch_wbs()
[all …]
Ddrop_caches.c23 spin_lock(&inode->i_lock); in drop_pagecache_sb()
31 spin_unlock(&inode->i_lock); in drop_pagecache_sb()
35 spin_unlock(&inode->i_lock); in drop_pagecache_sb()
Ddcache.c359 __releases(dentry->d_inode->i_lock) in dentry_unlink_inode()
368 spin_unlock(&inode->i_lock); in dentry_unlink_inode()
657 if (inode && unlikely(!spin_trylock(&inode->i_lock))) in dentry_kill()
678 spin_lock(&inode->i_lock); in dentry_kill()
690 spin_unlock(&inode->i_lock); in dentry_kill()
927 spin_lock(&inode->i_lock); in d_find_any_alias()
929 spin_unlock(&inode->i_lock); in d_find_any_alias()
972 spin_lock(&inode->i_lock); in d_find_alias()
974 spin_unlock(&inode->i_lock); in d_find_alias()
988 spin_lock(&inode->i_lock); in d_prune_aliases()
[all …]
Dpipe.c577 spin_lock(&inode->i_lock); in put_pipe_info()
582 spin_unlock(&inode->i_lock); in put_pipe_info()
909 spin_lock(&inode->i_lock); in fifo_open()
913 spin_unlock(&inode->i_lock); in fifo_open()
915 spin_unlock(&inode->i_lock); in fifo_open()
920 spin_lock(&inode->i_lock); in fifo_open()
923 spin_unlock(&inode->i_lock); in fifo_open()
928 spin_unlock(&inode->i_lock); in fifo_open()
Dstat.c687 spin_lock(&inode->i_lock); in inode_add_bytes()
689 spin_unlock(&inode->i_lock); in inode_add_bytes()
709 spin_lock(&inode->i_lock); in inode_sub_bytes()
711 spin_unlock(&inode->i_lock); in inode_sub_bytes()
720 spin_lock(&inode->i_lock); in inode_get_bytes()
722 spin_unlock(&inode->i_lock); in inode_get_bytes()
/linux-4.19.296/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()
394 spin_lock(&inode->i_lock); in nfs4_layoutreturn_refresh_stateid()
404 spin_unlock(&inode->i_lock); in nfs4_layoutreturn_refresh_stateid()
471 spin_lock(&inode->i_lock); in pnfs_layout_io_set_failed()
474 spin_unlock(&inode->i_lock); in pnfs_layout_io_set_failed()
568 if (refcount_dec_and_lock(&lseg->pls_refcount, &inode->i_lock)) { in pnfs_put_lseg()
570 spin_unlock(&inode->i_lock); in pnfs_put_lseg()
577 spin_unlock(&inode->i_lock); in pnfs_put_lseg()
737 spin_lock(&nfsi->vfs_inode.i_lock); in __pnfs_destroy_layout()
[all …]
Dinode.c245 spin_lock(&inode->i_lock); in nfs_zap_caches()
247 spin_unlock(&inode->i_lock); in nfs_zap_caches()
253 spin_lock(&inode->i_lock); in nfs_zap_mapping()
255 spin_unlock(&inode->i_lock); in nfs_zap_mapping()
266 spin_lock(&inode->i_lock); in nfs_zap_acl_cache()
268 spin_unlock(&inode->i_lock); in nfs_zap_acl_cache()
274 spin_lock(&inode->i_lock); in nfs_invalidate_atime()
276 spin_unlock(&inode->i_lock); in nfs_invalidate_atime()
334 spin_lock(&inode->i_lock); in nfs_clear_label_invalid()
336 spin_unlock(&inode->i_lock); in nfs_clear_label_invalid()
[all …]
Dgetroot.c59 spin_lock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
63 spin_unlock(&d_inode(sb->s_root)->i_lock); in nfs_superblock_set_dummy_root()
Dunlink.c295 spin_lock(&data->old_dir->i_lock); in nfs_async_rename_release()
297 spin_unlock(&data->old_dir->i_lock); in nfs_async_rename_release()
299 spin_lock(&data->new_dir->i_lock); in nfs_async_rename_release()
301 spin_unlock(&data->new_dir->i_lock); in nfs_async_rename_release()
515 spin_lock(&inode->i_lock); in nfs_sillyrename()
520 spin_unlock(&inode->i_lock); in nfs_sillyrename()
Dnfs42proc.c548 spin_lock(&inode->i_lock); in nfs42_layoutstat_prepare()
551 spin_unlock(&inode->i_lock); in nfs42_layoutstat_prepare()
556 spin_unlock(&inode->i_lock); in nfs42_layoutstat_prepare()
583 spin_lock(&inode->i_lock); in nfs42_layoutstat_done()
595 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done()
599 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done()
602 spin_lock(&inode->i_lock); in nfs42_layoutstat_done()
613 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done()
Ddir.c81 spin_lock(&dir->i_lock); in alloc_nfs_open_dir_context()
83 spin_unlock(&dir->i_lock); in alloc_nfs_open_dir_context()
91 spin_lock(&dir->i_lock); in put_nfs_open_dir_context()
93 spin_unlock(&dir->i_lock); in put_nfs_open_dir_context()
1351 spin_lock(&inode->i_lock); in nfs_drop_nlink()
1360 spin_unlock(&inode->i_lock); in nfs_drop_nlink()
2144 spin_lock(&old_inode->i_lock); in nfs_rename()
2149 spin_unlock(&old_inode->i_lock); in nfs_rename()
2221 spin_lock(&inode->i_lock); in nfs_do_access_cache_scan()
2239 spin_unlock(&inode->i_lock); in nfs_do_access_cache_scan()
[all …]
/linux-4.19.296/fs/notify/
Dfsnotify.c62 spin_lock(&inode->i_lock); in fsnotify_unmount_inodes()
64 spin_unlock(&inode->i_lock); in fsnotify_unmount_inodes()
75 spin_unlock(&inode->i_lock); in fsnotify_unmount_inodes()
80 spin_unlock(&inode->i_lock); in fsnotify_unmount_inodes()
123 spin_lock(&inode->i_lock); in __fsnotify_update_child_dentry_flags()
146 spin_unlock(&inode->i_lock); in __fsnotify_update_child_dentry_flags()
/linux-4.19.296/include/linux/
Dwriteback.h189 __releases(&inode->i_lock);
237 spin_lock(&inode->i_lock); in wbc_attach_fdatawrite_inode()
275 __releases(&inode->i_lock) in wbc_attach_and_unlock_inode()
277 spin_unlock(&inode->i_lock); in wbc_attach_and_unlock_inode()
/linux-4.19.296/fs/quota/
Ddquot.c1018 spin_lock(&inode->i_lock); in add_dquot_ref()
1022 spin_unlock(&inode->i_lock); in add_dquot_ref()
1026 spin_unlock(&inode->i_lock); in add_dquot_ref()
1573 spin_lock(&inode->i_lock); in __dquot_initialize()
1579 spin_unlock(&inode->i_lock); in __dquot_initialize()
1688 spin_lock(&inode->i_lock); in inode_get_rsv_space()
1690 spin_unlock(&inode->i_lock); in inode_get_rsv_space()
1716 spin_lock(&inode->i_lock); in __dquot_alloc_space()
1718 spin_unlock(&inode->i_lock); in __dquot_alloc_space()
1730 spin_lock(&inode->i_lock); in __dquot_alloc_space()
[all …]
/linux-4.19.296/fs/9p/
Dv9fs_vfs.h100 spin_lock(&inode->i_lock); in v9fs_i_size_write()
103 spin_unlock(&inode->i_lock); in v9fs_i_size_write()
/linux-4.19.296/fs/xfs/
Dxfs_trans_inode.c103 spin_lock(&inode->i_lock); in xfs_trans_log_inode()
105 spin_unlock(&inode->i_lock); in xfs_trans_log_inode()
/linux-4.19.296/fs/ocfs2/
Ddcache.c174 spin_lock(&inode->i_lock); in ocfs2_find_local_alias()
183 spin_unlock(&inode->i_lock); in ocfs2_find_local_alias()
188 spin_unlock(&inode->i_lock); in ocfs2_find_local_alias()
/linux-4.19.296/fs/overlayfs/
Dutil.c634 spin_lock(&inode->i_lock); in ovl_inuse_trylock()
639 spin_unlock(&inode->i_lock); in ovl_inuse_trylock()
649 spin_lock(&inode->i_lock); in ovl_inuse_unlock()
652 spin_unlock(&inode->i_lock); in ovl_inuse_unlock()
661 spin_lock(&inode->i_lock); in ovl_is_inuse()
663 spin_unlock(&inode->i_lock); in ovl_is_inuse()
/linux-4.19.296/fs/exportfs/
Dexpfs.c53 spin_lock(&inode->i_lock); in find_acceptable_alias()
56 spin_unlock(&inode->i_lock); in find_acceptable_alias()
63 spin_lock(&inode->i_lock); in find_acceptable_alias()
66 spin_unlock(&inode->i_lock); in find_acceptable_alias()
/linux-4.19.296/fs/orangefs/
Dorangefs-utils.c338 spin_lock(&inode->i_lock); in orangefs_inode_getattr()
342 spin_unlock(&inode->i_lock); in orangefs_inode_getattr()
348 spin_lock(&inode->i_lock); in orangefs_inode_getattr()
350 spin_unlock(&inode->i_lock); in orangefs_inode_getattr()
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c326 spin_lock(&flo->generic_hdr.plh_inode->i_lock); in ff_layout_track_ds_error()
328 spin_unlock(&flo->generic_hdr.plh_inode->i_lock); in ff_layout_track_ds_error()
563 spin_lock(&inode->i_lock); in do_layout_fetch_ds_ioerr()
576 spin_unlock(&inode->i_lock); in do_layout_fetch_ds_ioerr()
Dflexfilelayout.c184 spin_lock(&inode->i_lock); in ff_layout_add_mirror()
191 spin_unlock(&inode->i_lock); in ff_layout_add_mirror()
197 spin_unlock(&inode->i_lock); in ff_layout_add_mirror()
208 spin_lock(&inode->i_lock); in ff_layout_remove_mirror()
210 spin_unlock(&inode->i_lock); in ff_layout_remove_mirror()
578 spin_lock(&inode->i_lock); in ff_layout_free_lseg()
584 spin_unlock(&inode->i_lock); in ff_layout_free_lseg()
767 spin_lock(&cinfo->inode->i_lock); in ff_layout_alloc_commit_info()
781 spin_unlock(&cinfo->inode->i_lock); in ff_layout_alloc_commit_info()
2090 spin_lock(&args->inode->i_lock); in ff_layout_prepare_layoutreturn()
[all …]
/linux-4.19.296/fs/cifs/
Dinode.c164 spin_lock(&inode->i_lock);
205 spin_unlock(&inode->i_lock);
1004 spin_lock(&inode->i_lock);
1007 spin_unlock(&inode->i_lock);
1011 spin_unlock(&inode->i_lock);
1109 spin_lock(&inode->i_lock);
1116 spin_unlock(&inode->i_lock);
1314 spin_lock(&inode->i_lock);
1317 spin_unlock(&inode->i_lock);
1683 spin_lock(&d_inode(direntry)->i_lock);
[all …]

123