Home
last modified time | relevance | path

Searched refs:header_crc32 (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/disk/
H A Dpart_efi.c94 memcpy(&crc32_backup, &gpt_h->header_crc32, sizeof(crc32_backup)); in validate_gpt_header()
95 memset(&gpt_h->header_crc32, 0, sizeof(gpt_h->header_crc32)); in validate_gpt_header()
100 memcpy(&gpt_h->header_crc32, &crc32_backup, sizeof(crc32_backup)); in validate_gpt_header()
172 gpt_h->header_crc32 = 0; in prepare_backup_gpt_header()
176 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in prepare_backup_gpt_header()
408 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in write_gpt_table()
618 gpt_h->header_crc32 = 0; in gpt_fill_header()
/openbmc/linux/block/partitions/
H A Defi.c373 origcrc = le32_to_cpu((*gpt)->header_crc32); in is_gpt_valid()
374 (*gpt)->header_crc32 = 0; in is_gpt_valid()
382 (*gpt)->header_crc32 = cpu_to_le32(origcrc); in is_gpt_valid()
H A Defi.h59 __le32 header_crc32; member
/openbmc/u-boot/include/
H A Dpart_efi.h80 __le32 header_crc32; member