Home | History | Annotate | Download | only in block

Lines Matching refs:checksum

70     // Checksum of the Hard Disk Footer ("one's complement of the sum of all
71 // the bytes in the footer without the checksum field")
72 uint32_t checksum;
95 uint32_t checksum;
160 uint32_t checksum;
169 checksum = be32_to_cpu(footer->checksum);
170 footer->checksum = 0;
171 if (vpc_checksum(s->footer_buf, HEADER_SIZE) != checksum)
172 fprintf(stderr, "block-vpc: The header checksum of '%s' is "
555 footer->checksum = be32_to_cpu(vpc_checksum(buf, HEADER_SIZE));
590 dyndisk_header->checksum = be32_to_cpu(vpc_checksum(buf, 1024));