Searched refs:lower_file (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/fs/ecryptfs/ |
D | file.c | 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() 120 file_inode(lower_file)); in ecryptfs_readdir() 171 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_mmap() local 177 if (!lower_file->f_op->mmap) in ecryptfs_mmap() 226 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open() 234 file, ecryptfs_inode_to_private(inode)->lower_file); in ecryptfs_open() 266 struct file *lower_file; in ecryptfs_dir_open() local 276 lower_file = dentry_open(ecryptfs_dentry_to_lower_path(ecryptfs_dentry), in ecryptfs_dir_open() [all …]
|
D | kthread.c | 17 struct file **lower_file; member 62 *req->lower_file = dentry_open(&req->path, in ecryptfs_threadfn() 98 *req->lower_file = ERR_PTR(-EIO); in ecryptfs_destroy_kthread() 117 int ecryptfs_privileged_open(struct file **lower_file, in ecryptfs_privileged_open() argument 127 req.lower_file = lower_file; in ecryptfs_privileged_open() 135 (*lower_file) = dentry_open(&req.path, flags, cred); in ecryptfs_privileged_open() 136 if (!IS_ERR(*lower_file)) in ecryptfs_privileged_open() 139 rc = PTR_ERR((*lower_file)); in ecryptfs_privileged_open() 155 if (IS_ERR(*lower_file)) in ecryptfs_privileged_open() 156 rc = PTR_ERR(*lower_file); in ecryptfs_privileged_open()
|
D | read_write.c | 30 struct file *lower_file; in ecryptfs_write_lower() local 33 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_write_lower() 34 if (!lower_file) in ecryptfs_write_lower() 36 rc = kernel_write(lower_file, data, size, &offset); in ecryptfs_write_lower() 222 struct file *lower_file; in ecryptfs_read_lower() local 223 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_read_lower() 224 if (!lower_file) in ecryptfs_read_lower() 226 return kernel_read(lower_file, data, size, &offset); in ecryptfs_read_lower()
|
D | super.c | 50 inode_info->lower_file = NULL; in ecryptfs_alloc_inode() 78 BUG_ON(inode_info->lower_file); in ecryptfs_destroy_inode()
|
D | main.c | 105 struct file **lower_file) in ecryptfs_init_lower_file() argument 111 rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt, in ecryptfs_init_lower_file() 117 (*lower_file) = NULL; in ecryptfs_init_lower_file() 134 &inode_info->lower_file); in ecryptfs_get_lower_file() 150 fput(inode_info->lower_file); in ecryptfs_put_lower_file() 151 inode_info->lower_file = NULL; in ecryptfs_put_lower_file()
|
D | ecryptfs_kernel.h | 71 struct file *lower_file; member 257 struct file *lower_file; member 447 ecryptfs_set_file_lower(struct file *file, struct file *lower_file) in ecryptfs_set_file_lower() argument 450 lower_file; in ecryptfs_set_file_lower() 684 int ecryptfs_privileged_open(struct file **lower_file,
|
D | mmap.c | 410 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_write_inode_size_to_xattr()
|
D | crypto.c | 1327 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry; in ecryptfs_read_xattr_region()
|