Home
last modified time | relevance | path

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

123

/linux/fs/jfs/
H A Dfile.c20 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in jfs_fsync() argument
31 (datasync && !(inode_state_read_once(inode) & I_DIRTY_DATASYNC))) { in jfs_fsync()
/linux/fs/nfs/
H A Dpnfs.h161 int (*sync)(struct inode *inode, bool datasync);
340 int pnfs_generic_sync(struct inode *inode, bool datasync);
341 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync);
677 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_lseg_range_intersecting()
681 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync);
854 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_clear_request_commit()
590 pnfs_sync_inode(struct inode * inode,bool datasync) pnfs_sync_inode() argument
766 pnfs_sync_inode(struct inode * inode,bool datasync) pnfs_sync_inode() argument
H A Dfile.c246 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() argument
251 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit()
262 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument
276 ret = nfs_file_fsync_commit(file, datasync); in nfs_file_fsync()
279 ret = pnfs_sync_inode(inode, !!datasync); in nfs_file_fsync()
/linux/fs/coda/
H A Dcoda_int.h15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
H A Dfile.c296 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync()
315 err = vfs_fsync(host_file, datasync); in coda_fsync()
316 if (!err && !datasync) in coda_fsync()
295 coda_fsync(struct file * coda_file,loff_t start,loff_t end,int datasync) coda_fsync() argument
/linux/fs/smb/client/
H A Dcifsfs.h116 int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
118 int datasync);
/linux/fs/afs/
H A Dwrite.c252 int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in afs_fsync() argument
260 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/hostfs/
H A Dhostfs.h55 extern int fsync_file(int fd, int datasync);
H A Dhostfs_kern.c363 int datasync) in hostfs_fsync() argument
373 ret = fsync_file(HOSTFS_I(inode)->fd, datasync); in hostfs_fsync()
/linux/fs/ext4/
H A Dext4_jbd2.h352 int datasync) in ext4_update_inode_fsync_trans() argument
358 if (datasync) in ext4_update_inode_fsync_trans()
/linux/fs/9p/
H A Dv9fs_vfs.h80 int datasync);
/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()
H A Dcopy_up.c260 bool datasync) in ovl_copy_up_file()
359 if (!error && ovl_should_sync(ofs) && datasync) in ovl_copy_up_file()
262 ovl_copy_up_file(struct ovl_fs * ofs,struct dentry * dentry,struct file * new_file,loff_t len,bool datasync) ovl_copy_up_file() argument
/linux/fs/ntfs/
H A Ddir.c1119 * @datasync: if non-zero only flush user data and not metadata in ntfs_dir_fsync()
1127 * If @datasync is true, we do not wait on the inode(s) to be written out in ntfs_dir_fsync()
1136 int datasync) in ntfs_dir_fsync()
1193 write_inode_now(bmp_vi, !datasync); in ntfs_dir_fsync()
1198 write_inode_now(vi, !datasync);
1216 datasync ? "data" : "", ni->mft_no, -ret);
1112 ntfs_dir_fsync(struct file * filp,loff_t start,loff_t end,int datasync) ntfs_dir_fsync() argument
H A Dfile.c278 * @datasync: if non-zero only flush user data and not metadata in ntfs_setattr_size()
283 * If @datasync is false, write the mft record and all associated extent mft in ntfs_setattr_size()
286 * If @datasync is true and the attribute is non-resident, we skip the writing in ntfs_setattr_size()
290 * Also, if @datasync is true, we do not wait on the inode to be written out in ntfs_setattr_size()
294 int datasync) in ntfs_setattr_size()
322 if (!datasync || !non_resident) in ntfs_setattr()
324 write_inode_now(vi, !datasync); in ntfs_setattr()
429 datasync ? "data" : "", ni->mft_no, -ret); in ntfs_file_llseek()
160 ntfs_file_fsync(struct file * filp,loff_t start,loff_t end,int datasync) ntfs_file_fsync() argument
/linux/fs/xfs/
H A Dxfs_file.c74 int datasync) in xfs_dir_fsync() argument
87 int datasync)
112 error = xfs_log_force_inode(ip, datasync, &log_flushed); in xfs_fsync_flush_log()
105 xfs_fsync_flush_log(struct xfs_inode * ip,bool datasync,int * log_flushed) xfs_fsync_flush_log() argument
130 xfs_file_fsync(struct file * file,loff_t start,loff_t end,int datasync) xfs_file_fsync() argument
/linux/fs/fat/
H A Dfile.c187 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument
193 err = simple_fsync_noflush(filp, start, end, datasync); in fat_file_fsync()
/linux/fs/
H A Dlibfs.c1519 * @datasync: only synchronize essential metadata if true
1525 int datasync) in generic_fh_to_parent()
1538 if (datasync &&
1558 * @datasync: only synchronize essential metadata if true in simple_fsync_noflush()
1563 int simple_fsync(struct file *file, loff_t start, loff_t end, int datasync) in simple_fsync_noflush()
1568 err = simple_fsync_noflush(file, start, end, datasync); in simple_fsync_noflush()
1611 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in generic_check_addressable()
1552 simple_fsync_noflush(struct file * file,loff_t start,loff_t end,int datasync) simple_fsync_noflush() argument
1590 simple_fsync(struct file * file,loff_t start,loff_t end,int datasync) simple_fsync() argument
1638 noop_fsync(struct file * file,loff_t start,loff_t end,int datasync) noop_fsync() argument
H A Daio.c176 bool datasync; member
1708 iocb->ki_res.res = vfs_fsync(iocb->fsync.file, iocb->fsync.datasync); in aio_fsync()
1715 bool datasync) in aio_fsync()
1728 req->datasync = datasync; in aio_poll_put_work()
1705 aio_fsync(struct fsync_iocb * req,const struct iocb * iocb,bool datasync) aio_fsync() argument
/linux/fs/ntfs3/
H A Dfile.c1522 int ntfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ntfs_file_fsync()
1536 ret = write_inode_now(inode, !datasync); in ntfs_file_fsync()
1539 ret = ni_write_parents(ntfs_i(inode), !datasync); in ntfs_file_fsync()
1514 ntfs_file_fsync(struct file * file,loff_t start,loff_t end,int datasync) ntfs_file_fsync() argument
/linux/include/trace/events/
H A Df2fs.h278 TP_PROTO(struct inode *inode, int cp_reason, int datasync, int ret),
280 TP_ARGS(inode, cp_reason, datasync, ret),
286 __field(int, datasync)
294 __entry->datasync = datasync;
299 "datasync = %d, ret = %d",
302 __entry->datasync,
/linux/fs/exfat/
H A Dfile.c695 int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in exfat_zero_new_range()
703 err = simple_fsync_noflush(filp, start, end, datasync); in exfat_zero_new_range()
637 exfat_file_fsync(struct file * filp,loff_t start,loff_t end,int datasync) exfat_file_fsync() argument
/linux/fs/orangefs/
H A Dfile.c461 int datasync) in orangefs_fsync() argument
/linux/drivers/char/
H A Dps3flash.c277 static int ps3flash_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ps3flash_fsync() argument

123