Searched refs:header_crc32 (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/u-boot/disk/ |
| H A D | part_efi.c | 93 memcpy(&crc32_backup, &gpt_h->header_crc32, sizeof(crc32_backup)); in validate_gpt_header() 94 memset(&gpt_h->header_crc32, 0, sizeof(gpt_h->header_crc32)); in validate_gpt_header() 99 memcpy(&gpt_h->header_crc32, &crc32_backup, sizeof(crc32_backup)); in validate_gpt_header() 181 gpt_h->header_crc32 = 0; in prepare_backup_gpt_header() 185 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in prepare_backup_gpt_header() 391 gpt_head->header_crc32 = 0; in part_efi_repair() 399 gpt_head->header_crc32 = calc_crc32; in part_efi_repair() 415 gpt_head->header_crc32 = 0; in part_efi_repair() 423 gpt_head->header_crc32 = calc_crc32; in part_efi_repair() 568 gpt_h->header_crc32 = cpu_to_le32(calc_crc32); in write_gpt_table() [all …]
|
| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | efi.c | 375 origcrc = le32_to_cpu((*gpt)->header_crc32); in is_gpt_valid() 376 (*gpt)->header_crc32 = 0; in is_gpt_valid() 384 (*gpt)->header_crc32 = cpu_to_le32(origcrc); in is_gpt_valid()
|
| H A D | efi.h | 60 __le32 header_crc32; member
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | part_efi.h | 80 __le32 header_crc32; member
|
| /OK3568_Linux_fs/external/recovery/update_engine/ |
| H A D | flash_image.c | 551 gptHead->header_crc32 = 0; in create_gpt_buffer() 593 gptHead->header_crc32 = cpu_to_le32(crc32_le(0, gpt + SECTOR_SIZE, sizeof(gpt_header))); in create_gpt_buffer() 609 gptBackupHead->header_crc32 = 0; in prepare_gpt_backup() 612 gptBackupHead->header_crc32 = cpu_to_le32(calc_crc32); in prepare_gpt_backup()
|
| H A D | gpt.h | 137 u32 header_crc32; //主GPT头的CRC32校验数据,注意不是累加和校验 member
|
| /OK3568_Linux_fs/external/rkupdate/ |
| H A D | gpt.h | 126 u32 header_crc32; member
|
| H A D | RKAndroidDevice.cpp | 3528 gptBackupHead->header_crc32 = 0; in prepare_gpt_backup() 3531 gptBackupHead->header_crc32 = cpu_to_le32(calc_crc32); in prepare_gpt_backup() 3577 gptHead->header_crc32 = 0; in create_gpt_buffer() 3618 gptHead->header_crc32 = cpu_to_le32(crc32_le(0, gpt + SECTOR_SIZE, sizeof(gpt_header))); in create_gpt_buffer()
|