Home
last modified time | relevance | path

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

12

/linux/fs/
H A Ddcache.c470 __releases(dentry->d_lock) in dentry_unlink_inode()
486 spin_unlock(&dentry->d_lock); in dentry_unlink_inode()
618 spin_lock(&dentry->d_lock); in d_drop()
620 spin_unlock(&dentry->d_lock); in d_drop()
744 spin_unlock(&dentry->d_lock); in lock_for_kill()
756 spin_unlock(&dentry->d_lock); in lock_for_kill()
758 spin_lock(&dentry->d_lock); in lock_for_kill()
771 spin_unlock(&dentry->d_lock); in lock_for_kill()
842 spin_unlock(&dentry->d_lock); in dentry_kill()
851 spin_lock(&parent->d_lock); in dentry_kill()
[all …]
H A Dlibfs.c74 spin_lock(&dentry->d_lock); in simple_lookup()
76 spin_unlock(&dentry->d_lock); in simple_lookup()
114 spin_lock(&dentry->d_lock); in scan_positives()
122 spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED); in scan_positives()
125 spin_unlock(&d->d_lock); in scan_positives()
135 spin_unlock(&dentry->d_lock); in scan_positives()
137 spin_lock(&dentry->d_lock); in scan_positives()
140 spin_unlock(&dentry->d_lock); in scan_positives()
168 spin_lock(&dentry->d_lock); in dcache_dir_lseek()
172 spin_unlock(&dentry->d_lock); in dcache_dir_lseek()
[all …]
/linux/fs/nfs/
H A Dnamespace.c72 spin_lock(&dentry->d_lock); in nfs_path()
82 spin_unlock(&dentry->d_lock); in nfs_path()
86 spin_unlock(&dentry->d_lock); in nfs_path()
92 spin_unlock(&dentry->d_lock); in nfs_path()
101 spin_unlock(&dentry->d_lock); in nfs_path()
114 spin_unlock(&dentry->d_lock); in nfs_path()
120 spin_unlock(&dentry->d_lock); in nfs_path()
124 spin_unlock(&dentry->d_lock); in nfs_path()
H A Dunlink.c141 spin_lock(&alias->d_lock); in nfs_call_unlink()
151 spin_unlock(&alias->d_lock); in nfs_call_unlink()
193 spin_lock(&dentry->d_lock); in nfs_async_unlink()
199 spin_unlock(&dentry->d_lock); in nfs_async_unlink()
208 spin_unlock(&dentry->d_lock); in nfs_async_unlink()
231 spin_lock(&dentry->d_lock); in nfs_complete_unlink()
235 spin_unlock(&dentry->d_lock); in nfs_complete_unlink()
247 spin_lock(&dentry->d_lock); in nfs_cancel_async_unlink()
253 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
257 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
H A Ddir.c1460 spin_lock(&dentry->d_lock); in nfs_set_verifier()
1462 spin_unlock(&dentry->d_lock); in nfs_set_verifier()
1473 spin_lock(&alias->d_lock); in nfs_clear_verifier_file()
1478 spin_unlock(&alias->d_lock); in nfs_clear_verifier_file()
1493 spin_lock(&this_parent->d_lock); in nfs_clear_verifier_directory()
1503 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in nfs_clear_verifier_directory()
1505 spin_unlock(&dentry->d_lock); in nfs_clear_verifier_directory()
1507 spin_unlock(&this_parent->d_lock); in nfs_clear_verifier_directory()
1865 lockdep_assert_held(&dentry->d_lock); in block_revalidate()
2597 spin_lock(&dentry->d_lock); in nfs_unlink()
[all …]
/linux/fs/autofs/
H A Dexpire.c79 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in positive_after()
82 spin_unlock(&child->d_lock); in positive_after()
85 spin_unlock(&child->d_lock); in positive_after()
101 spin_lock(&root->d_lock); in get_next_positive_subdir()
103 spin_unlock(&root->d_lock); in get_next_positive_subdir()
122 spin_lock(&p->d_lock); in get_next_positive_dentry()
130 spin_unlock(&p->d_lock); in get_next_positive_dentry()
131 spin_lock(&parent->d_lock); in get_next_positive_dentry()
135 spin_unlock(&p->d_lock); in get_next_positive_dentry()
H A Droot.c154 spin_lock(&active->d_lock); in autofs_lookup_active()
174 spin_unlock(&active->d_lock); in autofs_lookup_active()
179 spin_unlock(&active->d_lock); in autofs_lookup_active()
214 spin_lock(&expiring->d_lock); in autofs_lookup_expiring()
234 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
239 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
540 spin_lock(&dentry->d_lock); in autofs_lookup()
550 spin_unlock(&dentry->d_lock); in autofs_lookup()
/linux/fs/ceph/
H A Ddir.c161 spin_lock(&parent->d_lock); in __dcache_find_get_entry()
168 spin_unlock(&parent->d_lock); in __dcache_find_get_entry()
220 spin_lock(&dentry->d_lock); in __dcache_readdir()
227 spin_unlock(&dentry->d_lock); in __dcache_readdir()
249 spin_lock(&dentry->d_lock); in __dcache_readdir()
256 spin_unlock(&dentry->d_lock); in __dcache_readdir()
265 spin_unlock(&dentry->d_lock); in __dcache_readdir()
348 spin_lock(&dentry->d_lock); in ceph_readdir()
350 spin_unlock(&dentry->d_lock); in ceph_readdir()
1275 spin_lock(&dentry->d_lock); in ceph_async_unlink_cb()
[all …]
H A Ddebugfs.c119 spin_lock(&req->r_dentry->d_lock); in mdsc_show()
124 spin_unlock(&req->r_dentry->d_lock); in mdsc_show()
138 spin_lock(&req->r_old_dentry->d_lock); in mdsc_show()
144 spin_unlock(&req->r_old_dentry->d_lock); in mdsc_show()
H A Dinode.c1476 spin_lock(&dentry->d_lock); in update_dentry_lease()
1479 spin_unlock(&dentry->d_lock); in update_dentry_lease()
1498 spin_lock(&dentry->d_lock); in update_dentry_lease_careful()
1524 spin_unlock(&dentry->d_lock); in update_dentry_lease_careful()
1548 spin_lock(&realdn->d_lock); in splice_dentry()
1556 spin_unlock(&realdn->d_lock); in splice_dentry()
1691 spin_lock(&dn->d_lock); in ceph_fill_trace()
1693 spin_unlock(&dn->d_lock); in ceph_fill_trace()
2107 spin_lock(&dn->d_lock); in ceph_readdir_prepopulate()
2109 spin_unlock(&dn->d_lock); in ceph_readdir_prepopulate()
[all …]
H A Dmds_client.c952 spin_lock(&udentry->d_lock); in ceph_wait_on_conflict_unlink()
968 spin_unlock(&udentry->d_lock); in ceph_wait_on_conflict_unlink()
971 spin_unlock(&udentry->d_lock); in ceph_wait_on_conflict_unlink()
2238 spin_lock(&dentry->d_lock); in drop_negative_children()
2245 spin_unlock(&dentry->d_lock); in drop_negative_children()
2925 spin_lock(&cur->d_lock); in ceph_mdsc_build_path()
2929 spin_unlock(&cur->d_lock); in ceph_mdsc_build_path()
2933 spin_unlock(&cur->d_lock); in ceph_mdsc_build_path()
2939 spin_unlock(&cur->d_lock); in ceph_mdsc_build_path()
2943 spin_unlock(&cur->d_lock); in ceph_mdsc_build_path()
[all …]
H A Dfile.c551 spin_lock(&dentry->d_lock); in try_prep_async_create()
553 spin_unlock(&dentry->d_lock); in try_prep_async_create()
784 spin_lock(&dentry->d_lock); in ceph_finish_async_create()
786 spin_unlock(&dentry->d_lock); in ceph_finish_async_create()
927 spin_lock(&dentry->d_lock); in ceph_atomic_open()
929 spin_unlock(&dentry->d_lock); in ceph_atomic_open()
/linux/include/linux/
H A Ddcache.h89 #define d_lock d_lockref.lock macro
382 spin_lock(&dentry->d_lock); in dget_alias_ilocked()
385 spin_unlock(&dentry->d_lock); in dget_alias_ilocked()
388 spin_unlock(&dentry->d_lock); in dget_alias_ilocked()
417 spin_lock(&dentry->d_lock); in dont_mount()
419 spin_unlock(&dentry->d_lock); in dont_mount()
H A Dfscrypt.h330 spin_lock(&dentry->d_lock); in fscrypt_prepare_dentry()
332 spin_unlock(&dentry->d_lock); in fscrypt_prepare_dentry()
341 spin_lock(&dentry->d_lock); in fscrypt_prepare_dentry()
343 spin_unlock(&dentry->d_lock); in fscrypt_prepare_dentry()
H A Dfsnotify_backend.h713 assert_spin_locked(&dentry->d_lock); in fsnotify_update_flags()
/linux/fs/configfs/
H A Dconfigfs_internal.h124 spin_lock(&dentry->d_lock); in configfs_get_config_item()
129 spin_unlock(&dentry->d_lock); in configfs_get_config_item()
H A Dsymlink.c135 spin_lock(&path.dentry->d_lock); in get_target()
142 spin_unlock(&path.dentry->d_lock); in get_target()
H A Ddir.c604 spin_lock(&child->d_lock); in detach_attrs()
608 spin_unlock(&child->d_lock); in detach_attrs()
610 spin_unlock(&child->d_lock); in detach_attrs()
/linux/fs/9p/
H A Dvfs_dentry.c91 spin_lock(&dentry->d_lock); in __v9fs_dentry_fid_remove()
93 spin_unlock(&dentry->d_lock); in __v9fs_dentry_fid_remove()
/linux/fs/overlayfs/
H A Ddir.c1030 spin_lock(&d->d_lock); in ovl_get_redirect()
1042 spin_unlock(&d->d_lock); in ovl_get_redirect()
1048 spin_unlock(&d->d_lock); in ovl_get_redirect()
1113 spin_lock(&dentry->d_lock); in ovl_set_redirect()
1115 spin_unlock(&dentry->d_lock); in ovl_set_redirect()
H A Dutil.c174 spin_lock(&dentry->d_lock); in ovl_dentry_update_reval()
176 spin_unlock(&dentry->d_lock); in ovl_dentry_update_reval()
196 spin_lock(&dentry->d_lock); in ovl_dentry_init_flags()
199 spin_unlock(&dentry->d_lock); in ovl_dentry_init_flags()
/linux/net/sunrpc/
H A Drpc_pipe.c423 spin_lock(&file->f_path.dentry->d_lock); in rpc_info_open()
427 spin_unlock(&file->f_path.dentry->d_lock); in rpc_info_open()
430 spin_unlock(&file->f_path.dentry->d_lock); in rpc_info_open()
/linux/Documentation/filesystems/
H A Dporting.rst252 * the child's ->d_lock is held
391 particular things. Most of the time, a filesystem only needs ->d_lock, which
1102 ->d_delete() instances are now called for dentries with ->d_lock held
1103 and refcount equal to 0. They are not permitted to drop/regain ->d_lock.
1110 ->d_prune() instances are now called without ->d_lock held on the parent.
1111 ->d_lock on dentry itself is still held; if you need per-parent exclusions (none
1119 half-killed dentries that might be seen there; taking ->d_lock on those will
1401 of API it's more explicit, since grabbing ->d_lock is caller-side, but
/linux/fs/smb/client/
H A Ddir.c935 spin_lock(&direntry->d_lock);
937 spin_unlock(&direntry->d_lock);
/linux/fs/fuse/
H A Ddir.c177 spin_lock(&fd->dentry->d_lock); in fuse_dentry_tree_work()
181 spin_unlock(&fd->dentry->d_lock); in fuse_dentry_tree_work()
267 spin_lock(&dentry->d_lock); in fuse_dentry_settime()
272 spin_unlock(&dentry->d_lock); in fuse_dentry_settime()

12