Lines Matching defs:sync
441 * @sync: if true, wait for i/o completion
449 * NOTE: We always perform synchronous i/o and ignore the @sync parameter.
451 * TODO: If @sync is false, want to do truly asynchronous i/o, i.e. just
455 MFT_RECORD *m, int sync)
597 * buffer states do not become out of sync.
633 * @sync: if true, wait for i/o completion
647 * NOTE: We always perform synchronous i/o and ignore the @sync parameter.
648 * However, if the mft record has a counterpart in the mft mirror and @sync is
651 * or the mft mirror will contain a self-consistent mft record @m. If @sync is
657 * TODO: If @sync is false, want to do truly asynchronous i/o, i.e. just
660 int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync)
785 /* Synchronize the mft mirror now if not @sync. */
786 if (!sync && ni->mft_no < vol->mftmirr_size)
787 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync);
797 * states do not become out of sync.
803 /* If @sync, now synchronize the mft mirror. */
804 if (sync && ni->mft_no < vol->mftmirr_size)
805 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync);