Searched refs:lower_file (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/fs/ecryptfs/ |
H A D | kthread.c | 32 struct file **lower_file; member in struct:ecryptfs_open_req 77 *req->lower_file = dentry_open(&req->path, ecryptfs_threadfn() 113 *req->lower_file = ERR_PTR(-EIO); ecryptfs_destroy_kthread() 123 * @lower_file: Result of dentry_open by root on lower dentry 131 int ecryptfs_privileged_open(struct file **lower_file, ecryptfs_privileged_open() argument 141 req.lower_file = lower_file; ecryptfs_privileged_open() 149 (*lower_file) = dentry_open(&req.path, flags, cred); ecryptfs_privileged_open() 150 if (!IS_ERR(*lower_file)) ecryptfs_privileged_open() 153 rc = PTR_ERR((*lower_file)); ecryptfs_privileged_open() 169 if (IS_ERR(*lower_file)) { ecryptfs_privileged_open() 170 rc = PTR_ERR(*lower_file); ecryptfs_privileged_open() 174 if ((*lower_file)->f_op->mmap == NULL) { ecryptfs_privileged_open() 175 fput(*lower_file); ecryptfs_privileged_open() 176 *lower_file = NULL; ecryptfs_privileged_open()
|
H A D | file.c | 107 struct file *lower_file; ecryptfs_readdir() local 114 lower_file = ecryptfs_file_to_lower(file); ecryptfs_readdir() 115 lower_file->f_pos = ctx->pos; ecryptfs_readdir() 116 rc = iterate_dir(lower_file, &buf.ctx); ecryptfs_readdir() 124 file_inode(lower_file)); ecryptfs_readdir() 217 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) ecryptfs_open() 225 file, ecryptfs_inode_to_private(inode)->lower_file); ecryptfs_open() 252 struct file *lower_file = ecryptfs_file_to_lower(file); ecryptfs_flush() local 254 if (lower_file->f_op->flush) { ecryptfs_flush() 256 return lower_file->f_op->flush(lower_file, td); ecryptfs_flush() 285 struct file *lower_file = NULL; ecryptfs_fasync() local 287 lower_file = ecryptfs_file_to_lower(file); ecryptfs_fasync() 288 if (lower_file->f_op->fasync) ecryptfs_fasync() 289 rc = lower_file->f_op->fasync(fd, lower_file, flag); ecryptfs_fasync() 296 struct file *lower_file = ecryptfs_file_to_lower(file); ecryptfs_unlocked_ioctl() local 299 if (!lower_file->f_op->unlocked_ioctl) ecryptfs_unlocked_ioctl() 308 rc = lower_file->f_op->unlocked_ioctl(lower_file, cmd, arg); ecryptfs_unlocked_ioctl() 309 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); ecryptfs_unlocked_ioctl() 321 struct file *lower_file = ecryptfs_file_to_lower(file); ecryptfs_compat_ioctl() local 324 if (!lower_file->f_op->compat_ioctl) ecryptfs_compat_ioctl() 332 rc = lower_file->f_op->compat_ioctl(lower_file, cmd, arg); ecryptfs_compat_ioctl() 333 fsstack_copy_attr_all(file_inode(file), file_inode(lower_file)); ecryptfs_compat_ioctl()
|
H A D | read_write.c | 42 struct file *lower_file; ecryptfs_write_lower() local 45 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; ecryptfs_write_lower() 46 if (!lower_file) ecryptfs_write_lower() 48 rc = kernel_write(lower_file, data, size, offset); ecryptfs_write_lower() 234 struct file *lower_file; ecryptfs_read_lower() local 235 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; ecryptfs_read_lower() 236 if (!lower_file) ecryptfs_read_lower() 238 return kernel_read(lower_file, offset, data, size); ecryptfs_read_lower()
|
H A D | super.c | 62 inode_info->lower_file = NULL; ecryptfs_alloc_inode() 91 BUG_ON(inode_info->lower_file); ecryptfs_destroy_inode()
|
H A D | main.c | 120 struct file **lower_file) ecryptfs_init_lower_file() 126 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, ecryptfs_init_lower_file() 132 (*lower_file) = NULL; ecryptfs_init_lower_file() 149 &inode_info->lower_file); ecryptfs_get_lower_file() 165 fput(inode_info->lower_file); ecryptfs_put_lower_file() 166 inode_info->lower_file = NULL; ecryptfs_put_lower_file() 119 ecryptfs_init_lower_file(struct dentry *dentry, struct file **lower_file) ecryptfs_init_lower_file() argument
|
H A D | ecryptfs_kernel.h | 78 struct file *lower_file; member in union:ecryptfs_page_crypt_context::__anon11459 255 struct file *lower_file; member in struct:ecryptfs_inode_info 449 ecryptfs_set_file_lower(struct file *file, struct file *lower_file) ecryptfs_set_file_lower() argument 452 lower_file; ecryptfs_set_file_lower() 699 int ecryptfs_privileged_open(struct file **lower_file,
|
H A D | mmap.c | 422 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; ecryptfs_write_inode_size_to_xattr()
|
H A D | crypto.c | 1375 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; ecryptfs_read_xattr_region()
|
Completed in 738 milliseconds