Searched refs:lower_file (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/fs/ecryptfs/ |
D | file.c | 118 struct file *lower_file; in ecryptfs_readdir() local 125 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir() 126 rc = iterate_dir(lower_file, &buf.ctx); in ecryptfs_readdir() 134 file_inode(lower_file)); in ecryptfs_readdir() 185 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() local 191 if (!lower_file->f_op->mmap) in ecryptfs_mmap() 240 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open() 248 file, ecryptfs_inode_to_private(inode)->lower_file); in ecryptfs_open() 280 struct file *lower_file; in ecryptfs_dir_open() local 290 lower_file = dentry_open(ecryptfs_dentry_to_lower_path(ecryptfs_dentry), in ecryptfs_dir_open() [all …]
|
D | kthread.c | 31 struct file **lower_file; member 76 *req->lower_file = dentry_open(&req->path, in ecryptfs_threadfn() 112 *req->lower_file = ERR_PTR(-EIO); in ecryptfs_destroy_kthread() 130 int ecryptfs_privileged_open(struct file **lower_file, in ecryptfs_privileged_open() argument 140 req.lower_file = lower_file; in ecryptfs_privileged_open() 148 (*lower_file) = dentry_open(&req.path, flags, cred); in ecryptfs_privileged_open() 149 if (!IS_ERR(*lower_file)) in ecryptfs_privileged_open() 152 rc = PTR_ERR((*lower_file)); in ecryptfs_privileged_open() 168 if (IS_ERR(*lower_file)) in ecryptfs_privileged_open() 169 rc = PTR_ERR(*lower_file); in ecryptfs_privileged_open()
|
D | read_write.c | 44 struct file *lower_file; in ecryptfs_write_lower() local 47 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_write_lower() 48 if (!lower_file) in ecryptfs_write_lower() 50 rc = kernel_write(lower_file, data, size, &offset); in ecryptfs_write_lower() 236 struct file *lower_file; in ecryptfs_read_lower() local 237 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_read_lower() 238 if (!lower_file) in ecryptfs_read_lower() 240 return kernel_read(lower_file, data, size, &offset); in ecryptfs_read_lower()
|
D | super.c | 64 inode_info->lower_file = NULL; in ecryptfs_alloc_inode() 93 BUG_ON(inode_info->lower_file); in ecryptfs_destroy_inode()
|
D | main.c | 119 struct file **lower_file) in ecryptfs_init_lower_file() argument 125 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file() 131 (*lower_file) = NULL; in ecryptfs_init_lower_file() 148 &inode_info->lower_file); in ecryptfs_get_lower_file() 164 fput(inode_info->lower_file); in ecryptfs_put_lower_file() 165 inode_info->lower_file = NULL; in ecryptfs_put_lower_file()
|
D | ecryptfs_kernel.h | 85 struct file *lower_file; member 271 struct file *lower_file; member 464 ecryptfs_set_file_lower(struct file *file, struct file *lower_file) in ecryptfs_set_file_lower() argument 467 lower_file; in ecryptfs_set_file_lower() 713 int ecryptfs_privileged_open(struct file **lower_file,
|
D | mmap.c | 422 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr()
|
D | crypto.c | 1355 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_read_xattr_region()
|