Home
last modified time | relevance | path

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

1234

/Linux-v5.15/fs/ext4/
Dfsync.c81 static int ext4_fsync_nojournal(struct inode *inode, bool datasync, in ext4_fsync_nojournal() argument
89 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext4_fsync_nojournal()
104 static int ext4_fsync_journal(struct inode *inode, bool datasync, in ext4_fsync_journal() argument
109 tid_t commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_fsync_journal()
129 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext4_sync_file() argument
141 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file()
170 ret = ext4_fsync_nojournal(inode, datasync, &needs_barrier); in ext4_sync_file()
174 ret = ext4_fsync_journal(inode, datasync, &needs_barrier); in ext4_sync_file()
Dext4_jbd2.h440 int datasync) in ext4_update_inode_fsync_trans() argument
446 if (datasync) in ext4_update_inode_fsync_trans()
/Linux-v5.15/fs/
Dsync.c192 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument
198 if (!datasync && (inode->i_state & I_DIRTY_TIME)) in vfs_fsync_range()
200 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range()
212 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument
214 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync()
218 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument
224 ret = vfs_fsync(f.file, datasync); in do_fsync()
Dlibfs.c1082 int datasync) in __generic_file_fsync() argument
1096 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync()
1124 int datasync) in generic_file_fsync() argument
1129 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync()
1168 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
/Linux-v5.15/fs/nilfs2/
Dfile.c16 int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in nilfs_sync_file() argument
31 if (datasync) in nilfs_sync_file()
/Linux-v5.15/fs/jfs/
Dfile.c19 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in jfs_fsync() argument
30 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
/Linux-v5.15/fs/coda/
Dcoda_int.h15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
Dfile.c269 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
288 err = vfs_fsync(host_file, datasync); in coda_fsync()
289 if (!err && !datasync) in coda_fsync()
/Linux-v5.15/fs/ext2/
Dfile.c151 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument
156 ret = generic_file_fsync(file, start, end, datasync); in ext2_fsync()
/Linux-v5.15/fs/9p/
Dvfs_file.c432 int datasync) in v9fs_file_fsync() argument
444 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync()
456 int datasync) in v9fs_file_fsync_dotl() argument
467 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl()
471 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
Dv9fs_vfs.h65 int datasync);
/Linux-v5.15/fs/nfs/
Dpnfs.h156 int (*sync)(struct inode *inode, bool datasync);
309 int pnfs_generic_sync(struct inode *inode, bool datasync);
310 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync);
587 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
591 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode()
751 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
Dfile.c208 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() argument
213 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit()
223 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument
235 ret = nfs_file_fsync_commit(file, datasync); in nfs_file_fsync()
238 ret = pnfs_sync_inode(inode, !!datasync); in nfs_file_fsync()
/Linux-v5.15/fs/xfs/
Dxfs_file.c114 int datasync) in xfs_dir_fsync() argument
125 bool datasync) in xfs_fsync_seq() argument
129 if (datasync && !(ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP)) in xfs_fsync_seq()
150 bool datasync, in xfs_fsync_flush_log() argument
157 seq = xfs_fsync_seq(ip, datasync); in xfs_fsync_flush_log()
175 int datasync) in xfs_file_fsync() argument
211 error = xfs_fsync_flush_log(ip, datasync, &log_flushed); in xfs_file_fsync()
/Linux-v5.15/fs/reiserfs/
Ddir.c18 int datasync);
32 int datasync) in reiserfs_dir_fsync() argument
Dfile.c145 int datasync) in reiserfs_sync_file() argument
/Linux-v5.15/fs/hostfs/
Dhostfs.h85 extern int fsync_file(int fd, int datasync);
Dhostfs_user.c156 int fsync_file(int fd, int datasync) in fsync_file() argument
159 if (datasync) in fsync_file()
/Linux-v5.15/fs/ecryptfs/
Dfile.c324 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync() argument
332 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); in ecryptfs_fsync()
/Linux-v5.15/fs/ocfs2/
Djournal.h594 int datasync) in ocfs2_update_inode_fsync_trans() argument
600 if (datasync) in ocfs2_update_inode_fsync_trans()
/Linux-v5.15/fs/overlayfs/
Dfile.c453 static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ovl_fsync() argument
463 ret = ovl_real_fdget_meta(file, &real, !datasync); in ovl_fsync()
470 ret = vfs_fsync_range(real.file, start, end, datasync); in ovl_fsync()
/Linux-v5.15/fs/exfat/
Dfile.c402 int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in exfat_file_fsync() argument
407 err = __generic_file_fsync(filp, start, end, datasync); in exfat_file_fsync()
/Linux-v5.15/include/net/9p/
Dclient.h204 int p9_client_fsync(struct p9_fid *fid, int datasync);
/Linux-v5.15/drivers/video/fbdev/core/
Dfb_defio.c68 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync) in fb_deferred_io_fsync() argument
/Linux-v5.15/fs/fat/
Dfile.c185 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument
190 err = __generic_file_fsync(filp, start, end, datasync); in fat_file_fsync()

1234