Home
last modified time | relevance | path

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

/linux-2.6.39/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()
202 if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) in ecryptfs_open()
210 file, ecryptfs_inode_to_private(inode)->lower_file); in ecryptfs_open()
288 struct file *lower_file = NULL; in ecryptfs_fasync() local
290 lower_file = ecryptfs_file_to_lower(file); in ecryptfs_fasync()
[all …]
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()
Dread_write.c47 BUG_ON(!inode_info->lower_file); in ecryptfs_write_lower()
50 rc = vfs_write(inode_info->lower_file, data, size, &offset); in ecryptfs_write_lower()
233 BUG_ON(!inode_info->lower_file); in ecryptfs_read_lower()
236 rc = vfs_read(inode_info->lower_file, data, size, &offset); in ecryptfs_read_lower()
Dsuper.c60 inode_info->lower_file = NULL; in ecryptfs_alloc_inode()
90 BUG_ON(inode_info->lower_file); in ecryptfs_destroy_inode()
Decryptfs_kernel.h183 struct file *lower_file; member
301 struct file *lower_file; member
495 ecryptfs_set_file_lower(struct file *file, struct file *lower_file) in ecryptfs_set_file_lower() argument
498 lower_file; in ecryptfs_set_file_lower()
620 struct file **lower_file; member
760 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()
165 fput(inode_info->lower_file); in ecryptfs_put_lower_file()
166 inode_info->lower_file = NULL; in ecryptfs_put_lower_file()
Dmmap.c429 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_dentry; in ecryptfs_write_inode_size_to_xattr()
Dcrypto.c1552 ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_dentry; in ecryptfs_read_xattr_region()