Lines Matching refs:ecryptfs_dentry
61 * @ecryptfs_dentry: New file's dentry in ecryptfs
93 * @ecryptfs_dentry: New file's dentry in ecryptfs
105 struct dentry *ecryptfs_dentry, int mode,
112 lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry);
121 ecryptfs_dentry, mode, nd);
127 rc = ecryptfs_interpose(lower_dentry, ecryptfs_dentry,
143 * @ecryptfs_dentry: the ecryptfs dentry
150 static int grow_file(struct dentry *ecryptfs_dentry, struct file *lower_file,
158 fake_file.f_path.dentry = ecryptfs_dentry;
172 inode, ecryptfs_dentry,
187 static int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry)
197 lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry);
200 inode = ecryptfs_dentry->d_inode;
203 lower_mnt = ecryptfs_dentry_to_lower_mnt(ecryptfs_dentry);
212 if (S_ISDIR(ecryptfs_dentry->d_inode->i_mode)) {
219 rc = ecryptfs_new_file_context(ecryptfs_dentry);
225 rc = ecryptfs_write_metadata(ecryptfs_dentry, lower_file);
230 rc = grow_file(ecryptfs_dentry, lower_file, inode, lower_inode);
250 ecryptfs_create(struct inode *directory_inode, struct dentry *ecryptfs_dentry,
255 rc = ecryptfs_do_create(directory_inode, ecryptfs_dentry, mode, nd);
263 rc = ecryptfs_initialize_file(ecryptfs_dentry);