Lines Matching defs:file
3 * linux/fs/affs/file.c
13 * affs regular file handling primitives
23 affs_file_open(struct inode *inode, struct file *filp)
32 affs_file_release(struct inode *inode, struct file *filp)
193 /* we seek back to the file header block */
378 static int affs_readpage(struct file *file, struct page *page)
396 struct file *file = iocb->ki_filp;
397 struct address_space *mapping = file->f_mapping;
416 static int affs_write_begin(struct file *file, struct address_space *mapping,
423 ret = cont_write_begin(file, mapping, pos, len, flags, pagep, fsdata,
432 static int affs_write_end(struct file *file, struct address_space *mapping,
439 ret = generic_write_end(file, mapping, pos, len, copied, page, fsdata);
441 /* Clear Archived bit on file writes, as AmigaOS would do */
630 affs_readpage_ofs(struct file *file, struct page *page)
650 static int affs_write_begin_ofs(struct file *file, struct address_space *mapping,
688 static int affs_write_end_ofs(struct file *file, struct address_space *mapping,
816 /* Clear Archived bit on file writes, as AmigaOS would do */
857 /* Truncate (or enlarge) a file to the requested size. */
978 int affs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync)