/linux-4.4.14/fs/ |
D | sync.c | 183 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) in vfs_fsync_range() argument 189 if (!datasync && (inode->i_state & I_DIRTY_TIME)) { in vfs_fsync_range() 195 return file->f_op->fsync(file, start, end, datasync); in vfs_fsync_range() 207 int vfs_fsync(struct file *file, int datasync) in vfs_fsync() argument 209 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); in vfs_fsync() 213 static int do_fsync(unsigned int fd, int datasync) in do_fsync() argument 219 ret = vfs_fsync(f.file, datasync); in do_fsync()
|
D | libfs.c | 934 int datasync) in __generic_file_fsync() argument 948 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in __generic_file_fsync() 972 int datasync) in generic_file_fsync() argument 977 err = __generic_file_fsync(file, start, end, datasync); in generic_file_fsync() 1016 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) in noop_fsync() argument
|
D | block_dev.c | 350 int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in blkdev_fsync() argument
|
/linux-4.4.14/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 | 371 int datasync) in ext4_update_inode_fsync_trans() argument 377 if (datasync) in ext4_update_inode_fsync_trans()
|
/linux-4.4.14/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.4.14/fs/nfs/ |
D | pnfs.h | 160 int (*sync)(struct inode *inode, bool datasync); 277 int pnfs_generic_sync(struct inode *inode, bool datasync); 278 int pnfs_nfs_generic_sync(struct inode *inode, bool datasync); 508 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument 512 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); in pnfs_sync_inode() 617 pnfs_sync_inode(struct inode *inode, bool datasync) in pnfs_sync_inode() argument
|
D | nfs4file.c | 132 nfs4_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs4_file_fsync() argument 145 ret = nfs_file_fsync_commit(file, start, end, datasync); in nfs4_file_fsync() 147 ret = pnfs_sync_inode(inode, !!datasync); in nfs4_file_fsync()
|
D | file.c | 237 nfs_file_fsync_commit(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync_commit() argument 244 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); in nfs_file_fsync_commit() 269 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) in nfs_file_fsync() argument 282 ret = nfs_file_fsync_commit(file, start, end, datasync); in nfs_file_fsync()
|
D | pnfs_nfs.c | 893 pnfs_nfs_generic_sync(struct inode *inode, bool datasync) in pnfs_nfs_generic_sync() argument 895 if (datasync) in pnfs_nfs_generic_sync()
|
D | dir.c | 969 int datasync) in nfs_fsync_dir() argument 973 dfprintk(FILE, "NFS: fsync dir(%pD2) datasync %d\n", filp, datasync); in nfs_fsync_dir()
|
D | pnfs.c | 2312 pnfs_generic_sync(struct inode *inode, bool datasync) in pnfs_generic_sync() argument
|
/linux-4.4.14/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.4.14/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.4.14/fs/9p/ |
D | vfs_file.c | 441 int datasync) in v9fs_file_fsync() argument 453 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync() 465 int datasync) in v9fs_file_fsync_dotl() argument 476 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); in v9fs_file_fsync_dotl() 480 retval = p9_client_fsync(fid, datasync); in v9fs_file_fsync_dotl()
|
D | v9fs_vfs.h | 74 int datasync);
|
/linux-4.4.14/fs/ext2/ |
D | file.c | 158 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ext2_fsync() argument 164 ret = generic_file_fsync(file, start, end, datasync); in ext2_fsync()
|
D | ext2.h | 804 int datasync);
|
/linux-4.4.14/fs/exofs/ |
D | file.c | 46 int datasync) in exofs_file_fsync() argument
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/include/trace/events/ |
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 | f2fs.h | 193 TP_PROTO(struct inode *inode, int need_cp, int datasync, int ret), 195 TP_ARGS(inode, need_cp, datasync, ret), 201 __field(int, datasync) 209 __entry->datasync = datasync; 217 __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.4.14/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 | 179 int datasync) in ocfs2_sync_file() argument 194 (unsigned long long)datasync); in ocfs2_sync_file() 203 commit_tid = datasync ? oi->i_datasync_tid : oi->i_sync_tid; in ocfs2_sync_file()
|
/linux-4.4.14/fs/fat/ |
D | file.c | 156 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) in fat_file_fsync() argument 161 res = generic_file_fsync(filp, start, end, datasync); in fat_file_fsync()
|
D | fat.h | 367 int datasync);
|
/linux-4.4.14/include/net/9p/ |
D | client.h | 238 int p9_client_fsync(struct p9_fid *fid, int datasync);
|
/linux-4.4.14/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.4.14/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 | 1989 int datasync) in ntfs_file_fsync() argument 2002 if (!datasync || !NInoNonResident(NTFS_I(vi))) in ntfs_file_fsync() 2004 write_inode_now(vi, !datasync); in ntfs_file_fsync() 2017 "%u.", datasync ? "data" : "", vi->i_ino, -ret); in ntfs_file_fsync()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/fs/xfs/ |
D | xfs_file.c | 187 int datasync) in xfs_dir_fsync() argument 210 int datasync) in xfs_file_fsync() argument 259 if (!datasync || in xfs_file_fsync()
|
/linux-4.4.14/fs/f2fs/ |
D | file.c | 184 int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in f2fs_sync_file() argument 210 trace_f2fs_sync_file_exit(inode, need_cp, datasync, ret); in f2fs_sync_file() 215 if (!datasync) { in f2fs_sync_file() 285 trace_f2fs_sync_file_exit(inode, need_cp, datasync, ret); in f2fs_sync_file()
|
/linux-4.4.14/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.4.14/fs/fuse/ |
D | fuse_i.h | 738 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 | 1411 int datasync) in fuse_dir_fsync() argument 1413 return fuse_fsync_common(file, start, end, datasync, 1); in fuse_dir_fsync()
|
/linux-4.4.14/include/linux/ |
D | fs.h | 1625 int (*fsync) (struct file *, loff_t, loff_t, int datasync); 1626 int (*aio_fsync) (struct kiocb *, int datasync); 2432 int datasync); 2433 extern int vfs_fsync(struct file *file, int datasync); 2647 int datasync);
|
D | fb.h | 667 loff_t end, int datasync);
|
/linux-4.4.14/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.4.14/fs/gfs2/ |
D | file.c | 652 int datasync) in gfs2_fsync() argument 668 if (datasync) in gfs2_fsync()
|
/linux-4.4.14/fs/hfsplus/ |
D | hfsplus_fs.h | 488 int datasync);
|
D | inode.c | 279 int datasync) in hfsplus_file_fsync() argument
|
/linux-4.4.14/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.4.14/fs/ubifs/ |
D | file.c | 1302 int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ubifs_fsync() argument 1323 if (!datasync || (inode->i_state & I_DIRTY_DATASYNC)) { in ubifs_fsync()
|
D | ubifs.h | 1746 int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.4.14/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.4.14/fs/hfs/ |
D | inode.c | 650 int datasync) in hfs_file_fsync() argument
|
/linux-4.4.14/fs/ceph/ |
D | super.h | 878 int datasync);
|
D | caps.c | 2015 int ceph_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ceph_fsync() argument 2023 dout("fsync %p%s\n", inode, datasync ? " datasync" : ""); in ceph_fsync() 2030 if (datasync) in ceph_fsync() 2051 dout("fsync %p%s result=%d\n", inode, datasync ? " datasync" : "", ret); in ceph_fsync()
|
/linux-4.4.14/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.4.14/Documentation/filesystems/ |
D | Locking | 443 int (*fsync) (struct file *, loff_t start, loff_t end, int datasync); 444 int (*aio_fsync) (struct kiocb *, int datasync);
|
D | vfs.txt | 820 int (*fsync) (struct file *, loff_t, loff_t, int datasync); 821 int (*aio_fsync) (struct kiocb *, int datasync);
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | cdev.c | 171 int datasync) in vol_cdev_fsync() argument
|
/linux-4.4.14/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.4.14/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.4.14/fs/btrfs/ |
D | file.c | 1886 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) in btrfs_sync_file() argument 1902 trace_btrfs_sync_file(file, datasync); in btrfs_sync_file()
|
D | ctree.h | 4036 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 1797 static int spufs_mfc_fsync(struct file *file, loff_t start, loff_t end, int datasync) in spufs_mfc_fsync() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
D | file.c | 2600 int ll_fsync(struct file *file, loff_t start, loff_t end, int datasync) in ll_fsync() argument
|