Lines Matching defs:sync
569 * Having said that Windows only keeps in sync and cares about the
3559 * volume. We sync and release all held inodes as well as all other resources.
3756 * @sync: if IO_SYNC wait for all i/o to complete
3760 int sync;
3773 * We sync all dirty inodes to disk and if an error occurs we record it in the
3778 * If the @sync field of the ntfs_sync_args structure pointed to by @arg is
3795 * Sync the inode data to disk and sync the ntfs inode to the
3798 err = ntfs_inode_sync(ni, args->sync, TRUE);
3817 * @skip_mft_record_sync: do not sync the mft record(s) to disk
3837 err = ntfs_inode_sync(ni, args->sync, skip_mft_record_sync);
3841 ntfs_error(ni->vol->mp, "Failed to sync $MFT%s (error %d).",
3854 * ntfs_sync - sync a mounted volume to disk
3859 * The VFS calls this via VFS_SYNC() when it wants to sync all cached data of
3874 /* If we are mounted read-only, we do not need to sync anything. */
3878 args.sync = (waitfor == MNT_WAIT) ? IO_SYNC : 0;
3883 * Finally, sync the inodes for $MFT and $MFTMirr to disk. Note we do
3884 * the sync twice to ensure that any interdependent changes that are
3894 ntfs_error(mp, "Failed to sync volume (error %d).", args.err);
4002 ntfs_error(mp, "Failed to sync volume (error %d). "
4015 ntfs_error(mp, "Failed to sync volume (error "