Home
last modified time | relevance | path

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

12

/linux/fs/
A Ddcache.c322 spin_lock(&dentry->d_lock); in take_dentry_name_snapshot()
396 __releases(dentry->d_lock) in dentry_unlink_inode()
547 spin_lock(&dentry->d_lock); in d_drop()
739 spin_lock(&de->d_lock); in d_mark_dontcache()
741 spin_unlock(&de->d_lock); in d_mark_dontcache()
921 spin_lock(&ret->d_lock); in dget_parent()
930 spin_unlock(&ret->d_lock); in dget_parent()
1388 spin_lock(&p->d_lock); in d_set_mounted()
1390 spin_unlock(&p->d_lock); in d_set_mounted()
1393 spin_unlock(&p->d_lock); in d_set_mounted()
[all …]
A Dlibfs.c114 spin_lock(&dentry->d_lock); in scan_positives()
125 spin_unlock(&d->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()
212 spin_lock(&dentry->d_lock); in dcache_readdir()
216 spin_unlock(&dentry->d_lock); in dcache_readdir()
348 spin_lock(&child->d_lock); in simple_offset_empty()
504 spin_lock(&child->d_lock); in offset_find_next()
594 spin_lock(&parent->d_lock); in find_next_child()
[all …]
/linux/fs/9p/
A Dfid.c37 spin_lock(&dentry->d_lock); in v9fs_fid_add()
39 spin_unlock(&dentry->d_lock); in v9fs_fid_add()
125 spin_lock(&dentry->d_lock); in v9fs_fid_find()
133 spin_unlock(&dentry->d_lock); in v9fs_fid_find()
261 spin_lock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
263 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
269 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
A Dvfs_dentry.c56 spin_lock(&dentry->d_lock); in v9fs_dentry_release()
58 spin_unlock(&dentry->d_lock); in v9fs_dentry_release()
/linux/fs/nfs/
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()
A Dunlink.c140 spin_lock(&alias->d_lock); in nfs_call_unlink()
150 spin_unlock(&alias->d_lock); in nfs_call_unlink()
191 spin_lock(&dentry->d_lock); in nfs_async_unlink()
197 spin_unlock(&dentry->d_lock); in nfs_async_unlink()
206 spin_unlock(&dentry->d_lock); in nfs_async_unlink()
229 spin_lock(&dentry->d_lock); in nfs_complete_unlink()
233 spin_unlock(&dentry->d_lock); in nfs_complete_unlink()
245 spin_lock(&dentry->d_lock); in nfs_cancel_async_unlink()
251 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
255 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
A Dgetroot.c56 spin_lock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
58 spin_unlock(&sb->s_root->d_lock); in nfs_superblock_set_dummy_root()
119 spin_lock(&root->d_lock); in nfs_get_root()
125 spin_unlock(&root->d_lock); in nfs_get_root()
A Ddir.c1458 spin_lock(&dentry->d_lock); in nfs_set_verifier()
1460 spin_unlock(&dentry->d_lock); in nfs_set_verifier()
1483 spin_lock(&alias->d_lock); in nfs_clear_verifier_delegated()
1485 spin_unlock(&alias->d_lock); in nfs_clear_verifier_delegated()
2558 spin_lock(&dentry->d_lock); in nfs_unlink()
2561 spin_unlock(&dentry->d_lock); in nfs_unlink()
2575 spin_unlock(&dentry->d_lock); in nfs_unlink()
2580 spin_unlock(&dentry->d_lock); in nfs_unlink()
2753 spin_lock(&new_dentry->d_lock); in nfs_rename()
2757 spin_unlock(&new_dentry->d_lock); in nfs_rename()
[all …]
/linux/fs/autofs/
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()
A Dautofs_i.h195 spin_lock(&dentry->d_lock); in managed_dentry_set_managed()
197 spin_unlock(&dentry->d_lock); in managed_dentry_set_managed()
207 spin_lock(&dentry->d_lock); in managed_dentry_clear_managed()
209 spin_unlock(&dentry->d_lock); in managed_dentry_clear_managed()
A Droot.c153 spin_lock(&active->d_lock); in autofs_lookup_active()
173 spin_unlock(&active->d_lock); in autofs_lookup_active()
178 spin_unlock(&active->d_lock); in autofs_lookup_active()
213 spin_lock(&expiring->d_lock); in autofs_lookup_expiring()
233 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
238 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring()
531 spin_lock(&dentry->d_lock); in autofs_lookup()
541 spin_unlock(&dentry->d_lock); in autofs_lookup()
/linux/fs/ceph/
A Ddir.c160 spin_lock(&parent->d_lock); in __dcache_find_get_entry()
167 spin_unlock(&parent->d_lock); in __dcache_find_get_entry()
219 spin_lock(&dentry->d_lock); in __dcache_readdir()
248 spin_lock(&dentry->d_lock); in __dcache_readdir()
264 spin_unlock(&dentry->d_lock); in __dcache_readdir()
347 spin_lock(&dentry->d_lock); in ceph_readdir()
1254 spin_lock(&dentry->d_lock); in ceph_async_unlink_cb()
1795 spin_lock(&dentry->d_lock); in ceph_invalidate_dentry_lease()
1840 spin_lock(&dentry->d_lock); in dentry_lease_is_valid()
2204 spin_lock(&dn->d_lock); in ceph_dentry_hash()
[all …]
A Ddebugfs.c88 spin_lock(&req->r_dentry->d_lock); in mdsc_show()
93 spin_unlock(&req->r_dentry->d_lock); in mdsc_show()
107 spin_lock(&req->r_old_dentry->d_lock); in mdsc_show()
113 spin_unlock(&req->r_old_dentry->d_lock); in mdsc_show()
/linux/fs/ocfs2/
A Ddcache.c57 spin_lock(&dentry->d_lock); in ocfs2_dentry_revalidate()
59 spin_unlock(&dentry->d_lock); in ocfs2_dentry_revalidate()
153 spin_lock(&dentry->d_lock); in ocfs2_find_local_alias()
159 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
163 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
/linux/fs/notify/
A Dfsnotify.c136 spin_lock(&alias->d_lock); in fsnotify_set_children_dentry_flags()
141 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in fsnotify_set_children_dentry_flags()
143 spin_unlock(&child->d_lock); in fsnotify_set_children_dentry_flags()
145 spin_unlock(&alias->d_lock); in fsnotify_set_children_dentry_flags()
157 spin_lock(&dentry->d_lock); in fsnotify_clear_child_dentry_flag()
165 spin_unlock(&dentry->d_lock); in fsnotify_clear_child_dentry_flag()
/linux/fs/afs/
A Ddir_silly.c31 spin_lock(&old->d_lock); in afs_silly_rename_edit_dir()
33 spin_unlock(&old->d_lock); in afs_silly_rename_edit_dir()
259 spin_lock(&alias->d_lock); in afs_silly_iput()
265 spin_unlock(&alias->d_lock); in afs_silly_iput()
/linux/fs/coda/
A Dcache.c95 spin_lock(&parent->d_lock); in coda_flag_children()
102 spin_unlock(&parent->d_lock); in coda_flag_children()
/linux/fs/configfs/
A Dinode.c209 spin_lock(&dentry->d_lock); in configfs_drop_dentry()
213 spin_unlock(&dentry->d_lock); in configfs_drop_dentry()
216 spin_unlock(&dentry->d_lock); in configfs_drop_dentry()
A Dconfigfs_internal.h125 spin_lock(&dentry->d_lock); in configfs_get_config_item()
130 spin_unlock(&dentry->d_lock); in configfs_get_config_item()
/linux/include/linux/
A Ddcache.h80 #define d_lock d_lockref.lock macro
369 spin_lock(&dentry->d_lock); in dont_mount()
371 spin_unlock(&dentry->d_lock); in dont_mount()
A Dfscrypt.h292 spin_lock(&dentry->d_lock); in fscrypt_prepare_dentry()
294 spin_unlock(&dentry->d_lock); in fscrypt_prepare_dentry()
303 spin_lock(&dentry->d_lock); in fscrypt_prepare_dentry()
305 spin_unlock(&dentry->d_lock); in fscrypt_prepare_dentry()
/linux/security/
A Dlsm_audit.c266 spin_lock(&a->u.dentry->d_lock); in dump_common_audit_data()
268 spin_unlock(&a->u.dentry->d_lock); in dump_common_audit_data()
287 spin_lock(&dentry->d_lock); in dump_common_audit_data()
289 spin_unlock(&dentry->d_lock); in dump_common_audit_data()
/linux/Documentation/filesystems/
A Dpath-lookup.txt89 hash, and its inode are protected by the per-dentry d_lock spinlock. A
90 reference is taken on the dentry (while the fields are verified under d_lock),
177 In refcount based dcache lookups, d_lock is used to serialise access to
213 is the traditional[*] way of performing dcache lookups using d_lock to
268 | name: "a.c" | We now take its d_lock, verify d_seq of this
270 | children:NULL | its refcount because we're holding d_lock.
273 Taking a refcount on a dentry from rcu-walk mode, by taking its d_lock,
311 * When the destination dentry is reached, drop rcu there (ie. take d_lock,
/linux/arch/powerpc/platforms/cell/spufs/
A Dinode.c153 spin_lock(&dentry->d_lock); in spufs_prune_dir()
157 spin_unlock(&dentry->d_lock); in spufs_prune_dir()
164 spin_unlock(&dentry->d_lock); in spufs_prune_dir()
/linux/fs/exportfs/
A Dexpfs.c99 spin_lock(&dentry->d_lock); in clear_disconnected()
101 spin_unlock(&dentry->d_lock); in clear_disconnected()

Completed in 59 milliseconds

12