/kernel/linux/linux-6.6/fs/ |
H A D | dcache.c | 48 * d_lock protects: 60 * dentry->d_lock 66 * dentry->d_parent->...->d_parent->d_lock 68 * dentry->d_parent->d_lock 69 * dentry->d_lock 315 spin_lock(&dentry->d_lock); in take_dentry_name_snapshot() 324 spin_unlock(&dentry->d_lock); in take_dentry_name_snapshot() 385 __releases(dentry->d_lock) 394 spin_unlock(&dentry->d_lock); 421 * rules. d_lock mus [all...] |
H A D | libfs.c | 110 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...] |
/kernel/linux/linux-5.10/fs/ |
H A D | dcache.c | 48 * d_lock protects: 60 * dentry->d_lock 66 * dentry->d_parent->...->d_parent->d_lock 68 * dentry->d_parent->d_lock 69 * dentry->d_lock 288 spin_lock(&dentry->d_lock); in take_dentry_name_snapshot() 297 spin_unlock(&dentry->d_lock); in take_dentry_name_snapshot() 358 __releases(dentry->d_lock) 367 spin_unlock(&dentry->d_lock); 394 * rules. d_lock mus [all...] |
H A D | libfs.c | 108 spin_lock(&dentry->d_lock); in scan_positives() 115 spin_lock_nested(&d->d_lock, DENTRY_D_LOCK_NESTED); in scan_positives() 118 spin_unlock(&d->d_lock); in scan_positives() 126 spin_unlock(&dentry->d_lock); in scan_positives() 128 spin_lock(&dentry->d_lock); in scan_positives() 131 spin_unlock(&dentry->d_lock); in scan_positives() 159 spin_lock(&dentry->d_lock); in dcache_dir_lseek() 164 spin_unlock(&dentry->d_lock); in dcache_dir_lseek() 212 spin_lock(&dentry->d_lock); in dcache_readdir() 217 spin_unlock(&dentry->d_lock); in dcache_readdir() [all...] |
H A D | dcookies.c | 103 spin_lock(&d->d_lock); in alloc_dcookie() 105 spin_unlock(&d->d_lock); in alloc_dcookie() 281 spin_lock(&d->d_lock); in free_dcookie() 283 spin_unlock(&d->d_lock); in free_dcookie()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | dentry.c | 59 spin_lock(&dentry->d_lock); in lock_for_dname_cmp() 60 spin_lock_nested(&lower_dentry->d_lock, DENTRY_D_LOCK_NESTED); in lock_for_dname_cmp() 62 spin_lock(&lower_dentry->d_lock); in lock_for_dname_cmp() 63 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in lock_for_dname_cmp() 70 spin_unlock(&dentry->d_lock); in unlock_for_dname_cmp() 71 spin_unlock(&lower_dentry->d_lock); in unlock_for_dname_cmp() 79 spin_lock(&direntry->d_lock); in hmdfs_dev_d_revalidate() 81 spin_unlock(&direntry->d_lock); in hmdfs_dev_d_revalidate() 84 spin_unlock(&direntry->d_lock); in hmdfs_dev_d_revalidate() 143 spin_lock(&lower_dentry->d_lock); in hmdfs_d_revalidate() [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | dentry.c | 59 spin_lock(&dentry->d_lock); in lock_for_dname_cmp() 60 spin_lock_nested(&lower_dentry->d_lock, DENTRY_D_LOCK_NESTED); in lock_for_dname_cmp() 62 spin_lock(&lower_dentry->d_lock); in lock_for_dname_cmp() 63 spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED); in lock_for_dname_cmp() 70 spin_unlock(&dentry->d_lock); in unlock_for_dname_cmp() 71 spin_unlock(&lower_dentry->d_lock); in unlock_for_dname_cmp() 79 spin_lock(&direntry->d_lock); in hmdfs_dev_d_revalidate() 81 spin_unlock(&direntry->d_lock); in hmdfs_dev_d_revalidate() 84 spin_unlock(&direntry->d_lock); in hmdfs_dev_d_revalidate() 143 spin_lock(&lower_dentry->d_lock); in hmdfs_d_revalidate() [all...] |
/kernel/linux/linux-5.10/fs/9p/ |
H A D | fid.c | 36 spin_lock(&dentry->d_lock); in v9fs_fid_add() 38 spin_unlock(&dentry->d_lock); in v9fs_fid_add() 60 spin_lock(&dentry->d_lock); in v9fs_fid_find() 67 spin_unlock(&dentry->d_lock); in v9fs_fid_find() 191 spin_lock(&dentry->d_lock); in v9fs_fid_lookup_with_uid() 193 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid() 198 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
|
/kernel/linux/linux-6.6/fs/9p/ |
H A D | fid.c | 37 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() 262 spin_lock(&dentry->d_lock); in v9fs_fid_lookup_with_uid() 264 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid() 270 spin_unlock(&dentry->d_lock); in v9fs_fid_lookup_with_uid()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H 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()
|
H 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() [all...] |
H 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() 122 spin_lock(&root->d_lock); in nfs_get_root() 128 spin_unlock(&root->d_lock); in nfs_get_root()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H 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()
|
H A D | unlink.c | 140 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() [all...] |
H 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()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | dir.c | 157 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...] |
/kernel/linux/linux-5.10/fs/autofs/ |
H A D | expire.c | 73 /* p->d_lock held */ 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() [all...] |
H A D | autofs_i.h | 185 spin_lock(&dentry->d_lock); in managed_dentry_set_managed() 187 spin_unlock(&dentry->d_lock); in managed_dentry_set_managed() 197 spin_lock(&dentry->d_lock); in managed_dentry_clear_managed() 199 spin_unlock(&dentry->d_lock); in managed_dentry_clear_managed()
|
/kernel/linux/linux-5.10/fs/tracefs/ |
H 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()
|
/kernel/linux/linux-6.6/fs/autofs/ |
H A D | expire.c | 73 /* p->d_lock held */ 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() [all...] |
H A D | autofs_i.h | 189 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()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H 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() 219 spin_unlock(&dentry->d_lock); in __dcache_readdir() 240 spin_lock(&dentry->d_lock); in __dcache_readdir() 245 spin_unlock(&dentry->d_lock); in __dcache_readdir() 254 spin_unlock(&dentry->d_lock); in __dcache_readdir() 333 spin_lock(&dentry->d_lock); in ceph_readdir() 335 spin_unlock(&dentry->d_lock); in ceph_readdir() 1105 spin_lock(&dentry->d_lock); in get_caps_for_async_unlink() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | dcache.c | 59 spin_lock(&dentry->d_lock); in ocfs2_dentry_revalidate() 61 spin_unlock(&dentry->d_lock); in ocfs2_dentry_revalidate() 162 spin_lock(&dentry->d_lock); in ocfs2_find_local_alias() 168 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias() 172 spin_unlock(&dentry->d_lock); in ocfs2_find_local_alias()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dcache.h | 87 #define d_lock d_lockref.lock macro 91 unsigned int d_flags; /* protected by d_lock */ 124 * dentry->d_lock spinlock nesting subclasses: 353 spin_lock(&dentry->d_lock); in dont_mount() 355 spin_unlock(&dentry->d_lock); in dont_mount() 368 spin_lock(&dentry->d_lock); in d_lookup_done() 370 spin_unlock(&dentry->d_lock); in d_lookup_done()
|
/kernel/linux/linux-6.6/fs/ocfs2/ |
H 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()
|