Lines Matching defs:mmp
2 * Helper functions for multiple mount protection (MMP).
44 * own fd to read the MMP block to ensure that it is using O_DIRECT,
46 * the MMP block by the io_manager or the VM. It needs to be fresh. */
267 * If check_interval in MMP block is larger, use that instead of
324 * Clear the MMP usage in the filesystem. If this function returns an
331 struct mmp_struct *mmp, *mmp_cmp;
342 /* Check if the MMP block is not changed. */
343 mmp = fs->mmp_buf;
345 if (memcmp(mmp, mmp_cmp, sizeof(*mmp_cmp))) {
365 * Update the on-disk mmp buffer, after checking that it hasn't been changed.
369 struct mmp_struct *mmp, *mmp_cmp;
385 mmp = fs->mmp_buf;
388 if (memcmp(mmp, mmp_cmp, sizeof(*mmp_cmp)))
391 mmp->mmp_time = tv.tv_sec;
392 mmp->mmp_seq = EXT4_MMP_SEQ_FSCK;