/kernel/linux/linux-5.10/fs/ecryptfs/ |
H A D | inode.c | 139 struct dentry *lower_dir_dentry; in ecryptfs_do_unlink() local 143 lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent); in ecryptfs_do_unlink() 144 lower_dir_inode = d_inode(lower_dir_dentry); in ecryptfs_do_unlink() 147 if (lower_dentry->d_parent != lower_dir_dentry) in ecryptfs_do_unlink() 186 struct dentry *lower_dir_dentry; in ecryptfs_do_create() local 190 lower_dir_dentry = lock_parent(lower_dentry); in ecryptfs_do_create() 191 rc = vfs_create(d_inode(lower_dir_dentry), lower_dentry, mode, true); in ecryptfs_do_create() 201 vfs_unlink(d_inode(lower_dir_dentry), lower_dentry, NULL); in ecryptfs_do_create() 204 fsstack_copy_attr_times(directory_inode, d_inode(lower_dir_dentry)); in ecryptfs_do_create() 205 fsstack_copy_inode_size(directory_inode, d_inode(lower_dir_dentry)); in ecryptfs_do_create() 396 struct dentry *lower_dir_dentry, *lower_dentry; ecryptfs_lookup() local 437 struct dentry *lower_dir_dentry; ecryptfs_link() local 476 struct dentry *lower_dir_dentry; ecryptfs_symlink() local 514 struct dentry *lower_dir_dentry; ecryptfs_mkdir() local 537 struct dentry *lower_dir_dentry; ecryptfs_rmdir() local 570 struct dentry *lower_dir_dentry; ecryptfs_mknod() local [all...] |
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | lookup.c | 206 struct dentry *lower_dir_dentry = NULL; in __sharefs_lookup() local 222 lower_dir_dentry = lower_parent_path->dentry; in __sharefs_lookup() 226 err = vfs_path_lookup(lower_dir_dentry, lower_dir_mnt, name, 0, in __sharefs_lookup() 250 this.hash = full_name_hash(lower_dir_dentry, this.name, this.len); in __sharefs_lookup() 251 lower_dentry = d_lookup(lower_dir_dentry, &this); in __sharefs_lookup() 255 lower_dentry = d_alloc(lower_dir_dentry, &this); in __sharefs_lookup() 266 d_inode(lower_dir_dentry)->i_op->lookup(d_inode(lower_dir_dentry), in __sharefs_lookup()
|
H A D | inode.c | 159 struct dentry *lower_dir_dentry = NULL; in sharefs_unlink() local 165 lower_dir_dentry = lock_parent(lower_dentry); in sharefs_unlink() 177 unlock_dir(lower_dir_dentry); in sharefs_unlink() 187 struct dentry *lower_dir_dentry; in sharefs_rmdir() local 192 lower_dir_dentry = lock_parent(lower_dentry); in sharefs_rmdir() 193 err = vfs_rmdir(lower_dir_dentry->d_inode, lower_dentry); in sharefs_rmdir() 200 fsstack_copy_attr_times(dir, lower_dir_dentry->d_inode); in sharefs_rmdir() 201 fsstack_copy_inode_size(dir, lower_dir_dentry->d_inode); in sharefs_rmdir() 202 set_nlink(dir, lower_dir_dentry->d_inode->i_nlink); in sharefs_rmdir() 205 unlock_dir(lower_dir_dentry); in sharefs_rmdir() [all...] |
/kernel/linux/linux-6.6/fs/sharefs/ |
H A D | lookup.c | 206 struct dentry *lower_dir_dentry = NULL; in __sharefs_lookup() local 222 lower_dir_dentry = lower_parent_path->dentry; in __sharefs_lookup() 226 err = vfs_path_lookup(lower_dir_dentry, lower_dir_mnt, name, 0, in __sharefs_lookup() 250 this.hash = full_name_hash(lower_dir_dentry, this.name, this.len); in __sharefs_lookup() 251 lower_dentry = d_lookup(lower_dir_dentry, &this); in __sharefs_lookup() 255 lower_dentry = d_alloc(lower_dir_dentry, &this); in __sharefs_lookup() 266 d_inode(lower_dir_dentry)->i_op->lookup(d_inode(lower_dir_dentry), in __sharefs_lookup()
|
H A D | inode.c | 159 struct dentry *lower_dir_dentry = NULL; in sharefs_unlink() local 165 lower_dir_dentry = lock_parent(lower_dentry); in sharefs_unlink() 177 unlock_dir(lower_dir_dentry); in sharefs_unlink() 187 struct dentry *lower_dir_dentry; in sharefs_rmdir() local 192 lower_dir_dentry = lock_parent(lower_dentry); in sharefs_rmdir() 193 err = vfs_rmdir(lower_dir_dentry->d_inode, lower_dentry); in sharefs_rmdir() 200 fsstack_copy_attr_times(dir, lower_dir_dentry->d_inode); in sharefs_rmdir() 201 fsstack_copy_inode_size(dir, lower_dir_dentry->d_inode); in sharefs_rmdir() 202 set_nlink(dir, lower_dir_dentry->d_inode->i_nlink); in sharefs_rmdir() 205 unlock_dir(lower_dir_dentry); in sharefs_rmdir() [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | inode_local.c | 328 struct dentry *lower_dir_dentry = NULL; in hmdfs_mkdir_local_dentry() local 346 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_mkdir_local_dentry() 370 unlock_dir(lower_dir_dentry); in hmdfs_mkdir_local_dentry() 406 struct dentry *lower_dir_dentry = NULL; in hmdfs_create_local_dentry() local 437 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_create_local_dentry() 438 lower_dir = d_inode(lower_dir_dentry); in hmdfs_create_local_dentry() 442 unlock_dir(lower_dir_dentry); in hmdfs_create_local_dentry() 501 struct dentry *lower_dir_dentry = NULL; in hmdfs_rmdir_local_dentry() local 511 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_rmdir_local_dentry() 512 lower_dir = d_inode(lower_dir_dentry); in hmdfs_rmdir_local_dentry() 566 struct dentry *lower_dir_dentry = NULL; hmdfs_unlink_local_dentry() local [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | inode_local.c | 328 struct dentry *lower_dir_dentry = NULL; in hmdfs_mkdir_local_dentry() local 346 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_mkdir_local_dentry() 370 unlock_dir(lower_dir_dentry); in hmdfs_mkdir_local_dentry() 406 struct dentry *lower_dir_dentry = NULL; in hmdfs_create_local_dentry() local 437 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_create_local_dentry() 438 lower_dir = d_inode(lower_dir_dentry); in hmdfs_create_local_dentry() 442 unlock_dir(lower_dir_dentry); in hmdfs_create_local_dentry() 501 struct dentry *lower_dir_dentry = NULL; in hmdfs_rmdir_local_dentry() local 511 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_rmdir_local_dentry() 512 lower_dir = d_inode(lower_dir_dentry); in hmdfs_rmdir_local_dentry() 566 struct dentry *lower_dir_dentry = NULL; hmdfs_unlink_local_dentry() local [all...] |
/kernel/linux/linux-6.6/fs/ecryptfs/ |
H A D | inode.c | 31 struct dentry *lower_dir_dentry; in lock_parent() local 33 lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent); in lock_parent() 34 *lower_dir = d_inode(lower_dir_dentry); in lock_parent() 38 return (*lower_dentry)->d_parent == lower_dir_dentry ? 0 : -EINVAL; in lock_parent() 396 struct dentry *lower_dir_dentry, *lower_dentry; in ecryptfs_lookup() local 402 lower_dir_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry->d_parent); in ecryptfs_lookup() 418 lower_dentry = lookup_one_len_unlocked(name, lower_dir_dentry, len); in ecryptfs_lookup()
|