/linux-4.1.27/fs/coda/ |
H A D | coda_int.h | 14 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync);
|
H A D | file.c | 192 int coda_fsync(struct file *coda_file, loff_t start, loff_t end, int datasync) coda_fsync() argument 212 err = vfs_fsync(host_file, datasync); coda_fsync() 213 if (!err && !datasync) coda_fsync()
|
/linux-4.1.27/fs/ |
H A D | sync.c | 172 * @datasync: perform only datasync 175 * @datasync is set only metadata needed to access modified file data is 178 int vfs_fsync_range(struct file *file, loff_t start, loff_t end, int datasync) vfs_fsync_range() argument 184 if (!datasync && (inode->i_state & I_DIRTY_TIME)) { vfs_fsync_range() 190 return file->f_op->fsync(file, start, end, datasync); vfs_fsync_range() 197 * @datasync: only perform a fdatasync operation 199 * Write back data and metadata for @file to disk. If @datasync is 202 int vfs_fsync(struct file *file, int datasync) vfs_fsync() argument 204 return vfs_fsync_range(file, 0, LLONG_MAX, datasync); vfs_fsync() 208 static int do_fsync(unsigned int fd, int datasync) do_fsync() argument 214 ret = vfs_fsync(f.file, datasync); do_fsync()
|
H A D | libfs.c | 932 * @datasync: only synchronize essential metadata if true 939 int datasync) __generic_file_fsync() 953 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) __generic_file_fsync() 972 * @datasync: only synchronize essential metadata if true 977 int datasync) generic_file_fsync() 982 err = __generic_file_fsync(file, start, end, datasync); generic_file_fsync() 1021 int noop_fsync(struct file *file, loff_t start, loff_t end, int datasync) noop_fsync() argument 938 __generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) __generic_file_fsync() argument 976 generic_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) generic_file_fsync() argument
|
H A D | block_dev.c | 336 int blkdev_fsync(struct file *filp, loff_t start, loff_t end, int datasync) blkdev_fsync() argument
|
/linux-4.1.27/fs/nfs/ |
H A D | nfs4file.c | 100 nfs4_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) nfs4_file_fsync() argument 113 ret = nfs_file_fsync_commit(file, start, end, datasync); nfs4_file_fsync() 115 ret = pnfs_sync_inode(inode, !!datasync); nfs4_file_fsync()
|
H A 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) pnfs_sync_inode() argument 500 return NFS_SERVER(inode)->pnfs_curr_ld->sync(inode, datasync); pnfs_sync_inode() 586 pnfs_sync_inode(struct inode *inode, bool datasync) pnfs_sync_inode() argument
|
H A D | file.c | 244 nfs_file_fsync_commit(struct file *file, loff_t start, loff_t end, int datasync) nfs_file_fsync_commit() argument 251 dprintk("NFS: fsync file(%pD2) datasync %d\n", file, datasync); nfs_file_fsync_commit() 276 nfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) nfs_file_fsync() argument 289 ret = nfs_file_fsync_commit(file, start, end, datasync); nfs_file_fsync()
|
H A D | pnfs_nfs.c | 878 pnfs_nfs_generic_sync(struct inode *inode, bool datasync) pnfs_nfs_generic_sync() argument 880 if (datasync) pnfs_nfs_generic_sync()
|
H A D | dir.c | 977 int datasync) nfs_fsync_dir() 981 dfprintk(FILE, "NFS: fsync dir(%pD2) datasync %d\n", filp, datasync); nfs_fsync_dir() 976 nfs_fsync_dir(struct file *filp, loff_t start, loff_t end, int datasync) nfs_fsync_dir() argument
|
H A D | pnfs.c | 2236 pnfs_generic_sync(struct inode *inode, bool datasync) pnfs_generic_sync() argument
|
/linux-4.1.27/fs/ext3/ |
H A D | fsync.c | 41 int ext3_sync_file(struct file *file, loff_t start, loff_t end, int datasync) ext3_sync_file() argument 49 trace_ext3_sync_file_enter(file, datasync); ext3_sync_file() 83 if (datasync) ext3_sync_file()
|
/linux-4.1.27/fs/ext4/ |
H A D | fsync.c | 87 int ext4_sync_file(struct file *file, loff_t start, loff_t end, int datasync) ext4_sync_file() argument 98 trace_ext4_sync_file_enter(file, datasync); ext4_sync_file() 109 ret = generic_file_fsync(file, start, end, datasync); ext4_sync_file() 137 commit_tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid; ext4_sync_file()
|
H A D | ext4_jbd2.h | 373 int datasync) ext4_update_inode_fsync_trans() 379 if (datasync) ext4_update_inode_fsync_trans() 371 ext4_update_inode_fsync_trans(handle_t *handle, struct inode *inode, int datasync) ext4_update_inode_fsync_trans() argument
|
/linux-4.1.27/fs/ext2/ |
H A D | file.c | 74 int ext2_fsync(struct file *file, loff_t start, loff_t end, int datasync) ext2_fsync() argument 80 ret = generic_file_fsync(file, start, end, datasync); ext2_fsync()
|
H A D | ext2.h | 793 int datasync);
|
/linux-4.1.27/fs/jfs/ |
H A D | file.c | 32 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) jfs_fsync() argument 43 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { jfs_fsync()
|
/linux-4.1.27/fs/nilfs2/ |
H A D | file.c | 30 int nilfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) nilfs_sync_file() argument 45 if (datasync) nilfs_sync_file()
|
/linux-4.1.27/fs/exofs/ |
H A D | file.c | 46 int datasync) exofs_file_fsync() 45 exofs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) exofs_file_fsync() argument
|
/linux-4.1.27/include/trace/events/ |
H A D | ext3.h | 428 TP_PROTO(struct file *file, int datasync), 430 TP_ARGS(file, datasync), 436 __field( int, datasync ) 444 __entry->datasync = datasync; 448 TP_printk("dev %d,%d ino %lu parent %ld datasync %d ", 451 (unsigned long) __entry->parent, __entry->datasync)
|
H A D | btrfs.h | 397 TP_PROTO(struct file *file, int datasync), 399 TP_ARGS(file, datasync), 404 __field( int, datasync ) 414 __entry->datasync = datasync; 419 TP_printk("root = %llu(%s), ino = %ld, parent = %ld, datasync = %d", 422 __entry->datasync)
|
H A 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; 208 "datasync = %d, ret = %d", 211 __entry->datasync,
|
H A D | ext4.h | 861 TP_PROTO(struct file *file, int datasync), 863 TP_ARGS(file, datasync), 869 __field( int, datasync ) 877 __entry->datasync = datasync; 881 TP_printk("dev %d,%d ino %lu parent %lu datasync %d ", 884 (unsigned long) __entry->parent, __entry->datasync)
|
/linux-4.1.27/fs/9p/ |
H A D | vfs_file.c | 440 int datasync) v9fs_file_fsync() 452 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); v9fs_file_fsync() 464 int datasync) v9fs_file_fsync_dotl() 475 p9_debug(P9_DEBUG_VFS, "filp %p datasync %x\n", filp, datasync); v9fs_file_fsync_dotl() 479 retval = p9_client_fsync(fid, datasync); v9fs_file_fsync_dotl() 439 v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) v9fs_file_fsync() argument 463 v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, int datasync) v9fs_file_fsync_dotl() argument
|
H A D | v9fs_vfs.h | 74 int datasync);
|
/linux-4.1.27/fs/hostfs/ |
H A D | hostfs.h | 80 extern int fsync_file(int fd, int datasync);
|
H A D | hostfs_user.c | 156 int fsync_file(int fd, int datasync) fsync_file() argument 159 if (datasync) fsync_file()
|
H A D | hostfs_kern.c | 372 int datasync) hostfs_fsync() 382 ret = fsync_file(HOSTFS_I(inode)->fd, datasync); hostfs_fsync() 371 hostfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) hostfs_fsync() argument
|
/linux-4.1.27/fs/reiserfs/ |
H A D | dir.c | 18 int datasync); 32 int datasync) reiserfs_dir_fsync() 31 reiserfs_dir_fsync(struct file *filp, loff_t start, loff_t end, int datasync) reiserfs_dir_fsync() argument
|
H A D | file.c | 151 int datasync) reiserfs_sync_file() 150 reiserfs_sync_file(struct file *filp, loff_t start, loff_t end, int datasync) reiserfs_sync_file() argument
|
H A D | inode.c | 1772 * to properly mark inodes for datasync and such, but only actually
|
/linux-4.1.27/fs/hpfs/ |
H A D | file.c | 22 int hpfs_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) hpfs_file_fsync() argument
|
/linux-4.1.27/fs/ncpfs/ |
H A D | file.c | 24 static int ncp_fsync(struct file *file, loff_t start, loff_t end, int datasync) ncp_fsync() argument
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | file.c | 271 ecryptfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) ecryptfs_fsync() argument 279 return vfs_fsync(ecryptfs_file_to_lower(file), datasync); ecryptfs_fsync()
|
/linux-4.1.27/fs/fat/ |
H A D | file.c | 155 int fat_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) fat_file_fsync() argument 160 res = generic_file_fsync(filp, start, end, datasync); fat_file_fsync()
|
H A D | fat.h | 367 int datasync);
|
/linux-4.1.27/fs/overlayfs/ |
H A D | readdir.c | 438 int datasync) ovl_dir_fsync() 474 return vfs_fsync_range(realfile, start, end, datasync); ovl_dir_fsync() 437 ovl_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) ovl_dir_fsync() argument
|
/linux-4.1.27/drivers/video/fbdev/core/ |
H A D | fb_defio.c | 69 int fb_deferred_io_fsync(struct file *file, loff_t start, loff_t end, int datasync) fb_deferred_io_fsync() argument
|
/linux-4.1.27/fs/jffs2/ |
H A D | file.c | 32 int jffs2_fsync(struct file *filp, loff_t start, loff_t end, int datasync) jffs2_fsync() argument
|
/linux-4.1.27/fs/logfs/ |
H A D | file.c | 223 int logfs_fsync(struct file *file, loff_t start, loff_t end, int datasync) logfs_fsync() argument
|
H A D | logfs.h | 509 int logfs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/fs/f2fs/ |
H A D | file.c | 172 int f2fs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) f2fs_sync_file() argument 198 trace_f2fs_sync_file_exit(inode, need_cp, datasync, ret); f2fs_sync_file() 203 if (!datasync && is_inode_flag_set(fi, FI_DIRTY_INODE)) { f2fs_sync_file() 273 trace_f2fs_sync_file_exit(inode, need_cp, datasync, ret); f2fs_sync_file()
|
/linux-4.1.27/fs/ntfs/ |
H A D | dir.c | 1479 * @datasync: if non-zero only flush user data and not metadata 1487 * If @datasync is true, we do not wait on the inode(s) to be written out 1501 int datasync) ntfs_dir_fsync() 1522 write_inode_now(bmp_vi, !datasync); ntfs_dir_fsync() 1526 write_inode_now(vi, !datasync); ntfs_dir_fsync() 1534 "%u.", datasync ? "data" : "", vi->i_ino, -ret); ntfs_dir_fsync() 1500 ntfs_dir_fsync(struct file *filp, loff_t start, loff_t end, int datasync) ntfs_dir_fsync() argument
|
H A D | file.c | 1966 * @datasync: if non-zero only flush user data and not metadata 1971 * If @datasync is false, write the mft record and all associated extent mft 1974 * If @datasync is true and the attribute is non-resident, we skip the writing 1978 * Also, if @datasync is true, we do not wait on the inode to be written out 1988 int datasync) ntfs_file_fsync() 2001 if (!datasync || !NInoNonResident(NTFS_I(vi))) ntfs_file_fsync() 2003 write_inode_now(vi, !datasync); ntfs_file_fsync() 2016 "%u.", datasync ? "data" : "", vi->i_ino, -ret); ntfs_file_fsync() 1987 ntfs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) ntfs_file_fsync() argument
|
/linux-4.1.27/fs/ocfs2/ |
H A D | journal.h | 636 int datasync) ocfs2_update_inode_fsync_trans() 641 if (datasync) ocfs2_update_inode_fsync_trans() 634 ocfs2_update_inode_fsync_trans(handle_t *handle, struct inode *inode, int datasync) ocfs2_update_inode_fsync_trans() argument
|
H A D | file.c | 175 int datasync) ocfs2_sync_file() 190 (unsigned long long)datasync); ocfs2_sync_file() 199 commit_tid = datasync ? oi->i_datasync_tid : oi->i_sync_tid; ocfs2_sync_file() 174 ocfs2_sync_file(struct file *file, loff_t start, loff_t end, int datasync) ocfs2_sync_file() argument
|
/linux-4.1.27/fs/afs/ |
H A D | write.c | 682 int afs_fsync(struct file *file, loff_t start, loff_t end, int datasync) afs_fsync() argument 691 datasync); afs_fsync()
|
/linux-4.1.27/drivers/char/ |
H A D | ps3flash.c | 289 static int ps3flash_fsync(struct file *file, loff_t start, loff_t end, int datasync) ps3flash_fsync() argument
|
/linux-4.1.27/include/net/9p/ |
H A D | client.h | 238 int p9_client_fsync(struct p9_fid *fid, int datasync);
|
/linux-4.1.27/fs/gfs2/ |
H A D | file.c | 635 * @datasync: set if we can ignore timestamp changes 652 int datasync) gfs2_fsync() 668 if (datasync) gfs2_fsync() 651 gfs2_fsync(struct file *file, loff_t start, loff_t end, int datasync) gfs2_fsync() argument
|
/linux-4.1.27/fs/ceph/ |
H A D | caps.c | 1898 int ceph_fsync(struct file *file, loff_t start, loff_t end, int datasync) ceph_fsync() argument 1906 dout("fsync %p%s\n", inode, datasync ? " datasync" : ""); ceph_fsync() 1922 if (!datasync && (dirty & ~CEPH_CAP_ANY_FILE_WR)) { ceph_fsync() 1928 dout("fsync %p%s done\n", inode, datasync ? " datasync" : ""); ceph_fsync()
|
H A D | super.h | 846 int datasync);
|
H A D | dir.c | 1231 int datasync) ceph_dir_fsync() 1230 ceph_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) ceph_dir_fsync() argument
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_file.c | 177 int datasync) xfs_dir_fsync() 200 int datasync) xfs_file_fsync() 240 if (!datasync || xfs_file_fsync() 173 xfs_dir_fsync( struct file *file, loff_t start, loff_t end, int datasync) xfs_dir_fsync() argument 196 xfs_file_fsync( struct file *file, loff_t start, loff_t end, int datasync) xfs_file_fsync() argument
|
/linux-4.1.27/fs/hfsplus/ |
H A D | hfsplus_fs.h | 488 int datasync);
|
H A D | inode.c | 279 int datasync) hfsplus_file_fsync() 278 hfsplus_file_fsync(struct file *file, loff_t start, loff_t end, int datasync) hfsplus_file_fsync() argument
|
/linux-4.1.27/net/9p/ |
H A D | client.c | 1417 int p9_client_fsync(struct p9_fid *fid, int datasync) p9_client_fsync() argument 1423 p9_debug(P9_DEBUG_9P, ">>> TFSYNC fid %d datasync:%d\n", p9_client_fsync() 1424 fid->fid, datasync); p9_client_fsync() 1428 req = p9_client_rpc(clnt, P9_TFSYNC, "dd", fid->fid, datasync); p9_client_fsync()
|
/linux-4.1.27/ipc/ |
H A D | shm.c | 447 static int shm_fsync(struct file *file, loff_t start, loff_t end, int datasync) shm_fsync() argument 453 return sfd->file->f_op->fsync(sfd->file, start, end, datasync); shm_fsync()
|
/linux-4.1.27/fs/ubifs/ |
H A D | file.c | 1311 int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync) ubifs_fsync() argument 1331 /* Synchronize the inode unless this is a 'datasync()' call. */ ubifs_fsync() 1332 if (!datasync || (inode->i_state & I_DIRTY_DATASYNC)) { ubifs_fsync()
|
H A D | ubifs.h | 1747 int ubifs_fsync(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/fs/hfs/ |
H A D | inode.c | 650 int datasync) hfs_file_fsync() 649 hfs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) hfs_file_fsync() argument
|
/linux-4.1.27/fs/fuse/ |
H A D | file.c | 441 int datasync, int isdir) fuse_fsync_common() 474 inarg.fsync_flags = datasync ? 1 : 0; fuse_fsync_common() 494 int datasync) fuse_fsync() 496 return fuse_fsync_common(file, start, end, datasync, 0); fuse_fsync() 440 fuse_fsync_common(struct file *file, loff_t start, loff_t end, int datasync, int isdir) fuse_fsync_common() argument 493 fuse_fsync(struct file *file, loff_t start, loff_t end, int datasync) fuse_fsync() argument
|
H A D | fuse_i.h | 706 int datasync, int isdir);
|
H A D | dir.c | 1427 int datasync) fuse_dir_fsync() 1429 return fuse_fsync_common(file, start, end, datasync, 1); fuse_dir_fsync() 1426 fuse_dir_fsync(struct file *file, loff_t start, loff_t end, int datasync) fuse_dir_fsync() argument
|
/linux-4.1.27/fs/cifs/ |
H A D | file.c | 2257 int datasync) cifs_strict_fsync() 2274 cifs_dbg(FYI, "Sync file - name: %pD datasync: 0x%x\n", cifs_strict_fsync() 2275 file, datasync); cifs_strict_fsync() 2299 int cifs_fsync(struct file *file, loff_t start, loff_t end, int datasync) cifs_fsync() argument 2316 cifs_dbg(FYI, "Sync file - name: %pD datasync: 0x%x\n", cifs_fsync() 2317 file, datasync); cifs_fsync() 2256 cifs_strict_fsync(struct file *file, loff_t start, loff_t end, int datasync) cifs_strict_fsync() argument
|
/linux-4.1.27/include/linux/ |
H A 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); generic_write_sync() 2605 int datasync);
|
H A D | fb.h | 664 loff_t end, int datasync);
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | cdev.c | 171 int datasync) vol_cdev_fsync() 170 vol_cdev_fsync(struct file *file, loff_t start, loff_t end, int datasync) vol_cdev_fsync() argument
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | f_printer.c | 669 printer_fsync(struct file *fd, loff_t start, loff_t end, int datasync) printer_fsync() argument
|
/linux-4.1.27/fs/affs/ |
H A D | file.c | 952 int affs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) affs_file_fsync() argument
|
/linux-4.1.27/fs/btrfs/ |
H A D | file.c | 1870 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) btrfs_sync_file() argument 1880 trace_btrfs_sync_file(file, datasync); btrfs_sync_file()
|
H A D | ctree.h | 3979 int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync);
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
H A D | file.c | 1852 static int spufs_mfc_fsync(struct file *file, loff_t start, loff_t end, int datasync) spufs_mfc_fsync() argument
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | file.c | 2627 int ll_fsync(struct file *file, loff_t start, loff_t end, int datasync) ll_fsync() argument
|