/fs/ |
D | sync.c | 189 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument 195 if (!datasync && (inode->i_state & I_DIRTY_TIME)) in vfs_fsync_range() 197 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 209 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument 211 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync() 215 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument 221 ret = vfs_fsync(f.file, datasync); in do_fsync()
|
D | libfs.c | 994 int datasync) in __generic_file_fsync() argument 1008 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync() 1036 int datasync) in generic_file_fsync() argument 1041 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync() 1080 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
|
D | aio.c | 178 bool datasync; member 1593 iocb->ki_res.res = vfs_fsync(iocb->fsync.file, iocb->fsync.datasync); in aio_fsync_work() 1598 bool datasync) in aio_fsync() argument 1607 req->datasync = datasync; in aio_fsync()
|
/fs/ext4/ |
D | fsync.c | 95 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext4_sync_file() argument 109 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file() 120 ret = __generic_file_fsync(file, start, end, datasync); in ext4_sync_file() 150 commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_sync_file()
|
D | ext4_jbd2.h | 383 int datasync) in ext4_update_inode_fsync_trans() argument 389 if (datasync) in ext4_update_inode_fsync_trans()
|
/fs/nfs/ |
D | pnfs.h | 168 int (*sync)(struct inode *inode, bool datasync); 296 int pnfs_generic_sync(struct inode *inode, bool datasync); 297 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync); 527 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument 531 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode() 687 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
|
D | file.c | 205 nfs_file_fsync_commit(struct file *file, int datasync) in nfs_file_fsync_commit() argument 212 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit() 231 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument 242 ret = nfs_file_fsync_commit(file, datasync); in nfs_file_fsync() 244 ret = pnfs_sync_inode(inode, !!datasync); in nfs_file_fsync()
|
/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()
|
/fs/9p/ |
D | vfs_file.c | 446 int datasync) in v9fs_file_fsync() argument 458 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync() 470 int datasync) in v9fs_file_fsync_dotl() argument 481 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl() 485 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
|
D | v9fs_vfs.h | 64 int datasync);
|
/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()
|
/fs/coda/ |
D | file.c | 269 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()
|
D | coda_int.h | 15 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
|
/fs/ext2/ |
D | file.c | 150 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument 155 ret = generic_file_fsync(file, start, end, datasync); in ext2_fsync()
|
/fs/sdcardfs/ |
D | file.c | 322 int datasync) in sdcardfs_fsync() argument 329 err = __generic_file_fsync(file, start, end, datasync); in sdcardfs_fsync() 335 err = vfs_fsync_range(lower_file, start, end, datasync); in sdcardfs_fsync()
|
/fs/reiserfs/ |
D | dir.c | 18 int datasync); 32 int datasync) in reiserfs_dir_fsync() argument
|
D | file.c | 151 int datasync) in reiserfs_sync_file() argument
|
/fs/ocfs2/ |
D | journal.h | 596 int datasync) in ocfs2_update_inode_fsync_trans() argument 601 if (datasync) in ocfs2_update_inode_fsync_trans()
|
/fs/hostfs/ |
D | hostfs_user.c | 156 int fsync_file(int fd, int datasync) in fsync_file() argument 159 if (datasync) in fsync_file()
|
D | hostfs.h | 81 extern int fsync_file(int fd, int datasync);
|
/fs/ecryptfs/ |
D | file.c | 324 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()
|
/fs/overlayfs/ |
D | file.c | 294 static int ovl_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ovl_fsync() argument 300 ret = ovl_real_fdget_meta(file, &real, !datasync); in ovl_fsync() 307 ret = vfs_fsync_range(real.file, start, end, datasync); in ovl_fsync()
|
/fs/ntfs/ |
D | dir.c | 1487 int datasync) in ntfs_dir_fsync() argument 1508 write_inode_now(bmp_vi, !datasync); in ntfs_dir_fsync() 1512 write_inode_now(vi, !datasync); in ntfs_dir_fsync() 1520 "%u.", datasync ? "data" : "", vi->i_ino, -ret); in ntfs_dir_fsync()
|
/fs/fat/ |
D | file.c | 194 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument 199 err = __generic_file_fsync(filp, start, end, datasync); in fat_file_fsync()
|
/fs/xfs/ |
D | xfs_file.c | 80 int datasync) in xfs_dir_fsync() argument 103 int datasync) in xfs_file_fsync() argument 149 if (!datasync || in xfs_file_fsync()
|