Lines Matching defs:file
5 * decryption of the file data as it passes between the lower
6 * encrypted file and the upper decrypted file.
18 #include <linux/file.h>
83 * Octets 0-7: Unencrypted file size (big-endian)
92 * Octets 24-25: Number of header extents at front of file
100 * file. The actual lower file does not have the metadata in
104 * The ``view'' is the version of the file that userspace winds up
160 "file; rc = [%d]\n", __func__,
173 * @file: An eCryptfs file
180 static int ecryptfs_readpage(struct file *file, struct page *page)
197 "file whilst inserting the metadata "
252 * @file: The eCryptfs file
254 * @pos: The file offset at which to start writing
264 static int ecryptfs_write_begin(struct file *file,
302 "from the lower file whilst "
346 rc = ecryptfs_truncate(file->f_path.dentry,
374 * Writes the lower file size to the first 8 bytes of the header.
393 printk(KERN_ERR "%s: Error writing file size to header; "
434 "to lower file xattr; rc = [%d]\n", rc);
454 * @file: The eCryptfs file object
456 * @pos: The file position
462 static int ecryptfs_write_end(struct file *file,
509 ecryptfs_printk(KERN_DEBUG, "Expanded file size to "