Home
last modified time | relevance | path

Searched refs:lower_file (Results 1 – 8 of 8) sorted by relevance

/fs/ecryptfs/
Dfile.c115 struct file *lower_file; in ecryptfs_readdir() local
119 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir()
120 lower_file->f_pos = file->f_pos; in ecryptfs_readdir()
128 rc = vfs_readdir(lower_file, ecryptfs_filldir, (void *)&buf); in ecryptfs_readdir()
129 file->f_pos = lower_file->f_pos; in ecryptfs_readdir()
136 lower_file->f_path.dentry->d_inode); in ecryptfs_readdir()
243 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open()
251 file, ecryptfs_inode_to_private(inode)->lower_file); in ecryptfs_open()
278 struct file *lower_file = ecryptfs_file_to_lower(file); in ecryptfs_flush() local
280 if (lower_file->f_op && lower_file->f_op->flush) { in ecryptfs_flush()
[all …]
Dread_write.c42 struct file *lower_file; in ecryptfs_write_lower() local
46 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_write_lower()
47 if (!lower_file) in ecryptfs_write_lower()
51 rc = vfs_write(lower_file, data, size, &offset); in ecryptfs_write_lower()
238 struct file *lower_file; in ecryptfs_read_lower() local
242 lower_file = ecryptfs_inode_to_private(ecryptfs_inode)->lower_file; in ecryptfs_read_lower()
243 if (!lower_file) in ecryptfs_read_lower()
247 rc = vfs_read(lower_file, data, size, &offset); in ecryptfs_read_lower()
Dkthread.c75 (*req->lower_file) = dentry_open( in ecryptfs_threadfn()
134 int ecryptfs_privileged_open(struct file **lower_file, in ecryptfs_privileged_open() argument
149 (*lower_file) = dentry_open(lower_dentry, lower_mnt, flags, cred); in ecryptfs_privileged_open()
150 if (!IS_ERR(*lower_file)) in ecryptfs_privileged_open()
153 rc = PTR_ERR((*lower_file)); in ecryptfs_privileged_open()
162 req->lower_file = lower_file; in ecryptfs_privileged_open()
189 if (IS_ERR(*req->lower_file)) in ecryptfs_privileged_open()
190 rc = PTR_ERR(*req->lower_file); in ecryptfs_privileged_open()
Decryptfs_kernel.h77 struct file *lower_file; member
242 struct file *lower_file; member
436 ecryptfs_set_file_lower(struct file *file, struct file *lower_file) in ecryptfs_set_file_lower() argument
439 lower_file; in ecryptfs_set_file_lower()
560 struct file **lower_file; member
694 int ecryptfs_privileged_open(struct file **lower_file,
Dmain.c120 struct file **lower_file) in ecryptfs_init_lower_file() argument
127 rc = ecryptfs_privileged_open(lower_file, lower_dentry, lower_mnt, in ecryptfs_init_lower_file()
133 (*lower_file) = NULL; in ecryptfs_init_lower_file()
150 &inode_info->lower_file); in ecryptfs_get_lower_file()
166 fput(inode_info->lower_file); in ecryptfs_put_lower_file()
167 inode_info->lower_file = NULL; in ecryptfs_put_lower_file()
Dsuper.c62 inode_info->lower_file = NULL; in ecryptfs_alloc_inode()
91 BUG_ON(inode_info->lower_file); in ecryptfs_destroy_inode()
Dmmap.c421 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_dentry; in ecryptfs_write_inode_size_to_xattr()
Dcrypto.c1503 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_dentry; in ecryptfs_read_xattr_region()