Home
last modified time | relevance | path

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

/fs/ecryptfs/
Dfile.c116 struct file *lower_file; in ecryptfs_readdir() local
120 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_readdir()
121 lower_file->f_pos = file->f_pos; in ecryptfs_readdir()
129 rc = vfs_readdir(lower_file, ecryptfs_filldir, (void *)&buf); in ecryptfs_readdir()
130 file->f_pos = lower_file->f_pos; in ecryptfs_readdir()
137 lower_file->f_path.dentry->d_inode); in ecryptfs_readdir()
194 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_RDONLY) in ecryptfs_open()
201 if (!ecryptfs_inode_to_private(inode)->lower_file) { in ecryptfs_open()
212 file, ecryptfs_inode_to_private(inode)->lower_file); in ecryptfs_open()
260 struct file *lower_file = NULL; in ecryptfs_flush() local
[all …]
Dkthread.c74 (*req->lower_file) = dentry_open( in ecryptfs_threadfn()
133 int ecryptfs_privileged_open(struct file **lower_file, in ecryptfs_privileged_open() argument
146 (*lower_file) = dentry_open(lower_dentry, lower_mnt, in ecryptfs_privileged_open()
148 if (!IS_ERR(*lower_file)) in ecryptfs_privileged_open()
156 req->lower_file = lower_file; in ecryptfs_privileged_open()
183 if (IS_ERR(*req->lower_file)) { in ecryptfs_privileged_open()
184 rc = PTR_ERR(*req->lower_file); in ecryptfs_privileged_open()
187 (*lower_file) = dentry_open(lower_dentry, lower_mnt, in ecryptfs_privileged_open()
189 if (IS_ERR(*lower_file)) { in ecryptfs_privileged_open()
190 rc = PTR_ERR(*req->lower_file); in ecryptfs_privileged_open()
[all …]
Dread_write.c49 BUG_ON(!inode_info->lower_file); in ecryptfs_write_lower()
50 inode_info->lower_file->f_pos = offset; in ecryptfs_write_lower()
53 octets_written = vfs_write(inode_info->lower_file, data, size, in ecryptfs_write_lower()
54 &inode_info->lower_file->f_pos); in ecryptfs_write_lower()
234 BUG_ON(!inode_info->lower_file); in ecryptfs_read_lower()
235 inode_info->lower_file->f_pos = offset; in ecryptfs_read_lower()
238 octets_read = vfs_read(inode_info->lower_file, data, size, in ecryptfs_read_lower()
239 &inode_info->lower_file->f_pos); in ecryptfs_read_lower()
Dsuper.c58 inode_info->lower_file = NULL; in ecryptfs_alloc_inode()
80 if (inode_info->lower_file) { in ecryptfs_destroy_inode()
82 inode_info->lower_file->f_dentry; in ecryptfs_destroy_inode()
86 fput(inode_info->lower_file); in ecryptfs_destroy_inode()
87 inode_info->lower_file = NULL; in ecryptfs_destroy_inode()
Decryptfs_kernel.h182 struct file *lower_file; member
298 struct file *lower_file; member
485 ecryptfs_set_file_lower(struct file *file, struct file *lower_file) in ecryptfs_set_file_lower() argument
488 lower_file; in ecryptfs_set_file_lower()
609 struct file **lower_file; member
747 int ecryptfs_privileged_open(struct file **lower_file,
Dmain.c124 if (!inode_info->lower_file) { in ecryptfs_init_persistent_file()
130 rc = ecryptfs_privileged_open(&inode_info->lower_file, in ecryptfs_init_persistent_file()
132 if (rc || IS_ERR(inode_info->lower_file)) { in ecryptfs_init_persistent_file()
136 rc = PTR_ERR(inode_info->lower_file); in ecryptfs_init_persistent_file()
137 inode_info->lower_file = NULL; in ecryptfs_init_persistent_file()
Dinode.c155 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file); in grow_file()
191 if (!ecryptfs_inode_to_private(ecryptfs_dentry->d_inode)->lower_file) { in ecryptfs_initialize_file()
307 if (!ecryptfs_inode_to_private(ecryptfs_dentry->d_inode)->lower_file) { in ecryptfs_lookup_and_interpose_lower()
798 ecryptfs_inode_to_private(dentry->d_inode)->lower_file); in ecryptfs_truncate()
Dmmap.c413 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_dentry; in ecryptfs_write_inode_size_to_xattr()
Dcrypto.c1547 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_dentry; in ecryptfs_read_xattr_region()