/linux-6.6.21/fs/ext4/ |
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 140 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file() 151 ret = ext4_fsync_nojournal(file, start, end, datasync, in ext4_sync_file() 167 ret = ext4_fsync_journal(inode, datasync, &needs_barrier); in ext4_sync_file()
|
D | ext4_jbd2.h | 440 int datasync) in ext4_update_inode_fsync_trans() argument 446 if (datasync) in ext4_update_inode_fsync_trans()
|
/linux-6.6.21/fs/ |
D | sync.c | 180 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument 186 if (!datasync && (inode->i_state & I_DIRTY_TIME)) in vfs_fsync_range() 188 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 200 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument 202 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync() 206 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument 212 ret = vfs_fsync(f.file, datasync); in do_fsync()
|
D | libfs.c | 1398 int datasync) in __generic_file_fsync() argument 1412 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync() 1440 int datasync) in generic_file_fsync() argument 1445 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync() 1484 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
|
/linux-6.6.21/fs/nilfs2/ |
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-6.6.21/fs/9p/ |
D | vfs_file.c | 453 int datasync) in v9fs_file_fsync() argument 465 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync() 477 int datasync) in v9fs_file_fsync_dotl() argument 488 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl() 492 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
|
D | v9fs_vfs.h | 63 int datasync);
|
/linux-6.6.21/fs/jfs/ |
D | file.c | 19 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-6.6.21/fs/coda/ |
D | coda_int.h | 15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
|
D | file.c | 297 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument 316 err = vfs_fsync(host_file, datasync); in coda_fsync() 317 if (!err && !datasync) in coda_fsync()
|
/linux-6.6.21/fs/nfs/ |
D | pnfs.h | 153 int (*sync)(struct inode *inode, bool datasync); 310 int pnfs_generic_sync(struct inode *inode, bool datasync); 311 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() 759 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
|
D | file.c | 228 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() argument 233 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit() 244 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument 258 ret = nfs_file_fsync_commit(file, datasync); in nfs_file_fsync() 261 ret = pnfs_sync_inode(inode, !!datasync); in nfs_file_fsync()
|
/linux-6.6.21/fs/xfs/ |
D | xfs_file.c | 81 int datasync) in xfs_dir_fsync() argument 92 bool datasync) in xfs_fsync_seq() argument 96 if (datasync && !(ip->i_itemp->ili_fsync_fields & ~XFS_ILOG_TIMESTAMP)) in xfs_fsync_seq() 117 bool datasync, in xfs_fsync_flush_log() argument 124 seq = xfs_fsync_seq(ip, datasync); in xfs_fsync_flush_log() 142 int datasync) in xfs_file_fsync() argument 178 err2 = xfs_fsync_flush_log(ip, datasync, &log_flushed); in xfs_file_fsync()
|
/linux-6.6.21/fs/btrfs/ |
D | file.h | 8 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-6.6.21/fs/reiserfs/ |
D | dir.c | 18 int datasync); 32 int datasync) in reiserfs_dir_fsync() argument
|
D | file.c | 145 int datasync) in reiserfs_sync_file() argument
|
/linux-6.6.21/fs/ext2/ |
D | file.c | 153 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument 158 ret = generic_buffers_fsync(file, start, end, datasync); in ext2_fsync()
|
/linux-6.6.21/fs/hostfs/ |
D | hostfs.h | 86 extern int fsync_file(int fd, int datasync);
|
D | hostfs_user.c | 157 int fsync_file(int fd, int datasync) in fsync_file() argument 160 if (datasync) in fsync_file()
|
/linux-6.6.21/fs/ocfs2/ |
D | journal.h | 596 int datasync) in ocfs2_update_inode_fsync_trans() argument 602 if (datasync) in ocfs2_update_inode_fsync_trans()
|
/linux-6.6.21/fs/ecryptfs/ |
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-6.6.21/fs/exfat/ |
D | file.c | 366 int exfat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in exfat_file_fsync() argument 371 err = __generic_file_fsync(filp, start, end, datasync); in exfat_file_fsync()
|
/linux-6.6.21/fs/overlayfs/ |
D | file.c | 502 static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ovl_fsync() argument 512 ret = ovl_real_fdget_meta(file, &real, !datasync); in ovl_fsync() 519 ret = vfs_fsync_range(real.file, start, end, datasync); in ovl_fsync()
|
/linux-6.6.21/include/linux/ |
D | buffer_head.h | 215 bool datasync); 217 bool datasync);
|
/linux-6.6.21/fs/fat/ |
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()
|