Lines Matching refs:lower_file
129 struct file *lower_file;
136 lower_file = ecryptfs_file_to_lower(file);
137 rc = iterate_dir(lower_file, &buf.ctx);
140 fsstack_copy_attr_atime(inode, file_inode(lower_file));
190 struct file *lower_file = ecryptfs_file_to_lower(file);
196 if (!lower_file->f_op->mmap)
245 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE)
253 file, ecryptfs_inode_to_private(inode)->lower_file);
285 struct file *lower_file;
295 lower_file = dentry_open(ecryptfs_dentry_to_lower_path(ecryptfs_dentry),
297 if (IS_ERR(lower_file)) {
301 ecryptfs_dentry, PTR_ERR(lower_file));
303 return PTR_ERR(lower_file);
305 ecryptfs_set_file_lower(file, lower_file);
311 struct file *lower_file = ecryptfs_file_to_lower(file);
313 if (lower_file->f_op->flush) {
315 return lower_file->f_op->flush(lower_file, td);
357 struct file *lower_file = NULL;
359 lower_file = ecryptfs_file_to_lower(file);
360 if (lower_file->f_op->fasync)
361 rc = lower_file->f_op->fasync(fd, lower_file, flag);
368 struct file *lower_file = ecryptfs_file_to_lower(file);
371 if (!lower_file->f_op->unlocked_ioctl)
380 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg);
381 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file));
393 struct file *lower_file = ecryptfs_file_to_lower(file);
396 if (!lower_file->f_op->compat_ioctl)
405 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg);
406 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file));