Lines Matching defs:file
3 * linux/fs/ext2/file.c
12 * linux/fs/minix/file.c
16 * ext2 fs regular file handling primitives
18 * 64-bit file support on 64-bit platforms by Jakub Jelinek
51 struct file *file = iocb->ki_filp;
52 struct inode *inode = file->f_mapping->host;
59 ret = file_remove_privs(file);
62 ret = file_update_time(file);
124 static int ext2_file_mmap(struct file *file, struct vm_area_struct *vma)
126 if (!IS_DAX(file_inode(file)))
127 return generic_file_mmap(file, vma);
129 file_accessed(file);
138 * Called when filp is released. This happens when all file descriptors
139 * for a single struct file are closed. Note that different open() calls
140 * for the same file yield different struct file structures.
142 static int ext2_release_file (struct inode * inode, struct file * filp)
152 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync)
155 struct super_block *sb = file->f_mapping->host->i_sb;
157 ret = generic_file_fsync(file, start, end, datasync);