Lines Matching defs:file
39 * If we're not journaling and this is a just-created file, we have to
42 * window during which a crash may lose the file. This may apply for
82 static int ext4_fsync_nojournal(struct file *file, loff_t start, loff_t end,
85 struct inode *inode = file->f_inode;
88 ret = generic_buffers_fsync_noflush(file, start, end, datasync);
129 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
133 struct inode *inode = file->f_mapping->host;
140 trace_ext4_sync_file_enter(file, datasync);
151 ret = ext4_fsync_nojournal(file, start, end, datasync,
158 ret = file_write_and_wait_range(file, start, end);
176 err = file_check_and_advance_wb_err(file);