Home
last modified time | relevance | path

Searched refs:d_lock (Results 1 – 25 of 34) sorted by relevance

12

/linux-4.19.296/fs/
Ddcache.c288 spin_lock(&dentry->d_lock); in take_dentry_name_snapshot()
292 spin_unlock(&dentry->d_lock); in take_dentry_name_snapshot()
297 spin_unlock(&dentry->d_lock); in take_dentry_name_snapshot()
358 __releases(dentry->d_lock) in dentry_unlink_inode()
367 spin_unlock(&dentry->d_lock); in dentry_unlink_inode()
493 spin_lock(&dentry->d_lock); in d_drop()
495 spin_unlock(&dentry->d_lock); in d_drop()
564 spin_unlock(&parent->d_lock); in __dentry_kill()
568 spin_unlock(&dentry->d_lock); in __dentry_kill()
573 spin_lock(&dentry->d_lock); in __dentry_kill()
[all …]
Dlibfs.c103 spin_lock(&dentry->d_lock); in scan_positives()
110 spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED); in scan_positives()
113 spin_unlock(&d->d_lock); in scan_positives()
121 spin_unlock(&dentry->d_lock); in scan_positives()
123 spin_lock(&dentry->d_lock); in scan_positives()
126 spin_unlock(&dentry->d_lock); in scan_positives()
155 spin_lock(&dentry->d_lock); in dcache_dir_lseek()
157 spin_unlock(&dentry->d_lock); in dcache_dir_lseek()
159 spin_lock(&dentry->d_lock); in dcache_dir_lseek()
161 spin_unlock(&dentry->d_lock); in dcache_dir_lseek()
[all …]
Ddcookies.c102 spin_lock(&d->d_lock); in alloc_dcookie()
104 spin_unlock(&d->d_lock); in alloc_dcookie()
280 spin_lock(&d->d_lock); in free_dcookie()
282 spin_unlock(&d->d_lock); in free_dcookie()
/linux-4.19.296/fs/autofs/
Dexpire.c87 spin_lock(&root->d_lock); in get_next_positive_subdir()
98 spin_unlock(&root->d_lock); in get_next_positive_subdir()
106 spin_lock_nested(&q->d_lock, DENTRY_D_LOCK_NESTED); in get_next_positive_subdir()
109 spin_unlock(&q->d_lock); in get_next_positive_subdir()
114 spin_unlock(&q->d_lock); in get_next_positive_subdir()
115 spin_unlock(&root->d_lock); in get_next_positive_subdir()
139 spin_lock(&p->d_lock); in get_next_positive_dentry()
147 spin_unlock(&p->d_lock); in get_next_positive_dentry()
154 if (!spin_trylock(&parent->d_lock)) { in get_next_positive_dentry()
155 spin_unlock(&p->d_lock); in get_next_positive_dentry()
[all …]
Dautofs_i.h182 spin_lock(&dentry->d_lock); in managed_dentry_set_managed()
184 spin_unlock(&dentry->d_lock); in managed_dentry_set_managed()
194 spin_lock(&dentry->d_lock); in managed_dentry_clear_managed()
196 spin_unlock(&dentry->d_lock); in managed_dentry_clear_managed()
Droot.c174 spin_lock(&active->d_lock); in autofs_lookup_active()
194 spin_unlock(&active->d_lock); in autofs_lookup_active()
199 spin_unlock(&active->d_lock); in autofs_lookup_active()
234 spin_lock(&expiring->d_lock); in autofs_lookup_expiring()
254 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
259 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
/linux-4.19.296/fs/nfs/
Dnamespace.c70 spin_lock(&dentry->d_lock); in nfs_path()
80 spin_unlock(&dentry->d_lock); in nfs_path()
84 spin_unlock(&dentry->d_lock); in nfs_path()
90 spin_unlock(&dentry->d_lock); in nfs_path()
99 spin_unlock(&dentry->d_lock); in nfs_path()
112 spin_unlock(&dentry->d_lock); in nfs_path()
118 spin_unlock(&dentry->d_lock); in nfs_path()
122 spin_unlock(&dentry->d_lock); in nfs_path()
Dgetroot.c60 spin_lock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
62 spin_unlock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
122 spin_lock(&ret->d_lock); in nfs_get_root()
128 spin_unlock(&ret->d_lock); in nfs_get_root()
Dunlink.c135 spin_lock(&alias->d_lock); in nfs_call_unlink()
144 spin_unlock(&alias->d_lock); in nfs_call_unlink()
189 spin_lock(&dentry->d_lock); in nfs_async_unlink()
195 spin_unlock(&dentry->d_lock); in nfs_async_unlink()
204 spin_unlock(&dentry->d_lock); in nfs_async_unlink()
228 spin_lock(&dentry->d_lock); in nfs_complete_unlink()
232 spin_unlock(&dentry->d_lock); in nfs_complete_unlink()
242 spin_lock(&dentry->d_lock); in nfs_cancel_async_unlink()
248 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
252 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
/linux-4.19.296/fs/9p/
Dfid.c51 spin_lock(&dentry->d_lock); in v9fs_fid_add()
53 spin_unlock(&dentry->d_lock); in v9fs_fid_add()
75 spin_lock(&dentry->d_lock); in v9fs_fid_find()
82 spin_unlock(&dentry->d_lock); in v9fs_fid_find()
206 spin_lock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
208 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
213 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
/linux-4.19.296/fs/tracefs/
Dinode.c187 spin_lock(&this_parent->d_lock); in set_gid()
198 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in set_gid()
203 spin_unlock(&this_parent->d_lock); in set_gid()
204 spin_release(&dentry->d_lock.dep_map, 1, _RET_IP_); in set_gid()
206 spin_acquire(&this_parent->d_lock.dep_map, 0, 1, _RET_IP_); in set_gid()
209 spin_unlock(&dentry->d_lock); in set_gid()
220 spin_unlock(&child->d_lock); in set_gid()
221 spin_lock(&this_parent->d_lock); in set_gid()
234 spin_unlock(&this_parent->d_lock); in set_gid()
667 spin_lock(&parent->d_lock); in tracefs_remove_recursive()
[all …]
/linux-4.19.296/fs/ocfs2/
Ddcache.c73 spin_lock(&dentry->d_lock); in ocfs2_dentry_revalidate()
75 spin_unlock(&dentry->d_lock); in ocfs2_dentry_revalidate()
176 spin_lock(&dentry->d_lock); in ocfs2_find_local_alias()
182 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
186 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
/linux-4.19.296/include/linux/
Ddcache.h86 #define d_lock d_lockref.lock macro
352 spin_lock(&dentry->d_lock); in dont_mount()
354 spin_unlock(&dentry->d_lock); in dont_mount()
367 spin_lock(&dentry->d_lock); in d_lookup_done()
369 spin_unlock(&dentry->d_lock); in d_lookup_done()
/linux-4.19.296/fs/coda/
Dcache.c95 spin_lock(&parent->d_lock); in coda_flag_children()
101 spin_unlock(&parent->d_lock); in coda_flag_children()
/linux-4.19.296/fs/notify/
Dfsnotify.c132 spin_lock(&alias->d_lock); in __fsnotify_update_child_dentry_flags()
137 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in __fsnotify_update_child_dentry_flags()
142 spin_unlock(&child->d_lock); in __fsnotify_update_child_dentry_flags()
144 spin_unlock(&alias->d_lock); in __fsnotify_update_child_dentry_flags()
/linux-4.19.296/fs/ceph/
Ddebugfs.c85 spin_lock(&req->r_dentry->d_lock); in mdsc_show()
90 spin_unlock(&req->r_dentry->d_lock); in mdsc_show()
104 spin_lock(&req->r_old_dentry->d_lock); in mdsc_show()
110 spin_unlock(&req->r_old_dentry->d_lock); in mdsc_show()
Ddir.c149 spin_lock(&parent->d_lock); in __dcache_find_get_entry()
156 spin_unlock(&parent->d_lock); in __dcache_find_get_entry()
205 spin_lock(&dentry->d_lock); in __dcache_readdir()
212 spin_unlock(&dentry->d_lock); in __dcache_readdir()
233 spin_lock(&dentry->d_lock); in __dcache_readdir()
238 spin_unlock(&dentry->d_lock); in __dcache_readdir()
246 spin_unlock(&dentry->d_lock); in __dcache_readdir()
1132 spin_lock(&dentry->d_lock); in ceph_invalidate_dentry_lease()
1135 spin_unlock(&dentry->d_lock); in ceph_invalidate_dentry_lease()
1153 spin_lock(&dentry->d_lock); in dentry_lease_is_valid()
[all …]
Dmds_client.c1523 spin_lock(&dentry->d_lock); in drop_negative_children()
1530 spin_unlock(&dentry->d_lock); in drop_negative_children()
1915 spin_lock(&temp->d_lock); in ceph_mdsc_build_path()
1922 spin_unlock(&temp->d_lock); in ceph_mdsc_build_path()
1927 spin_unlock(&temp->d_lock); in ceph_mdsc_build_path()
1933 spin_unlock(&temp->d_lock); in ceph_mdsc_build_path()
1970 spin_lock(&dentry->d_lock); in clone_dentry_name()
1972 spin_unlock(&dentry->d_lock); in clone_dentry_name()
1977 spin_unlock(&dentry->d_lock); in clone_dentry_name()
3488 spin_lock(&dentry->d_lock); in handle_lease()
[all …]
/linux-4.19.296/fs/configfs/
Dinode.c248 spin_lock(&dentry->d_lock); in configfs_drop_dentry()
252 spin_unlock(&dentry->d_lock); in configfs_drop_dentry()
255 spin_unlock(&dentry->d_lock); in configfs_drop_dentry()
Dconfigfs_internal.h146 spin_lock(&dentry->d_lock); in configfs_get_config_item()
155 spin_unlock(&dentry->d_lock); in configfs_get_config_item()
/linux-4.19.296/fs/crypto/
Dhooks.c116 spin_lock(&dentry->d_lock); in __fscrypt_prepare_lookup()
118 spin_unlock(&dentry->d_lock); in __fscrypt_prepare_lookup()
/linux-4.19.296/fs/debugfs/
Dinode.c721 spin_lock(&parent->d_lock); in debugfs_remove_recursive()
728 spin_unlock(&parent->d_lock); in debugfs_remove_recursive()
734 spin_unlock(&parent->d_lock); in debugfs_remove_recursive()
748 spin_unlock(&parent->d_lock); in debugfs_remove_recursive()
/linux-4.19.296/fs/cifs/
Ddir.c135 spin_lock(&temp->d_lock); in build_path_from_dentry_optional_prefix()
138 spin_unlock(&temp->d_lock); in build_path_from_dentry_optional_prefix()
146 spin_unlock(&temp->d_lock); in build_path_from_dentry_optional_prefix()
882 spin_lock(&direntry->d_lock); in cifs_d_revalidate()
884 spin_unlock(&direntry->d_lock); in cifs_d_revalidate()
/linux-4.19.296/fs/overlayfs/
Ddir.c946 spin_lock(&d->d_lock); in ovl_get_redirect()
958 spin_unlock(&d->d_lock); in ovl_get_redirect()
964 spin_unlock(&d->d_lock); in ovl_get_redirect()
1028 spin_lock(&dentry->d_lock); in ovl_set_redirect()
1030 spin_unlock(&dentry->d_lock); in ovl_set_redirect()
/linux-4.19.296/fs/exportfs/
Dexpfs.c98 spin_lock(&dentry->d_lock); in clear_disconnected()
100 spin_unlock(&dentry->d_lock); in clear_disconnected()

12