| /openbsd/src/sys/arch/riscv64/stand/efiboot/ |
| D | efidev.c | 270 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 328 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 330 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 340 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 352 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 363 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| D | softraid_riscv64.c | 424 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 487 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 489 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 500 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 508 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 522 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| /openbsd/src/sys/arch/armv7/stand/efiboot/ |
| D | efidev.c | 270 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 328 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 330 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 340 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 352 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 363 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| /openbsd/src/sys/arch/amd64/stand/libsa/ |
| D | softraid_amd64.c | 432 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 495 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 497 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 508 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 516 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 530 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| /openbsd/src/sys/arch/arm64/stand/efiboot/ |
| D | efidev.c | 270 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 328 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 330 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 340 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 352 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 363 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| D | softraid_arm64.c | 424 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 487 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 489 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 500 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 508 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 522 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| /openbsd/src/sys/arch/amd64/stand/efiboot/ |
| D | efidev.c | 280 uint32_t orig_csum, new_csum; in findopenbsd_gpt() local 338 new_csum = crc32(0, (unsigned char *)&gh, ghsize); in findopenbsd_gpt() 340 if (letoh32(orig_csum) != new_csum) { in findopenbsd_gpt() 350 new_csum = crc32(0L, Z_NULL, 0); in findopenbsd_gpt() 362 new_csum = crc32(new_csum, buf + part * sizeof(gp), in findopenbsd_gpt() 373 if (new_csum != letoh32(gh.gh_part_csum)) { in findopenbsd_gpt()
|
| /openbsd/src/usr.sbin/installboot/ |
| D | efi_installboot.c | 477 uint32_t orig_csum, new_csum; in findgptefisys() local 520 new_csum = crc32((unsigned char *)&gh, ghsize); in findgptefisys() 522 if (letoh32(orig_csum) != new_csum) in findgptefisys() 542 new_csum = crc32((unsigned char *)&gp, ghpartnum * ghpartsize); in findgptefisys() 543 if (new_csum != letoh32(gh.gh_part_csum)) in findgptefisys()
|
| D | i386_installboot.c | 609 uint32_t orig_csum, new_csum; in findgptefisys() local 652 new_csum = crc32((unsigned char *)&gh, ghsize); in findgptefisys() 654 if (letoh32(orig_csum) != new_csum) in findgptefisys() 674 new_csum = crc32((unsigned char *)&gp, ghpartnum * ghpartsize); in findgptefisys() 675 if (new_csum != letoh32(gh.gh_part_csum)) in findgptefisys()
|