Lines Matching defs:file
3 * file.c - NTFS kernel file operations. Part of the Linux-NTFS project.
33 * @filp: file structure describing the inode
35 * Limit file size to the page cache limit on architectures where unsigned long
39 * the beginning of the file but I doubt very much anyone is going to hit this
48 static int ntfs_file_open(struct inode *vi, struct file *filp)
70 * As a side-effect, the file size (vfs inode->i_size) may be incremented as,
81 * POSIX specifies that the behaviour of resizing a file whilst it is mmap()ped
170 * If the new initialized size @new_init_size exceeds the current file
171 * size (vfs inode->i_size), we need to extend the file size to the
201 /* Update the file size in the vfs inode. */
324 struct file *file = iocb->ki_filp;
325 struct inode *vi = file_inode(file);
343 /* If file is encrypted, deny access, just like NT4. */
350 ntfs_debug("Denying write access to encrypted file.");
371 err = file_remove_privs(file);
378 file_update_time(file);
549 * @pos: byte position in file at which the write begins
701 * map cache is made up of @vcn, which is the first cached file
702 * cluster, @vcn_len which is the number of cached file
1261 /* Make the file cluster we allocated sparse in the runlist. */
1379 * @pos: byte position in file at which the write begins
1507 * @pos: byte position in file at which the write begins
1725 * ntfs_perform_write - perform buffered write to a file
1726 * @file: file to write to
1728 * @pos: byte offset in file at which to begin writing to
1730 static ssize_t ntfs_perform_write(struct file *file, struct iov_iter *i,
1733 struct address_space *mapping = file->f_mapping;
1927 struct file *file = iocb->ki_filp;
1928 struct inode *vi = file_inode(file);
1937 written = ntfs_perform_write(file, from, iocb->ki_pos);
1947 * ntfs_file_fsync - sync a file to disk
1948 * @filp: file to be synced
1951 * Data integrity sync of a file to disk. Used for fsync, fdatasync, and msync
1970 static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end,