Home
last modified time | relevance | path

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

123

/fs/
Dinode.c171 spin_lock_init(&inode->i_lock); in inode_init_always()
172 lockdep_set_class(&inode->i_lock, &sb->s_type->i_lock_key); in inode_init_always()
500 spin_lock(&inode->i_lock); in __insert_inode_hash()
502 spin_unlock(&inode->i_lock); in __insert_inode_hash()
516 spin_lock(&inode->i_lock); in __remove_inode_hash()
518 spin_unlock(&inode->i_lock); in __remove_inode_hash()
589 spin_lock(&inode->i_lock); in evict()
592 spin_unlock(&inode->i_lock); in evict()
637 spin_lock(&inode->i_lock); in evict_inodes()
639 spin_unlock(&inode->i_lock); in evict_inodes()
[all …]
Dfs-writeback.c146 assert_spin_locked(&inode->i_lock); in inode_io_list_del_locked()
291 __releases(&inode->i_lock) in locked_inode_to_wb_and_lock_list()
304 spin_unlock(&inode->i_lock); in locked_inode_to_wb_and_lock_list()
316 spin_lock(&inode->i_lock); in locked_inode_to_wb_and_lock_list()
330 spin_lock(&inode->i_lock); in inode_to_wb_and_lock_list()
388 spin_lock(&inode->i_lock); in inode_switch_wbs_work_fn()
454 spin_unlock(&inode->i_lock); in inode_switch_wbs_work_fn()
525 spin_lock(&inode->i_lock); in inode_switch_wbs()
529 spin_unlock(&inode->i_lock); in inode_switch_wbs()
534 spin_unlock(&inode->i_lock); in inode_switch_wbs()
[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()
Ddcache.c359 __releases(dentry->d_inode->i_lock) in dentry_unlink_inode()
368 spin_unlock(&inode->i_lock); in dentry_unlink_inode()
667 spin_lock(&inode->i_lock); in d_mark_dontcache()
674 spin_unlock(&inode->i_lock); in d_mark_dontcache()
689 if (inode && unlikely(!spin_trylock(&inode->i_lock))) in dentry_kill()
710 spin_lock(&inode->i_lock); in dentry_kill()
722 spin_unlock(&inode->i_lock); in dentry_kill()
986 spin_lock(&inode->i_lock); in d_find_any_alias()
988 spin_unlock(&inode->i_lock); in d_find_any_alias()
1031 spin_lock(&inode->i_lock); in d_find_alias()
[all …]
Ddrop_caches.c24 spin_lock(&inode->i_lock); in drop_pagecache_sb()
32 spin_unlock(&inode->i_lock); in drop_pagecache_sb()
36 spin_unlock(&inode->i_lock); in drop_pagecache_sb()
Dstat.c715 spin_lock(&inode->i_lock); in inode_add_bytes()
717 spin_unlock(&inode->i_lock); in inode_add_bytes()
737 spin_lock(&inode->i_lock); in inode_sub_bytes()
739 spin_unlock(&inode->i_lock); in inode_sub_bytes()
748 spin_lock(&inode->i_lock); in inode_get_bytes()
750 spin_unlock(&inode->i_lock); in inode_get_bytes()
Dpipe.c700 spin_lock(&inode->i_lock); in put_pipe_info()
705 spin_unlock(&inode->i_lock); in put_pipe_info()
1098 spin_lock(&inode->i_lock); in fifo_open()
1102 spin_unlock(&inode->i_lock); in fifo_open()
1104 spin_unlock(&inode->i_lock); in fifo_open()
1109 spin_lock(&inode->i_lock); in fifo_open()
1112 spin_unlock(&inode->i_lock); in fifo_open()
1117 spin_unlock(&inode->i_lock); in fifo_open()
/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()
612 spin_unlock(&inode->i_lock); in pnfs_put_lseg()
619 spin_unlock(&inode->i_lock); in pnfs_put_lseg()
770 spin_lock(&nfsi->vfs_inode.i_lock); in __pnfs_destroy_layout()
[all …]
Dinode.c266 spin_lock(&inode->i_lock); in nfs_zap_caches()
268 spin_unlock(&inode->i_lock); in nfs_zap_caches()
274 spin_lock(&inode->i_lock); in nfs_zap_mapping()
276 spin_unlock(&inode->i_lock); in nfs_zap_mapping()
287 spin_lock(&inode->i_lock); in nfs_zap_acl_cache()
289 spin_unlock(&inode->i_lock); in nfs_zap_acl_cache()
295 spin_lock(&inode->i_lock); in nfs_invalidate_atime()
297 spin_unlock(&inode->i_lock); in nfs_invalidate_atime()
314 spin_lock(&inode->i_lock); in nfs_set_inode_stale()
316 spin_unlock(&inode->i_lock); in nfs_set_inode_stale()
[all …]
Dnfs42proc.c368 spin_lock(&dst_inode->i_lock); in _nfs42_proc_copy()
372 spin_unlock(&dst_inode->i_lock); in _nfs42_proc_copy()
373 spin_lock(&src_inode->i_lock); in _nfs42_proc_copy()
376 spin_unlock(&src_inode->i_lock); in _nfs42_proc_copy()
717 spin_lock(&inode->i_lock); in nfs42_layoutstat_prepare()
720 spin_unlock(&inode->i_lock); in nfs42_layoutstat_prepare()
725 spin_unlock(&inode->i_lock); in nfs42_layoutstat_prepare()
752 spin_lock(&inode->i_lock); in nfs42_layoutstat_done()
764 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done()
768 spin_unlock(&inode->i_lock); in nfs42_layoutstat_done()
[all …]
Dunlink.c291 spin_lock(&data->old_dir->i_lock); in nfs_async_rename_release()
293 spin_unlock(&data->old_dir->i_lock); in nfs_async_rename_release()
295 spin_lock(&data->new_dir->i_lock); in nfs_async_rename_release()
297 spin_unlock(&data->new_dir->i_lock); in nfs_async_rename_release()
501 spin_lock(&inode->i_lock); in nfs_sillyrename()
506 spin_unlock(&inode->i_lock); in nfs_sillyrename()
Dnfs42xattr.c436 spin_lock(&inode->i_lock); in nfs4_xattr_get_cache()
446 spin_unlock(&inode->i_lock); in nfs4_xattr_get_cache()
455 spin_lock(&inode->i_lock); in nfs4_xattr_get_cache()
462 spin_unlock(&inode->i_lock); in nfs4_xattr_get_cache()
481 spin_unlock(&inode->i_lock); in nfs4_xattr_get_cache()
775 spin_lock(&inode->i_lock); in nfs4_xattr_cache_zap()
777 spin_unlock(&inode->i_lock); in nfs4_xattr_cache_zap()
842 if (!spin_trylock(&inode->i_lock)) in cache_lru_isolate()
852 spin_unlock(&inode->i_lock); in cache_lru_isolate()
Ddir.c82 spin_lock(&dir->i_lock); in alloc_nfs_open_dir_context()
88 spin_unlock(&dir->i_lock); in alloc_nfs_open_dir_context()
96 spin_lock(&dir->i_lock); in put_nfs_open_dir_context()
98 spin_unlock(&dir->i_lock); in put_nfs_open_dir_context()
1109 spin_lock(&inode->i_lock); in nfs_clear_verifier_delegated()
1115 spin_unlock(&inode->i_lock); in nfs_clear_verifier_delegated()
1208 spin_lock(&inode->i_lock); in nfs_mark_dir_for_revalidate()
1210 spin_unlock(&inode->i_lock); in nfs_mark_dir_for_revalidate()
1500 spin_lock(&inode->i_lock); in nfs_drop_nlink()
1509 spin_unlock(&inode->i_lock); in nfs_drop_nlink()
[all …]
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()
/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.c315 spin_lock(&inode->i_lock); in orangefs_revalidate_mapping()
317 spin_unlock(&inode->i_lock); in orangefs_revalidate_mapping()
322 spin_unlock(&inode->i_lock); in orangefs_revalidate_mapping()
328 spin_unlock(&inode->i_lock); in orangefs_revalidate_mapping()
/fs/quota/
Ddquot.c1042 spin_lock(&inode->i_lock); in add_dquot_ref()
1046 spin_unlock(&inode->i_lock); in add_dquot_ref()
1050 spin_unlock(&inode->i_lock); in add_dquot_ref()
1601 spin_lock(&inode->i_lock); in __dquot_initialize()
1607 spin_unlock(&inode->i_lock); in __dquot_initialize()
1716 spin_lock(&inode->i_lock); in inode_get_rsv_space()
1718 spin_unlock(&inode->i_lock); in inode_get_rsv_space()
1744 spin_lock(&inode->i_lock); in __dquot_alloc_space()
1746 spin_unlock(&inode->i_lock); in __dquot_alloc_space()
1758 spin_lock(&inode->i_lock); in __dquot_alloc_space()
[all …]
/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()
119 spin_lock(&inode->i_lock); in __fsnotify_update_child_dentry_flags()
142 spin_unlock(&inode->i_lock); in __fsnotify_update_child_dentry_flags()
/fs/9p/
Dv9fs_vfs.h85 spin_lock(&inode->i_lock); in v9fs_i_size_write()
88 spin_unlock(&inode->i_lock); in v9fs_i_size_write()
/fs/kernfs/
Dinode.c197 spin_lock(&inode->i_lock); in kernfs_iop_getattr()
200 spin_unlock(&inode->i_lock); in kernfs_iop_getattr()
294 spin_lock(&inode->i_lock); in kernfs_iop_permission()
297 spin_unlock(&inode->i_lock); in kernfs_iop_permission()
/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()
/fs/ocfs2/
Ddcache.c160 spin_lock(&inode->i_lock); in ocfs2_find_local_alias()
169 spin_unlock(&inode->i_lock); in ocfs2_find_local_alias()
174 spin_unlock(&inode->i_lock); in ocfs2_find_local_alias()
/fs/overlayfs/
Dutil.c672 spin_lock(&inode->i_lock); in ovl_inuse_trylock()
677 spin_unlock(&inode->i_lock); in ovl_inuse_trylock()
687 spin_lock(&inode->i_lock); in ovl_inuse_unlock()
690 spin_unlock(&inode->i_lock); in ovl_inuse_unlock()
699 spin_lock(&inode->i_lock); in ovl_is_inuse()
701 spin_unlock(&inode->i_lock); in ovl_is_inuse()
/fs/xfs/libxfs/
Dxfs_trans_inode.c114 spin_lock(&inode->i_lock); in xfs_trans_log_inode()
116 spin_unlock(&inode->i_lock); in xfs_trans_log_inode()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c189 spin_lock(&inode->i_lock); in ff_layout_add_mirror()
196 spin_unlock(&inode->i_lock); in ff_layout_add_mirror()
202 spin_unlock(&inode->i_lock); in ff_layout_add_mirror()
213 spin_lock(&inode->i_lock); in ff_layout_remove_mirror()
215 spin_unlock(&inode->i_lock); in ff_layout_remove_mirror()
566 spin_lock(&inode->i_lock); in ff_layout_free_lseg()
568 spin_unlock(&inode->i_lock); in ff_layout_free_lseg()
1985 spin_lock(&inode->i_lock); in ff_layout_setup_ds_info()
1987 spin_unlock(&inode->i_lock); in ff_layout_setup_ds_info()
1997 spin_lock(&inode->i_lock); in ff_layout_release_ds_info()
[all …]

123