/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | inode.c | 115 static int ecryptfs_interpose(struct dentry *lower_dentry, in ecryptfs_interpose() argument 118 struct inode *inode = ecryptfs_get_inode(d_inode(lower_dentry), sb); in ecryptfs_interpose() 130 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); in ecryptfs_do_unlink() local 138 dget(lower_dentry); // don't even try to make the lower negative in ecryptfs_do_unlink() 139 if (lower_dentry->d_parent != lower_dir_dentry) in ecryptfs_do_unlink() 141 else if (d_unhashed(lower_dentry)) in ecryptfs_do_unlink() 144 rc = vfs_unlink(lower_dir_inode, lower_dentry, NULL); in ecryptfs_do_unlink() 153 dput(lower_dentry); in ecryptfs_do_unlink() 177 struct dentry *lower_dentry; in ecryptfs_do_create() local 181 lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_do_create() [all …]
|
D | dentry.c | 33 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); in ecryptfs_d_revalidate() local 39 if (lower_dentry->d_flags & DCACHE_OP_REVALIDATE) in ecryptfs_d_revalidate() 40 rc = lower_dentry->d_op->d_revalidate(lower_dentry, flags); in ecryptfs_d_revalidate()
|
D | super.c | 92 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry); in ecryptfs_statfs() local 95 if (!lower_dentry->d_sb->s_op->statfs) in ecryptfs_statfs() 98 rc = lower_dentry->d_sb->s_op->statfs(lower_dentry, buf); in ecryptfs_statfs()
|
D | kthread.c | 117 struct dentry *lower_dentry, in ecryptfs_privileged_open() argument 127 req.path.dentry = lower_dentry; in ecryptfs_privileged_open() 133 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; in ecryptfs_privileged_open()
|
D | mmap.c | 407 struct dentry *lower_dentry = in ecryptfs_write_inode_size_to_xattr() local 409 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_inode_size_to_xattr() 424 size = __vfs_getxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr() 429 rc = __vfs_setxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr()
|
D | crypto.c | 1102 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_write_metadata_to_xattr() local 1103 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_metadata_to_xattr() 1111 rc = __vfs_setxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_metadata_to_xattr() 1329 struct dentry *lower_dentry = in ecryptfs_read_xattr_region() local 1334 size = ecryptfs_getxattr_lower(lower_dentry, in ecryptfs_read_xattr_region()
|
D | ecryptfs_kernel.h | 611 ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode, 700 struct dentry *lower_dentry,
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | dentry.c | 56 struct dentry *lower_dentry) in lock_for_dname_cmp() argument 58 if (dentry < lower_dentry) { 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() 68 struct dentry *lower_dentry) in unlock_for_dname_cmp() argument 71 spin_unlock(&lower_dentry->d_lock); in unlock_for_dname_cmp() 109 struct dentry *lower_dentry = NULL; in hmdfs_d_revalidate() local 133 lower_dentry = lower_path.dentry; in hmdfs_d_revalidate() 134 lower_cur_parent_dentry = dget_parent(lower_dentry); in hmdfs_d_revalidate() 137 if ((lower_dentry->d_flags & DCACHE_OP_REVALIDATE)) { in hmdfs_d_revalidate() [all …]
|
D | inode_local.c | 226 struct dentry *lower_dentry = NULL, *parent_dentry = NULL, *ret = NULL; in hmdfs_lookup_local() local 287 lower_dentry = lookup_one_len_unlocked(d_name, lower_parent_path.dentry, in hmdfs_lookup_local() 289 if (IS_ERR(lower_dentry)) { in hmdfs_lookup_local() 290 err = PTR_ERR(lower_dentry); in hmdfs_lookup_local() 291 ret = lower_dentry; in hmdfs_lookup_local() 294 lower_path.dentry = lower_dentry; in hmdfs_lookup_local() 315 struct dentry *lower_dentry = NULL; in hmdfs_mkdir_local_dentry() local 329 lower_dentry = lower_path.dentry; in hmdfs_mkdir_local_dentry() 330 lower_dir_dentry = lock_parent(lower_dentry); in hmdfs_mkdir_local_dentry() 335 error = vfs_mkdir(lower_dir, lower_dentry, mode); in hmdfs_mkdir_local_dentry() [all …]
|
D | main.c | 168 struct dentry *lower_dentry = hmdfs_get_lo_d(dentry, HMDFS_DEVID_LOCAL); in hmdfs_xattr_merge_set() local 170 if (!lower_dentry) { in hmdfs_xattr_merge_set() 174 err = hmdfs_xattr_local_set(lower_dentry, name, value, size, flags); in hmdfs_xattr_merge_set() 176 dput(lower_dentry); in hmdfs_xattr_merge_set()
|
D | inode_merge.c | 794 struct dentry *lower_dentry = hmdfs_get_fst_lo_d(dentry); in hmdfs_setattr_merge() local 801 if (!lower_dentry) { in hmdfs_setattr_merge() 807 lower_inode = d_inode(lower_dentry); in hmdfs_setattr_merge() 816 err = notify_change(lower_dentry, &lower_ia, NULL); in hmdfs_setattr_merge() 826 dput(lower_dentry); in hmdfs_setattr_merge()
|
D | hmdfs_dentryfile.c | 2377 struct dentry *lower_dentry = NULL; in hmdfs_rename_bak() local 2384 lower_dentry = lower_path.dentry; in hmdfs_rename_bak() 2385 len = strlen(lower_dentry->d_name.name) + strlen(DUSTBIN_SUFFIX) + 2; in hmdfs_rename_bak() 2397 snprintf(name, len, ".%s%s", lower_dentry->d_name.name, DUSTBIN_SUFFIX); in hmdfs_rename_bak() 2404 lower_parent = lock_parent(lower_dentry); in hmdfs_rename_bak() 2412 err = vfs_rename(d_inode(lower_parent), lower_dentry, in hmdfs_rename_bak()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
D | inode.c | 18 struct dentry *lower_dentry; in sharefs_get_link() local 27 lower_dentry = lower_path.dentry; in sharefs_get_link() 33 lower_link = vfs_get_link(lower_dentry, &lower_done); in sharefs_get_link() 50 fsstack_copy_attr_atime(d_inode(dentry), d_inode(lower_dentry)); in sharefs_get_link() 81 struct dentry *lower_dentry; in sharefs_listxattr() local 85 lower_dentry = lower_path.dentry; in sharefs_listxattr() 86 if (!(d_inode(lower_dentry)->i_opflags & IOP_XATTR)) { in sharefs_listxattr() 90 err = vfs_listxattr(lower_dentry, buffer, buffer_size); in sharefs_listxattr()
|
D | lookup.c | 217 struct dentry *lower_dentry; in __sharefs_lookup() local 263 lower_dentry = d_lookup(lower_dir_dentry, &this); in __sharefs_lookup() 264 if (lower_dentry) in __sharefs_lookup() 267 lower_dentry = d_alloc(lower_dir_dentry, &this); in __sharefs_lookup() 268 if (!lower_dentry) { in __sharefs_lookup() 279 lower_dentry, flags); in __sharefs_lookup() 282 lower_path.dentry = lower_dentry; in __sharefs_lookup()
|