Home
last modified time | relevance | path

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

/openbmc/linux/fs/ecryptfs/
H A Dinode.c28 struct dentry **lower_dentry, in lock_parent() argument
35 *lower_dentry = ecryptfs_dentry_to_lower(dentry); in lock_parent()
38 return (*lower_dentry)->d_parent == lower_dir_dentry ? 0 : -EINVAL; in lock_parent()
125 static int ecryptfs_interpose(struct dentry *lower_dentry, in ecryptfs_interpose() argument
128 struct inode *inode = ecryptfs_get_inode(d_inode(lower_dentry), sb); in ecryptfs_interpose()
140 struct dentry *lower_dentry; in ecryptfs_do_unlink() local
144 rc = lock_parent(dentry, &lower_dentry, &lower_dir); in ecryptfs_do_unlink()
145 dget(lower_dentry); // don't even try to make the lower negative in ecryptfs_do_unlink()
147 if (d_unhashed(lower_dentry)) in ecryptfs_do_unlink()
150 rc = vfs_unlink(&nop_mnt_idmap, lower_dir, lower_dentry, in ecryptfs_do_unlink()
[all …]
H A 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()
H A 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()
H A 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()
H A Dmmap.c408 struct dentry *lower_dentry = in ecryptfs_write_inode_size_to_xattr() local
410 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_inode_size_to_xattr()
425 size = __vfs_getxattr(lower_dentry, lower_inode, ECRYPTFS_XATTR_NAME, in ecryptfs_write_inode_size_to_xattr()
430 rc = __vfs_setxattr(&nop_mnt_idmap, lower_dentry, lower_inode, in ecryptfs_write_inode_size_to_xattr()
H A Dcrypto.c1075 struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry); in ecryptfs_write_metadata_to_xattr() local
1076 struct inode *lower_inode = d_inode(lower_dentry); in ecryptfs_write_metadata_to_xattr()
1084 rc = __vfs_setxattr(&nop_mnt_idmap, lower_dentry, lower_inode, in ecryptfs_write_metadata_to_xattr()
1302 struct dentry *lower_dentry = in ecryptfs_read_xattr_region() local
1307 size = ecryptfs_getxattr_lower(lower_dentry, in ecryptfs_read_xattr_region()
H A Decryptfs_kernel.h596 ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode,
685 struct dentry *lower_dentry,