Lines Matching refs:sync
446 * @sync: if true, wait for i/o completion
454 * NOTE: We always perform synchronous i/o and ignore the @sync parameter.
456 * TODO: If @sync is false, want to do truly asynchronous i/o, i.e. just
460 MFT_RECORD *m, int sync)
600 * buffer states do not become out of sync.
636 * @sync: if true, wait for i/o completion
650 * NOTE: We always perform synchronous i/o and ignore the @sync parameter.
651 * However, if the mft record has a counterpart in the mft mirror and @sync is
654 * or the mft mirror will contain a self-consistent mft record @m. If @sync is
660 * TODO: If @sync is false, want to do truly asynchronous i/o, i.e. just
663 int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync)
784 /* Synchronize the mft mirror now if not @sync. */
785 if (!sync && ni->mft_no < vol->mftmirr_size)
786 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync);
796 * states do not become out of sync.
802 /* If @sync, now synchronize the mft mirror. */
803 if (sync && ni->mft_no < vol->mftmirr_size)
804 ntfs_sync_mft_mirror(vol, ni->mft_no, m, sync);