Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/
H A Ddcache.c315 spin_lock(&dentry->d_lock); in take_dentry_name_snapshot()
324 spin_unlock(&dentry->d_lock); in take_dentry_name_snapshot()
389 __releases(dentry->d_lock) in dentry_unlink_inode()
398 spin_unlock(&dentry->d_lock); in dentry_unlink_inode()
538 spin_lock(&dentry->d_lock); in d_drop()
540 spin_unlock(&dentry->d_lock); in d_drop()
609 spin_unlock(&parent->d_lock); in __dentry_kill()
613 spin_unlock(&dentry->d_lock); in __dentry_kill()
618 spin_lock(&dentry->d_lock); in __dentry_kill()
623 spin_unlock(&dentry->d_lock); in __dentry_kill()
[all …]
H A Dlibfs.c110 spin_lock(&dentry->d_lock); in scan_positives()
117 spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED); in scan_positives()
120 spin_unlock(&d->d_lock); in scan_positives()
128 spin_unlock(&dentry->d_lock); in scan_positives()
130 spin_lock(&dentry->d_lock); in scan_positives()
133 spin_unlock(&dentry->d_lock); in scan_positives()
161 spin_lock(&dentry->d_lock); in dcache_dir_lseek()
166 spin_unlock(&dentry->d_lock); in dcache_dir_lseek()
209 spin_lock(&dentry->d_lock); in dcache_readdir()
214 spin_unlock(&dentry->d_lock); in dcache_readdir()
[all …]
/openbmc/linux/fs/9p/
H 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()
H A Dvfs_dentry.c56 spin_lock(&dentry->d_lock); in v9fs_dentry_release()
58 spin_unlock(&dentry->d_lock); in v9fs_dentry_release()
/openbmc/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.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()
243 spin_lock(&dentry->d_lock); in nfs_cancel_async_unlink()
249 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
253 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
H 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()
H A Ddir.c1456 spin_lock(&dentry->d_lock); in nfs_set_verifier()
1458 spin_unlock(&dentry->d_lock); in nfs_set_verifier()
1481 spin_lock(&alias->d_lock); in nfs_clear_verifier_delegated()
1483 spin_unlock(&alias->d_lock); in nfs_clear_verifier_delegated()
1831 lockdep_assert_held(&dentry->d_lock); in block_revalidate()
2505 spin_lock(&dentry->d_lock); in nfs_unlink()
2508 spin_unlock(&dentry->d_lock); in nfs_unlink()
2522 spin_unlock(&dentry->d_lock); in nfs_unlink()
2527 spin_unlock(&dentry->d_lock); in nfs_unlink()
2705 spin_lock(&new_dentry->d_lock); in nfs_rename()
[all …]
/openbmc/linux/fs/autofs/
H A Dexpire.c82 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in positive_after()
85 spin_unlock(&child->d_lock); in positive_after()
88 spin_unlock(&child->d_lock); in positive_after()
104 spin_lock(&root->d_lock); in get_next_positive_subdir()
106 spin_unlock(&root->d_lock); in get_next_positive_subdir()
125 spin_lock(&p->d_lock); in get_next_positive_dentry()
133 spin_unlock(&p->d_lock); in get_next_positive_dentry()
134 spin_lock(&parent->d_lock); in get_next_positive_dentry()
138 spin_unlock(&p->d_lock); in get_next_positive_dentry()
H A Dautofs_i.h189 spin_lock(&dentry->d_lock); in managed_dentry_set_managed()
191 spin_unlock(&dentry->d_lock); in managed_dentry_set_managed()
201 spin_lock(&dentry->d_lock); in managed_dentry_clear_managed()
203 spin_unlock(&dentry->d_lock); in managed_dentry_clear_managed()
H 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()
/openbmc/linux/fs/ceph/
H A Ddir.c157 spin_lock(&parent->d_lock); in __dcache_find_get_entry()
164 spin_unlock(&parent->d_lock); in __dcache_find_get_entry()
213 spin_lock(&dentry->d_lock); in __dcache_readdir()
220 spin_unlock(&dentry->d_lock); in __dcache_readdir()
241 spin_lock(&dentry->d_lock); in __dcache_readdir()
248 spin_unlock(&dentry->d_lock); in __dcache_readdir()
257 spin_unlock(&dentry->d_lock); in __dcache_readdir()
336 spin_lock(&dentry->d_lock); in ceph_readdir()
338 spin_unlock(&dentry->d_lock); in ceph_readdir()
1215 spin_lock(&dentry->d_lock); in ceph_async_unlink_cb()
[all …]
H 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()
H A Dinode.c1365 spin_lock(&dentry->d_lock); in update_dentry_lease()
1368 spin_unlock(&dentry->d_lock); in update_dentry_lease()
1387 spin_lock(&dentry->d_lock); in update_dentry_lease_careful()
1413 spin_unlock(&dentry->d_lock); in update_dentry_lease_careful()
1436 spin_lock(&realdn->d_lock); in splice_dentry()
1444 spin_unlock(&realdn->d_lock); in splice_dentry()
1570 spin_lock(&dn->d_lock); in ceph_fill_trace()
1572 spin_unlock(&dn->d_lock); in ceph_fill_trace()
1966 spin_lock(&dn->d_lock); in ceph_readdir_prepopulate()
1968 spin_unlock(&dn->d_lock); in ceph_readdir_prepopulate()
[all …]
/openbmc/linux/fs/ocfs2/
H A Ddcache.c57 spin_lock(&dentry->d_lock); in ocfs2_dentry_revalidate()
59 spin_unlock(&dentry->d_lock); in ocfs2_dentry_revalidate()
160 spin_lock(&dentry->d_lock); in ocfs2_find_local_alias()
166 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
170 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
/openbmc/linux/fs/notify/
H A Dfsnotify.c122 spin_lock(&alias->d_lock); in fsnotify_set_children_dentry_flags()
127 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in fsnotify_set_children_dentry_flags()
129 spin_unlock(&child->d_lock); in fsnotify_set_children_dentry_flags()
131 spin_unlock(&alias->d_lock); in fsnotify_set_children_dentry_flags()
143 spin_lock(&dentry->d_lock); in fsnotify_clear_child_dentry_flag()
151 spin_unlock(&dentry->d_lock); in fsnotify_clear_child_dentry_flag()
/openbmc/linux/fs/crypto/
H A Dhooks.c106 spin_lock(&dentry->d_lock); in __fscrypt_prepare_lookup()
108 spin_unlock(&dentry->d_lock); in __fscrypt_prepare_lookup()
136 spin_lock(&dentry->d_lock); in fscrypt_prepare_lookup_partial()
138 spin_unlock(&dentry->d_lock); in fscrypt_prepare_lookup_partial()
/openbmc/linux/fs/afs/
H 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()
/openbmc/linux/fs/coda/
H A Dcache.c95 spin_lock(&parent->d_lock); in coda_flag_children()
101 spin_unlock(&parent->d_lock); in coda_flag_children()
/openbmc/linux/fs/configfs/
H 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()
H 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()
/openbmc/linux/security/
H 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()
/openbmc/linux/include/linux/
H A Ddcache.h80 #define d_lock d_lockref.lock macro
350 spin_lock(&dentry->d_lock); in dont_mount()
352 spin_unlock(&dentry->d_lock); in dont_mount()
/openbmc/linux/Documentation/filesystems/
H 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,
/openbmc/linux/fs/overlayfs/
H A Ddir.c978 spin_lock(&d->d_lock); in ovl_get_redirect()
990 spin_unlock(&d->d_lock); in ovl_get_redirect()
996 spin_unlock(&d->d_lock); in ovl_get_redirect()
1061 spin_lock(&dentry->d_lock); in ovl_set_redirect()
1063 spin_unlock(&dentry->d_lock); in ovl_set_redirect()

12