Lines Matching defs:restart
47 #define RSTBLKS 2 /* number of restart blocks */
52 #define BLOCKBITS 9 /* This is only used to read the restart page */
120 RESTART_AREA restart;
152 BOOL optk; /* kill fast restart */
2707 * Display a restart page
2841 memcpy(&restart, &data[offs],
2843 offs += le16_to_cpu(restart.client_array_offset);
2848 printf("* Using initial restart page,"
2869 printf("restart %ld\n",(long)blk);
2872 /* Information from an older restart block if requested */
2873 dirty = !(restart.flags & RESTART_VOLUME_IS_CLEAN);
2887 memcpy(&restart, &data[offs],
2889 offs += le16_to_cpu(restart.client_array_offset);
2894 printf("* Using %s restart page,"
2902 offset_mask = ((u64)1 << (64 - le32_to_cpu(restart.seq_number_bits)))
2908 * Read and process the first restart block
2910 * In full mode, both restart page are silently analyzed by the
2914 * Returns the first restart buffer
2915 * or NULL if the restart block is not valid
2934 /* Full mode : use the restart page selected by the library */
2947 printf("** Could not get any restart page\n");
2950 /* Reduced mode : rely on first restart page */
2958 magic = buf->block.restart.magic;
2971 printf("** Invalid restart block\n");
2976 dorest(ctx, 0, &buf->block.restart, TRUE);
2977 major = sle16_to_cpu(buf->block.restart.major_ver);
2978 minor = sle16_to_cpu(buf->block.restart.minor_ver);
2981 printf("** Fast restart mode detected,"
2983 printf(" Use option --kill-fast-restart"
3015 restart.client_in_use_list = LOGFILE_NO_CLIENT;
3016 restart.flags |= RESTART_VOLUME_IS_CLEAN;
3024 memcpy(&buffer[off], &restart,
3026 off += le16_to_cpu(restart.client_array_offset);
3182 printf("** Inconsistent restart area offset.\n");
3564 if (logr->this_lsn == restart.current_lsn)
3566 " restart lsn\n");
3569 " restart lsn\n");
3571 == restart.last_lsn_data_length)
3868 /* read and process the first restart block */
3905 dirty = dorest(ctx, blk, &buf->block.restart,
3938 /* In full mode, ignore errors on restart blocks */
3985 than restart */
4053 /* The latest buf may be more recent than restart */
4125 fprintf(stderr," -k : kill fast restart data\n");
4153 { "kill-fast-restart", no_argument, NULL, 'k' },