Searched refs:total_blocks (Results 1 – 1 of 1) sorted by relevance
1538 int total_blocks = 0; in PerformBlockImageUpdate() local1652 total_blocks = strtol(line, NULL, 0); in PerformBlockImageUpdate()1654 if (total_blocks < 0) { in PerformBlockImageUpdate()1657 } else if (total_blocks == 0) { in PerformBlockImageUpdate()1729 fprintf(cmd_pipe, "set_progress %.4f\n", (double) params.written / total_blocks); in PerformBlockImageUpdate()1737 fprintf(stderr, "wrote %d blocks; expected %d\n", params.written, total_blocks); in PerformBlockImageUpdate()