Home
last modified time | relevance | path

Searched refs:datasync (Results 1 – 25 of 56) sorted by relevance

123

/linux/fs/ext4/
H A Dfsync.c83 int datasync, bool *needs_barrier) in ext4_fsync_nojournal() argument
92 ret = generic_buffers_fsync_noflush(file, start, end, datasync); in ext4_fsync_nojournal()
109 static int ext4_fsync_journal(struct inode *inode, bool datasync, in ext4_fsync_journal() argument
114 tid_t commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_fsync_journal()
141 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext4_sync_file() argument
153 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file()
159 ret = ext4_fsync_nojournal(file, start, end, datasync, in ext4_sync_file()
175 ret = ext4_fsync_journal(inode, datasync, &needs_barrier); in ext4_sync_file()
/linux/fs/
H A Dsync.c178 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument
184 if (!datasync) in vfs_fsync_range()
186 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range()
198 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument
200 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync()
204 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument
211 return vfs_fsync(fd_file(f), datasync); in do_fsync()
H A Dlibfs.c1554 int datasync) in __generic_file_fsync() argument
1568 if (datasync && !(inode_state_read_once(inode) & I_DIRTY_DATASYNC)) in __generic_file_fsync()
1596 int datasync) in generic_file_fsync() argument
1601 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync()
1644 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
H A Daio.c176 bool datasync; member
1644 iocb->ki_res.res = vfs_fsync(iocb->fsync.file, iocb->fsync.datasync); in aio_fsync_work()
1651 bool datasync) in aio_fsync() argument
1664 req->datasync = datasync; in aio_fsync()
/linux/fs/nfs/
H A Dpnfs.h160 int (*sync)(struct inode *inode, bool datasync);
318 int pnfs_generic_sync(struct inode *inode, bool datasync);
319 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync);
588 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
592 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
764 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
H A Dfile.c239 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() argument
244 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit()
255 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument
269 ret = nfs_file_fsync_commit(file, datasync); in nfs_file_fsync()
272 ret = pnfs_sync_inode(inode, !!datasync); in nfs_file_fsync()
/linux/fs/coda/
H A Dfile.c295 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
314 err = vfs_fsync(host_file, datasync); in coda_fsync()
315 if (!err && !datasync) in coda_fsync()
H A Dcoda_int.h15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
/linux/fs/smb/client/
H A Dcifsfs.h104 int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
106 int datasync);
/linux/fs/afs/
H A Dwrite.c253 int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in afs_fsync() argument
261 datasync); in afs_fsync()
/linux/fs/btrfs/
H A Dfile.h25 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
/linux/fs/ocfs2/
H A Djournal.h599 int datasync) in ocfs2_update_inode_fsync_trans() argument
605 if (datasync) in ocfs2_update_inode_fsync_trans()
/linux/fs/9p/
H A Dv9fs_vfs.h65 int datasync);
/linux/fs/hostfs/
H A Dhostfs.h55 extern int fsync_file(int fd, int datasync);
/linux/fs/ecryptfs/
H A Dfile.c342 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync() argument
350 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); in ecryptfs_fsync()
/linux/fs/overlayfs/
H A Dfile.c442 static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ovl_fsync() argument
456 if (!OVL_TYPE_UPPER(type) || (datasync && OVL_TYPE_MERGE(type))) in ovl_fsync()
465 return vfs_fsync_range(upperfile, start, end, datasync); in ovl_fsync()
/linux/include/linux/
H A Dbuffer_head.h211 bool datasync);
213 bool datasync);
/linux/fs/xfs/
H A Dxfs_file.c73 int datasync) in xfs_dir_fsync() argument
104 bool datasync, in xfs_fsync_flush_log() argument
111 if (datasync) in xfs_fsync_flush_log()
129 int datasync) in xfs_file_fsync() argument
163 err2 = xfs_fsync_flush_log(ip, datasync, &log_flushed); in xfs_file_fsync()
/linux/include/net/9p/
H A Dclient.h299 int p9_client_fsync(struct p9_fid *fid, int datasync);
/linux/drivers/video/fbdev/core/
H A Dfb_defio.c145 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync) in fb_deferred_io_fsync() argument
/linux/fs/hpfs/
H A Dfile.c25 int hpfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in hpfs_file_fsync() argument
/linux/include/trace/events/
H A Df2fs.h277 TP_PROTO(struct inode *inode, int cp_reason, int datasync, int ret),
279 TP_ARGS(inode, cp_reason, datasync, ret),
285 __field(int, datasync)
293 __entry->datasync = datasync;
298 "datasync = %d, ret = %d",
301 __entry->datasync,
H A Dbtrfs.h760 TP_PROTO(const struct file *file, int datasync),
762 TP_ARGS(file, datasync),
767 __field( int, datasync )
781 __entry->datasync = datasync;
789 __entry->datasync)
/linux/fs/ntfs3/
H A Dfile.c1487 int ntfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ntfs_file_fsync() argument
1501 ret = write_inode_now(inode, !datasync); in ntfs_file_fsync()
1504 ret = ni_write_parents(ntfs_i(inode), !datasync); in ntfs_file_fsync()
/linux/fs/orangefs/
H A Dfile.c461 int datasync) in orangefs_fsync() argument

123