/linux/fs/ |
A D | dcache.c | 290 spin_lock(&dentry->d_lock); in take_dentry_name_snapshot() 360 __releases(dentry->d_lock) in dentry_unlink_inode() 509 spin_lock(&dentry->d_lock); in d_drop() 589 spin_lock(&dentry->d_lock); in __dentry_kill() 672 spin_lock(&de->d_lock); in d_mark_dontcache() 674 spin_unlock(&de->d_lock); in d_mark_dontcache() 687 __releases(dentry->d_lock) in dentry_kill() 959 spin_lock(&ret->d_lock); in dget_parent() 968 spin_unlock(&ret->d_lock); in dget_parent() 1483 spin_lock(&p->d_lock); in d_set_mounted() [all …]
|
A D | libfs.c | 109 spin_lock(&dentry->d_lock); in scan_positives() 119 spin_unlock(&d->d_lock); in scan_positives() 129 spin_lock(&dentry->d_lock); in scan_positives() 132 spin_unlock(&dentry->d_lock); in scan_positives() 160 spin_lock(&dentry->d_lock); in dcache_dir_lseek() 213 spin_lock(&dentry->d_lock); in dcache_readdir() 218 spin_unlock(&dentry->d_lock); in dcache_readdir() 251 spin_lock(&parent->d_lock); in find_next_child() 258 spin_unlock(&d->d_lock); in find_next_child() 263 spin_unlock(&parent->d_lock); in find_next_child() [all …]
|
/linux/fs/9p/ |
A D | fid.c | 36 spin_lock(&dentry->d_lock); in v9fs_fid_add() 38 spin_unlock(&dentry->d_lock); in v9fs_fid_add() 107 spin_lock(&dentry->d_lock); in v9fs_fid_find() 115 spin_unlock(&dentry->d_lock); in v9fs_fid_find() 244 spin_lock(&dentry->d_lock); in v9fs_fid_lookup_with_uid() 246 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid() 252 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
|
/linux/fs/nfs/ |
A D | unlink.c | 136 spin_lock(&alias->d_lock); in nfs_call_unlink() 145 spin_unlock(&alias->d_lock); in nfs_call_unlink() 186 spin_lock(&dentry->d_lock); in nfs_async_unlink() 192 spin_unlock(&dentry->d_lock); in nfs_async_unlink() 201 spin_unlock(&dentry->d_lock); in nfs_async_unlink() 224 spin_lock(&dentry->d_lock); in nfs_complete_unlink() 228 spin_unlock(&dentry->d_lock); in nfs_complete_unlink() 238 spin_lock(&dentry->d_lock); in nfs_cancel_async_unlink() 244 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink() 248 spin_unlock(&dentry->d_lock); in nfs_cancel_async_unlink()
|
A D | namespace.c | 72 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 D | getroot.c | 56 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()
|
/linux/fs/tracefs/ |
A D | inode.c | 184 spin_lock(&this_parent->d_lock); in set_gid() 195 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in set_gid() 200 spin_unlock(&this_parent->d_lock); in set_gid() 201 spin_release(&dentry->d_lock.dep_map, _RET_IP_); in set_gid() 203 spin_acquire(&this_parent->d_lock.dep_map, 0, 1, _RET_IP_); in set_gid() 206 spin_unlock(&dentry->d_lock); in set_gid() 217 spin_unlock(&child->d_lock); in set_gid() 218 spin_lock(&this_parent->d_lock); in set_gid() 231 spin_unlock(&this_parent->d_lock); in set_gid()
|
/linux/fs/autofs/ |
A D | expire.c | 82 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()
|
A D | autofs_i.h | 186 spin_lock(&dentry->d_lock); in managed_dentry_set_managed() 188 spin_unlock(&dentry->d_lock); in managed_dentry_set_managed() 198 spin_lock(&dentry->d_lock); in managed_dentry_clear_managed() 200 spin_unlock(&dentry->d_lock); in managed_dentry_clear_managed()
|
A D | root.c | 150 spin_lock(&active->d_lock); in autofs_lookup_active() 170 spin_unlock(&active->d_lock); in autofs_lookup_active() 175 spin_unlock(&active->d_lock); in autofs_lookup_active() 210 spin_lock(&expiring->d_lock); in autofs_lookup_expiring() 230 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring() 235 spin_unlock(&expiring->d_lock); in autofs_lookup_expiring() 514 spin_lock(&dentry->d_lock); in autofs_lookup() 524 spin_unlock(&dentry->d_lock); in autofs_lookup()
|
/linux/fs/ceph/ |
A D | dir.c | 156 spin_lock(&parent->d_lock); in __dcache_find_get_entry() 163 spin_unlock(&parent->d_lock); in __dcache_find_get_entry() 212 spin_lock(&dentry->d_lock); in __dcache_readdir() 240 spin_lock(&dentry->d_lock); in __dcache_readdir() 254 spin_unlock(&dentry->d_lock); in __dcache_readdir() 333 spin_lock(&dentry->d_lock); in ceph_readdir() 1535 spin_lock(&dentry->d_lock); in ceph_invalidate_dentry_lease() 1578 spin_lock(&dentry->d_lock); in dentry_lease_is_valid() 1814 spin_lock(&dentry->d_lock); in ceph_d_release() 1932 spin_lock(&dn->d_lock); in ceph_dentry_hash() [all …]
|
A D | debugfs.c | 88 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 D | dcache.c | 57 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()
|
/linux/include/linux/ |
A D | dcache.h | 89 #define d_lock d_lockref.lock macro 357 spin_lock(&dentry->d_lock); in dont_mount() 359 spin_unlock(&dentry->d_lock); in dont_mount() 372 spin_lock(&dentry->d_lock); in d_lookup_done() 374 spin_unlock(&dentry->d_lock); in d_lookup_done()
|
/linux/fs/afs/ |
A D | dir_silly.c | 31 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 D | cache.c | 95 spin_lock(&parent->d_lock); in coda_flag_children() 101 spin_unlock(&parent->d_lock); in coda_flag_children()
|
/linux/fs/configfs/ |
A D | inode.c | 210 spin_lock(&dentry->d_lock); in configfs_drop_dentry() 214 spin_unlock(&dentry->d_lock); in configfs_drop_dentry() 217 spin_unlock(&dentry->d_lock); in configfs_drop_dentry()
|
A D | configfs_internal.h | 125 spin_lock(&dentry->d_lock); in configfs_get_config_item() 130 spin_unlock(&dentry->d_lock); in configfs_get_config_item()
|
/linux/fs/notify/ |
A D | fsnotify.c | 128 spin_lock(&alias->d_lock); in __fsnotify_update_child_dentry_flags() 133 spin_lock_nested(&child->d_lock, DENTRY_D_LOCK_NESTED); in __fsnotify_update_child_dentry_flags() 138 spin_unlock(&child->d_lock); in __fsnotify_update_child_dentry_flags() 140 spin_unlock(&alias->d_lock); in __fsnotify_update_child_dentry_flags()
|
/linux/security/ |
A D | lsm_audit.c | 277 spin_lock(&a->u.dentry->d_lock); in dump_common_audit_data() 279 spin_unlock(&a->u.dentry->d_lock); in dump_common_audit_data() 298 spin_lock(&dentry->d_lock); in dump_common_audit_data() 300 spin_unlock(&dentry->d_lock); in dump_common_audit_data()
|
/linux/fs/crypto/ |
A D | hooks.c | 108 spin_lock(&dentry->d_lock); in __fscrypt_prepare_lookup() 110 spin_unlock(&dentry->d_lock); in __fscrypt_prepare_lookup()
|
/linux/Documentation/filesystems/ |
A D | path-lookup.txt | 89 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/fs/overlayfs/ |
A D | dir.c | 982 spin_lock(&d->d_lock); in ovl_get_redirect() 994 spin_unlock(&d->d_lock); in ovl_get_redirect() 1000 spin_unlock(&d->d_lock); in ovl_get_redirect() 1065 spin_lock(&dentry->d_lock); in ovl_set_redirect() 1067 spin_unlock(&dentry->d_lock); in ovl_set_redirect()
|
/linux/arch/powerpc/platforms/cell/spufs/ |
A D | inode.c | 152 spin_lock(&dentry->d_lock); in spufs_prune_dir() 156 spin_unlock(&dentry->d_lock); in spufs_prune_dir() 163 spin_unlock(&dentry->d_lock); in spufs_prune_dir()
|
/linux/fs/exportfs/ |
A D | expfs.c | 99 spin_lock(&dentry->d_lock); in clear_disconnected() 101 spin_unlock(&dentry->d_lock); in clear_disconnected()
|