/linux/fs/ext4/ |
H A D | fsync.c | 83 int datasync, bool *needs_barrier) in ext4_fsync_nojournal() argument 88 ret = generic_buffers_fsync_noflush(file, start, end, datasync); in ext4_fsync_nojournal() 97 static int ext4_fsync_journal(struct inode *inode, bool datasync, in ext4_fsync_journal() argument 102 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() 147 ret = ext4_fsync_nojournal(file, start, end, datasync, in ext4_sync_file() 163 ret = ext4_fsync_journal(inode, datasync, &needs_barrier); in ext4_sync_file()
|
/linux/fs/ |
H A D | sync.c | 179 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument 185 if (!datasync && (inode->i_state & I_DIRTY_TIME)) in vfs_fsync_range() 187 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 199 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument 201 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync() 205 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument 212 return vfs_fsync(fd_file(f), datasync); in do_fsync()
|
H A D | libfs.c | 1533 int datasync) in __generic_file_fsync() argument 1547 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync() 1575 int datasync) in generic_file_fsync() argument 1580 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync() 1623 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
|
H A D | aio.c | 176 bool datasync; member 1645 iocb->ki_res.res = vfs_fsync(iocb->fsync.file, iocb->fsync.datasync); in aio_fsync_work() 1652 bool datasync) in aio_fsync() argument 1665 req->datasync = datasync; in aio_fsync()
|
/linux/fs/9p/ |
H A D | vfs_file.c | 411 int datasync) in v9fs_file_fsync() argument 423 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync() 435 int datasync) in v9fs_file_fsync_dotl() argument 446 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl() 450 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
|
H A D | v9fs_vfs.h | 65 int datasync);
|
/linux/fs/nilfs2/ |
H A D | file.c | 16 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/fs/nfs/ |
H A D | pnfs.h | 160 int (*sync)(struct inode *inode, bool datasync); 319 int pnfs_generic_sync(struct inode *inode, bool datasync); 320 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync); 589 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument 593 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode() 765 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
|
H A D | file.c | 236 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() argument 241 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit() 252 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument 266 ret = nfs_file_fsync_commit(file, datasync); in nfs_file_fsync() 269 ret = pnfs_sync_inode(inode, !!datasync); in nfs_file_fsync()
|
/linux/fs/coda/ |
H A D | coda_int.h | 15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
|
H A D | file.c | 295 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()
|
/linux/fs/btrfs/ |
H A D | file.h | 25 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux/fs/ext2/ |
H A D | file.c | 155 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument 160 ret = generic_buffers_fsync(file, start, end, datasync); in ext2_fsync()
|
/linux/fs/ocfs2/ |
H A D | journal.h | 599 int datasync) in ocfs2_update_inode_fsync_trans() argument 605 if (datasync) in ocfs2_update_inode_fsync_trans()
|
/linux/fs/xfs/ |
H A D | xfs_file.c | 70 int datasync) in xfs_dir_fsync() argument 81 bool datasync) in xfs_fsync_seq() argument 85 if (datasync && !(ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP)) in xfs_fsync_seq() 106 bool datasync, in xfs_fsync_flush_log() argument 113 seq = xfs_fsync_seq(ip, datasync); in xfs_fsync_flush_log() 131 int datasync) in xfs_file_fsync() argument 167 err2 = xfs_fsync_flush_log(ip, datasync, &log_flushed); in xfs_file_fsync()
|
/linux/fs/ecryptfs/ |
H A D | file.c | 343 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync() argument 351 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); in ecryptfs_fsync()
|
/linux/fs/overlayfs/ |
H A D | file.c | 449 static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ovl_fsync() argument 464 if (!OVL_TYPE_UPPER(type) || (datasync && OVL_TYPE_MERGE(type))) in ovl_fsync() 473 ret = vfs_fsync_range(upperfile, start, end, datasync); in ovl_fsync()
|
/linux/include/linux/ |
H A D | buffer_head.h | 211 bool datasync); 213 bool datasync);
|
/linux/fs/fat/ |
H A D | file.c | 186 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument 191 err = __generic_file_fsync(filp, start, end, datasync); in fat_file_fsync()
|
/linux/include/net/9p/ |
H A D | client.h | 203 int p9_client_fsync(struct p9_fid *fid, int datasync);
|
/linux/fs/bcachefs/ |
H A D | trace.h | 294 TP_PROTO(struct file *file, int datasync), 296 TP_ARGS(file, datasync), 302 __field( int, datasync ) 311 __entry->datasync = datasync; 317 (unsigned long) __entry->parent, __entry->datasync)
|
/linux/fs/exfat/ |
H A D | file.c | 516 int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in exfat_file_fsync() argument 524 err = __generic_file_fsync(filp, start, end, datasync); in exfat_file_fsync()
|
/linux/fs/hpfs/ |
H A D | file.c | 25 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 D | f2fs.h | 259 TP_PROTO(struct inode *inode, int cp_reason, int datasync, int ret), 261 TP_ARGS(inode, cp_reason, datasync, ret), 267 __field(int, datasync) 275 __entry->datasync = datasync; 283 __entry->datasync,
|
H A D | btrfs.h | 759 TP_PROTO(const struct file *file, int datasync), 761 TP_ARGS(file, datasync), 766 __field( int, datasync ) 777 __entry->datasync = datasync; 781 TP_printk_btrfs("root=%llu(%s) ino=%llu parent=%llu datasync=%d", 785 __entry->datasync)
|