Lines Matching refs:lower_file

104 	struct file *lower_file;  in ecryptfs_readdir()  local
111 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir()
112 rc = iterate_dir(lower_file, &buf.ctx); in ecryptfs_readdir()
115 fsstack_copy_attr_atime(inode, file_inode(lower_file)); in ecryptfs_readdir()
165 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() local
171 if (!lower_file->f_op->mmap) in ecryptfs_mmap()
220 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open()
228 file, ecryptfs_inode_to_private(inode)->lower_file); in ecryptfs_open()
260 struct file *lower_file; in ecryptfs_dir_open() local
270 lower_file = dentry_open(ecryptfs_dentry_to_lower_path(ecryptfs_dentry), in ecryptfs_dir_open()
272 if (IS_ERR(lower_file)) { in ecryptfs_dir_open()
276 ecryptfs_dentry, PTR_ERR(lower_file)); in ecryptfs_dir_open()
278 return PTR_ERR(lower_file); in ecryptfs_dir_open()
280 ecryptfs_set_file_lower(file, lower_file); in ecryptfs_dir_open()
286 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_flush() local
288 if (lower_file->f_op->flush) { in ecryptfs_flush()
290 return lower_file->f_op->flush(lower_file, td); in ecryptfs_flush()
332 struct file *lower_file = NULL; in ecryptfs_fasync() local
334 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_fasync()
335 if (lower_file->f_op->fasync) in ecryptfs_fasync()
336 rc = lower_file->f_op->fasync(fd, lower_file, flag); in ecryptfs_fasync()
343 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_unlocked_ioctl() local
346 if (!lower_file->f_op->unlocked_ioctl) in ecryptfs_unlocked_ioctl()
355 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); in ecryptfs_unlocked_ioctl()
356 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_unlocked_ioctl()
368 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_compat_ioctl() local
371 if (!lower_file->f_op->compat_ioctl) in ecryptfs_compat_ioctl()
380 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg); in ecryptfs_compat_ioctl()
381 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); in ecryptfs_compat_ioctl()