/linux-4.1.27/fs/ |
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 && (inode->i_state & I_DIRTY_TIME)) { in vfs_fsync_range() 190 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 202 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument 204 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync() 208 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument 214 ret = vfs_fsync(f.file, datasync); in do_fsync()
|
D | libfs.c | 939 int datasync) in __generic_file_fsync() argument 953 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync() 977 int datasync) in generic_file_fsync() argument 982 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync() 1021 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
|
D | block_dev.c | 336 int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in blkdev_fsync() argument
|
/linux-4.1.27/fs/ext4/ |
D | fsync.c | 87 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in ext4_sync_file() argument 98 trace_ext4_sync_file_enter(file, datasync); in ext4_sync_file() 109 ret = generic_file_fsync(file, start, end, datasync); in ext4_sync_file() 137 commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; in ext4_sync_file()
|
D | ext4_jbd2.h | 373 int datasync) in ext4_update_inode_fsync_trans() argument 379 if (datasync) in ext4_update_inode_fsync_trans()
|
/linux-4.1.27/fs/ext3/ |
D | fsync.c | 41 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() 83 if (datasync) in ext3_sync_file()
|
/linux-4.1.27/fs/nfs/ |
D | nfs4file.c | 100 nfs4_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs4_file_fsync() argument 113 ret = nfs_file_fsync_commit(file, start, end, datasync); in nfs4_file_fsync() 115 ret = pnfs_sync_inode(inode, !!datasync); in nfs4_file_fsync()
|
D | pnfs.h | 158 int (*sync)(struct inode *inode, bool datasync); 272 int pnfs_generic_sync(struct inode *inode, bool datasync); 273 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync); 496 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument 500 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode() 586 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
|
D | file.c | 244 nfs_file_fsync_commit(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync_commit() argument 251 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit() 276 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument 289 ret = nfs_file_fsync_commit(file, start, end, datasync); in nfs_file_fsync()
|
D | pnfs_nfs.c | 878 pnfs_nfs_generic_sync(struct inode *inode, bool datasync) in pnfs_nfs_generic_sync() argument 880 if (datasync) in pnfs_nfs_generic_sync()
|
D | dir.c | 977 int datasync) in nfs_fsync_dir() argument 981 dfprintk(FILE, "NFS: fsync dir(%pD2) datasync %d\n", filp, datasync); in nfs_fsync_dir()
|
D | pnfs.c | 2236 pnfs_generic_sync(struct inode *inode, bool datasync) in pnfs_generic_sync() argument
|
/linux-4.1.27/fs/ext2/ |
D | file.c | 74 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument 80 ret = generic_file_fsync(file, start, end, datasync); in ext2_fsync()
|
D | ext2.h | 793 int datasync);
|
/linux-4.1.27/fs/nilfs2/ |
D | file.c | 30 int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in nilfs_sync_file() argument 45 if (datasync) in nilfs_sync_file()
|
/linux-4.1.27/fs/coda/ |
D | file.c | 192 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) in coda_fsync() argument 212 err = vfs_fsync(host_file, datasync); in coda_fsync() 213 if (!err && !datasync) in coda_fsync()
|
D | coda_int.h | 14 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/fs/jfs/ |
D | file.c | 32 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in jfs_fsync() argument 43 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
|
/linux-4.1.27/fs/9p/ |
D | vfs_file.c | 440 int datasync) in v9fs_file_fsync() argument 452 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync() 464 int datasync) in v9fs_file_fsync_dotl() argument 475 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl() 479 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
|
D | v9fs_vfs.h | 74 int datasync);
|
/linux-4.1.27/fs/exofs/ |
D | file.c | 46 int datasync) in exofs_file_fsync() argument
|
/linux-4.1.27/include/trace/events/ |
D | ext3.h | 428 TP_PROTO(struct file *file, int datasync), 430 TP_ARGS(file, datasync), 436 __field( int, datasync ) 444 __entry->datasync = datasync; 451 (unsigned long) __entry->parent, __entry->datasync)
|
D | f2fs.h | 187 TP_PROTO(struct inode *inode, int need_cp, int datasync, int ret), 189 TP_ARGS(inode, need_cp, datasync, ret), 195 __field(int, datasync) 203 __entry->datasync = datasync; 211 __entry->datasync,
|
D | btrfs.h | 397 TP_PROTO(struct file *file, int datasync), 399 TP_ARGS(file, datasync), 404 __field( int, datasync ) 414 __entry->datasync = datasync; 422 __entry->datasync)
|
D | ext4.h | 861 TP_PROTO(struct file *file, int datasync), 863 TP_ARGS(file, datasync), 869 __field( int, datasync ) 877 __entry->datasync = datasync; 884 (unsigned long) __entry->parent, __entry->datasync)
|
/linux-4.1.27/fs/hostfs/ |
D | hostfs.h | 80 extern int fsync_file(int fd, int datasync);
|
D | hostfs_user.c | 156 int fsync_file(int fd, int datasync) in fsync_file() argument 159 if (datasync) in fsync_file()
|
D | hostfs_kern.c | 372 int datasync) in hostfs_fsync() argument 382 ret = fsync_file(HOSTFS_I(inode)->fd, datasync); in hostfs_fsync()
|
/linux-4.1.27/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
|
/linux-4.1.27/fs/ecryptfs/ |
D | file.c | 271 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ecryptfs_fsync() argument 279 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); in ecryptfs_fsync()
|
/linux-4.1.27/fs/ocfs2/ |
D | journal.h | 636 int datasync) in ocfs2_update_inode_fsync_trans() argument 641 if (datasync) in ocfs2_update_inode_fsync_trans()
|
D | file.c | 175 int datasync) in ocfs2_sync_file() argument 190 (unsigned long long)datasync); in ocfs2_sync_file() 199 commit_tid = datasync ? oi->i_datasync_tid : oi->i_sync_tid; in ocfs2_sync_file()
|
/linux-4.1.27/fs/fat/ |
D | file.c | 155 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument 160 res = generic_file_fsync(filp, start, end, datasync); in fat_file_fsync()
|
D | fat.h | 367 int datasync);
|
/linux-4.1.27/include/net/9p/ |
D | client.h | 238 int p9_client_fsync(struct p9_fid *fid, int datasync);
|
/linux-4.1.27/fs/f2fs/ |
D | file.c | 172 int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in f2fs_sync_file() argument 198 trace_f2fs_sync_file_exit(inode, need_cp, datasync, ret); in f2fs_sync_file() 203 if (!datasync && is_inode_flag_set(fi, FI_DIRTY_INODE)) { in f2fs_sync_file() 273 trace_f2fs_sync_file_exit(inode, need_cp, datasync, ret); in f2fs_sync_file()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | fb_defio.c | 69 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync) in fb_deferred_io_fsync() argument
|
/linux-4.1.27/fs/ntfs/ |
D | dir.c | 1501 int datasync) in ntfs_dir_fsync() argument 1522 write_inode_now(bmp_vi, !datasync); in ntfs_dir_fsync() 1526 write_inode_now(vi, !datasync); in ntfs_dir_fsync() 1534 "%u.", datasync ? "data" : "", vi->i_ino, -ret); in ntfs_dir_fsync()
|
D | file.c | 1988 int datasync) in ntfs_file_fsync() argument 2001 if (!datasync || !NInoNonResident(NTFS_I(vi))) in ntfs_file_fsync() 2003 write_inode_now(vi, !datasync); in ntfs_file_fsync() 2016 "%u.", datasync ? "data" : "", vi->i_ino, -ret); in ntfs_file_fsync()
|
/linux-4.1.27/fs/ncpfs/ |
D | file.c | 24 static int ncp_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ncp_fsync() argument
|
/linux-4.1.27/fs/overlayfs/ |
D | readdir.c | 438 int datasync) in ovl_dir_fsync() argument 474 return vfs_fsync_range(realfile, start, end, datasync); in ovl_dir_fsync()
|
/linux-4.1.27/fs/hpfs/ |
D | file.c | 22 int hpfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in hpfs_file_fsync() argument
|
/linux-4.1.27/fs/logfs/ |
D | file.c | 223 int logfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in logfs_fsync() argument
|
D | logfs.h | 509 int logfs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/fs/xfs/ |
D | xfs_file.c | 177 int datasync) in xfs_dir_fsync() argument 200 int datasync) in xfs_file_fsync() argument 240 if (!datasync || in xfs_file_fsync()
|
/linux-4.1.27/fs/afs/ |
D | write.c | 682 int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in afs_fsync() argument 691 datasync); in afs_fsync()
|
/linux-4.1.27/fs/jffs2/ |
D | file.c | 32 int jffs2_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in jffs2_fsync() argument
|
/linux-4.1.27/fs/fuse/ |
D | fuse_i.h | 706 int datasync, int isdir);
|
D | file.c | 441 int datasync, int isdir) in fuse_fsync_common() argument 474 inarg.fsync_flags = datasync ? 1 : 0; in fuse_fsync_common() 494 int datasync) in fuse_fsync() argument 496 return fuse_fsync_common(file, start, end, datasync, 0); in fuse_fsync()
|
D | dir.c | 1427 int datasync) in fuse_dir_fsync() argument 1429 return fuse_fsync_common(file, start, end, datasync, 1); in fuse_dir_fsync()
|
/linux-4.1.27/include/linux/ |
D | fs.h | 1605 int (*fsync) (struct file *, loff_t, loff_t, int datasync); 1606 int (*aio_fsync) (struct kiocb *, int datasync); 2397 int datasync); 2398 extern int vfs_fsync(struct file *file, int datasync); 2605 int datasync);
|
D | fb.h | 664 loff_t end, int datasync);
|
/linux-4.1.27/drivers/char/ |
D | ps3flash.c | 289 static int ps3flash_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ps3flash_fsync() argument
|
/linux-4.1.27/fs/gfs2/ |
D | file.c | 652 int datasync) in gfs2_fsync() argument 668 if (datasync) in gfs2_fsync()
|
/linux-4.1.27/fs/hfsplus/ |
D | hfsplus_fs.h | 488 int datasync);
|
D | inode.c | 279 int datasync) in hfsplus_file_fsync() argument
|
/linux-4.1.27/ipc/ |
D | shm.c | 447 static int shm_fsync(struct file *file, loff_t start, loff_t end, int datasync) in shm_fsync() argument 453 return sfd->file->f_op->fsync(sfd->file, start, end, datasync); in shm_fsync()
|
/linux-4.1.27/fs/ubifs/ |
D | file.c | 1311 int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ubifs_fsync() argument 1332 if (!datasync || (inode->i_state & I_DIRTY_DATASYNC)) { in ubifs_fsync()
|
D | ubifs.h | 1747 int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/net/9p/ |
D | client.c | 1417 int p9_client_fsync(struct p9_fid *fid, int datasync) in p9_client_fsync() argument 1424 fid->fid, datasync); in p9_client_fsync() 1428 req = p9_client_rpc(clnt, P9_TFSYNC, "dd", fid->fid, datasync); in p9_client_fsync()
|
/linux-4.1.27/fs/ceph/ |
D | caps.c | 1898 int ceph_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ceph_fsync() argument 1906 dout("fsync %p%s\n", inode, datasync ? " datasync" : ""); in ceph_fsync() 1922 if (!datasync && (dirty & ~CEPH_CAP_ANY_FILE_WR)) { in ceph_fsync() 1928 dout("fsync %p%s done\n", inode, datasync ? " datasync" : ""); in ceph_fsync()
|
D | super.h | 846 int datasync);
|
D | dir.c | 1231 int datasync) in ceph_dir_fsync() argument
|
/linux-4.1.27/fs/hfs/ |
D | inode.c | 650 int datasync) in hfs_file_fsync() argument
|
/linux-4.1.27/fs/cifs/ |
D | file.c | 2257 int datasync) in cifs_strict_fsync() argument 2275 file, datasync); in cifs_strict_fsync() 2299 int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in cifs_fsync() argument 2317 file, datasync); in cifs_fsync()
|
/linux-4.1.27/Documentation/filesystems/ |
D | Locking | 442 int (*fsync) (struct file *, loff_t start, loff_t end, int datasync); 443 int (*aio_fsync) (struct kiocb *, int datasync);
|
D | vfs.txt | 817 int (*fsync) (struct file *, loff_t, loff_t, int datasync); 818 int (*aio_fsync) (struct kiocb *, int datasync);
|
/linux-4.1.27/drivers/mtd/ubi/ |
D | cdev.c | 171 int datasync) in vol_cdev_fsync() argument
|
/linux-4.1.27/fs/btrfs/ |
D | file.c | 1870 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in btrfs_sync_file() argument 1880 trace_btrfs_sync_file(file, datasync); in btrfs_sync_file()
|
D | ctree.h | 3979 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_printer.c | 669 printer_fsync(struct file *fd, loff_t start, loff_t end, int datasync) in printer_fsync() argument
|
/linux-4.1.27/fs/affs/ |
D | file.c | 952 int affs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in affs_file_fsync() argument
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 1852 static int spufs_mfc_fsync(struct file *file, loff_t start, loff_t end, int datasync) in spufs_mfc_fsync() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | file.c | 2627 int ll_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ll_fsync() argument
|