Home
last modified time | relevance | path

Searched refs:lower_dentry (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/fs/ecryptfs/ !
Dinode.c26 struct dentry **lower_dentry, in lock_parent() argument
33 *lower_dentry = ecryptfs_dentry_to_lower(dentry); in lock_parent()
36 return (*lower_dentry)->d_parent == lower_dir_dentry ? 0 : -EINVAL; in lock_parent()
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; in ecryptfs_do_unlink() local
134 rc = lock_parent(dentry, &lower_dentry, &lower_dir); in ecryptfs_do_unlink()
135 dget(lower_dentry); // don't even try to make the lower negative in ecryptfs_do_unlink()
137 if (d_unhashed(lower_dentry)) in ecryptfs_do_unlink()
140 rc = vfs_unlink(&init_user_ns, lower_dir, lower_dentry, in ecryptfs_do_unlink()
[all …]
Ddentry.c33 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()
Dsuper.c92 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()
Dkthread.c118 struct dentry *lower_dentry, in ecryptfs_privileged_open() argument
128 req.path.dentry = lower_dentry; in ecryptfs_privileged_open()
134 flags |= IS_RDONLY(d_inode(lower_dentry)) ? O_RDONLY : O_RDWR; in ecryptfs_privileged_open()
Dmmap.c409 struct dentry *lower_dentry = in ecryptfs_write_inode_size_to_xattr() local
411 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_inode_size_to_xattr()
426 size = __vfs_getxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr()
431 rc = __vfs_setxattr(&init_user_ns, lower_dentry, lower_inode, in ecryptfs_write_inode_size_to_xattr()
Dcrypto.c1099 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_write_metadata_to_xattr() local
1100 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_metadata_to_xattr()
1108 rc = __vfs_setxattr(&init_user_ns, lower_dentry, lower_inode, in ecryptfs_write_metadata_to_xattr()
1326 struct dentry *lower_dentry = in ecryptfs_read_xattr_region() local
1331 size = ecryptfs_getxattr_lower(lower_dentry, in ecryptfs_read_xattr_region()
Decryptfs_kernel.h596 ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode,
685 struct dentry *lower_dentry,