Home
last modified time | relevance | path

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

123

/fs/ext4/
Dfsync.c177 static int __sync_inode(struct inode *inode, int datasync) in __sync_inode() argument
185 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __sync_inode()
208 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext4_sync_file() argument
219 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file()
234 ret = __sync_inode(inode, datasync); in ext4_sync_file()
259 commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_sync_file()
Dext4_jbd2.h326 int datasync) in ext4_update_inode_fsync_trans() argument
332 if (datasync) in ext4_update_inode_fsync_trans()
/fs/
Dsync.c165 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument
169 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range()
181 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument
183 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync()
187 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument
194 ret = vfs_fsync(file, datasync); in do_fsync()
Dbad_inode.c91 int datasync) in bad_file_fsync() argument
96 static int bad_file_aio_fsync(struct kiocb *iocb, int datasync) in bad_file_aio_fsync() argument
Dlibfs.c919 int datasync) in generic_file_fsync() argument
933 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in generic_file_fsync()
977 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
/fs/ext3/
Dfsync.c41 int ext3_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext3_sync_file() argument
49 trace_ext3_sync_file_enter(file, datasync); in ext3_sync_file()
79 if (datasync) in ext3_sync_file()
/fs/ext2/
Dfile.c43 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument
49 ret = generic_file_fsync(file, start, end, datasync); in ext2_fsync()
/fs/nilfs2/
Dfile.c30 int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in nilfs_sync_file() argument
53 if (datasync) in nilfs_sync_file()
/fs/coda/
Dfile.c202 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument
222 err = vfs_fsync(host_file, datasync); in coda_fsync()
223 if (!err && !datasync) in coda_fsync()
Dcoda_int.h14 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
/fs/jfs/
Dfile.c31 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in jfs_fsync() argument
42 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
/fs/9p/
Dvfs_file.c544 int datasync) in v9fs_file_fsync() argument
556 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync()
568 int datasync) in v9fs_file_fsync_dotl() argument
579 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl()
583 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
Dv9fs_vfs.h74 int datasync);
/fs/exofs/
Dfile.c46 int datasync) in exofs_file_fsync() argument
/fs/reiserfs/
Ddir.c18 int datasync);
32 int datasync) in reiserfs_dir_fsync() argument
Dfile.c144 int datasync) in reiserfs_sync_file() argument
/fs/ecryptfs/
Dfile.c297 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync() argument
299 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); in ecryptfs_fsync()
/fs/hostfs/
Dhostfs.h79 extern int fsync_file(int fd, int datasync);
Dhostfs_user.c150 int fsync_file(int fd, int datasync) in fsync_file() argument
153 if (datasync) in fsync_file()
/fs/fat/
Dfile.c152 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument
157 res = generic_file_fsync(filp, start, end, datasync); in fat_file_fsync()
/fs/xfs/
Dxfs_file.c138 int datasync) in xfs_dir_fsync() argument
161 int datasync) in xfs_file_fsync() argument
201 if (!datasync || in xfs_file_fsync()
/fs/nfs/
Dfile.c261 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument
271 datasync); in nfs_file_fsync()
286 if (!ret && !datasync) in nfs_file_fsync()
/fs/ntfs/
Ddir.c1531 int datasync) in ntfs_dir_fsync() argument
1552 write_inode_now(bmp_vi, !datasync); in ntfs_dir_fsync()
1556 write_inode_now(vi, !datasync); in ntfs_dir_fsync()
1564 "%u.", datasync ? "data" : "", vi->i_ino, -ret); in ntfs_dir_fsync()
/fs/hpfs/
Dfile.c21 int hpfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in hpfs_file_fsync() argument
/fs/afs/
Dwrite.c684 int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in afs_fsync() argument
694 datasync); in afs_fsync()

123