| /linux/fs/ext4/ |
| H A D | fsync.c | 83 int datasync, bool *needs_barrier) in ext4_fsync_nojournal() argument 93 start, end, datasync); in ext4_fsync_nojournal() 110 static int ext4_fsync_journal(struct inode *inode, bool datasync, in ext4_fsync_journal() argument 115 tid_t commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_fsync_journal() 142 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext4_sync_file() argument 154 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file() 160 ret = ext4_fsync_nojournal(file, start, end, datasync, in ext4_sync_file() 176 ret = ext4_fsync_journal(inode, datasync, &needs_barrier); in ext4_sync_file()
|
| /linux/fs/ |
| H A D | sync.c | 178 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()
|
| /linux/fs/nfs/ |
| H A D | pnfs.h | 160 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 D | pnfs_nfs.c | 1211 pnfs_nfs_generic_sync(struct inode *inode, bool datasync) in pnfs_nfs_generic_sync() argument 1220 if (datasync) in pnfs_nfs_generic_sync()
|
| /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/9p/ |
| H A D | v9fs_vfs.h | 65 int datasync);
|
| /linux/fs/hostfs/ |
| H A D | hostfs.h | 55 extern int fsync_file(int fd, int datasync);
|
| H A D | hostfs_kern.c | 363 int datasync) in hostfs_fsync() argument 373 ret = fsync_file(HOSTFS_I(inode)->fd, datasync); in hostfs_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()
|
| H A D | file.c | 166 int datasync) in ocfs2_sync_file() argument 181 (unsigned long long)datasync); in ocfs2_sync_file() 190 commit_tid = datasync ? oi->i_datasync_tid : oi->i_sync_tid; in ocfs2_sync_file()
|
| /linux/fs/ntfs/ |
| H A D | file.c | 157 int datasync) in ntfs_file_fsync() argument 175 if (!datasync || !NInoNonResident(NTFS_I(vi))) in ntfs_file_fsync() 177 write_inode_now(vi, !datasync); in ntfs_file_fsync() 246 datasync ? "data" : "", ni->mft_no, -ret); in ntfs_file_fsync()
|
| H A D | dir.c | 1150 int datasync) in ntfs_dir_fsync() argument 1207 write_inode_now(bmp_vi, !datasync); in ntfs_dir_fsync() 1212 write_inode_now(vi, !datasync); in ntfs_dir_fsync() 1228 datasync ? "data" : "", ni->mft_no, -ret); in ntfs_dir_fsync()
|
| /linux/include/net/9p/ |
| H A D | client.h | 299 int p9_client_fsync(struct p9_fid *fid, int datasync);
|
| /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 | btrfs.h | 760 TP_PROTO(const struct file *file, int datasync), 762 TP_ARGS(file, datasync), 767 __field( int, datasync ) 779 __entry->datasync = datasync; 787 __entry->datasync)
|
| /linux/fs/orangefs/ |
| H A D | file.c | 461 int datasync) in orangefs_fsync() argument
|
| /linux/drivers/char/ |
| H A D | ps3flash.c | 277 static int ps3flash_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ps3flash_fsync() argument
|
| /linux/fs/overlayfs/ |
| H A D | copy_up.c | 262 bool datasync) in ovl_copy_up_file() argument 361 if (!error && ovl_should_sync(ofs) && datasync) in ovl_copy_up_file()
|
| H A D | readdir.c | 1005 int datasync) in ovl_dir_fsync() argument 1021 return vfs_fsync_range(realfile, start, end, datasync); in ovl_dir_fsync()
|
| /linux/fs/gfs2/ |
| H A D | file.c | 743 int datasync) in gfs2_fsync() argument 759 if (datasync) in gfs2_fsync()
|
| /linux/net/9p/ |
| H A D | client.c | 1291 int p9_client_fsync(struct p9_fid *fid, int datasync) in p9_client_fsync() argument 1298 fid->fid, datasync); in p9_client_fsync() 1301 req = p9_client_rpc(clnt, P9_TFSYNC, "dd", fid->fid, datasync); in p9_client_fsync()
|
| /linux/fs/fuse/ |
| H A D | file.c | 517 int datasync, int opcode) in fuse_fsync_common() argument 527 inarg.fsync_flags = datasync ? FUSE_FSYNC_FDATASYNC : 0; in fuse_fsync_common() 537 int datasync) in fuse_fsync() argument 575 err = fuse_fsync_common(file, start, end, datasync, FUSE_FSYNC); in fuse_fsync()
|
| /linux/fs/smb/client/ |
| H A D | file.c | 2794 int datasync) in cifs_strict_fsync() 2807 cifs_dbg(FYI, "%s: name=%pD datasync=0x%x\n", __func__, file, datasync); in cifs_strict_fsync() 2823 int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in cifs_fsync() 2841 cifs_dbg(FYI, "Sync file - name: %pD datasync: 0x%x\n", in cifs_fsync() 2842 file, datasync); in cifs_fsync() 2789 cifs_strict_fsync(struct file * file,loff_t start,loff_t end,int datasync) cifs_strict_fsync() argument 2818 cifs_fsync(struct file * file,loff_t start,loff_t end,int datasync) cifs_fsync() argument
|