Searched refs:PARTITION_CRC_OFFSET (Results 1 – 10 of 10) sorted by relevance
/device/google/coral/gpt-utils/ |
D | gpt-utils.h | 53 #define PARTITION_CRC_OFFSET 88 macro
|
D | gpt-utils.cpp | 349 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { in gpt2_set_boot_chain() 372 PUT_4_BYTES(gpt_header + PARTITION_CRC_OFFSET, crc); in gpt2_set_boot_chain() 1441 disk->pentry_arr_crc = GET_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1443 PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1493 PUT_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET, disk->pentry_arr_crc); in gpt_disk_update_crc() 1495 PUT_4_BYTES(disk->hdr_bak + PARTITION_CRC_OFFSET, in gpt_disk_update_crc()
|
/device/google/bonito/gpt-utils/ |
D | gpt-utils.h | 53 #define PARTITION_CRC_OFFSET 88 macro
|
D | gpt-utils.cpp | 342 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { in gpt2_set_boot_chain() 365 PUT_4_BYTES(gpt_header + PARTITION_CRC_OFFSET, crc); in gpt2_set_boot_chain() 1434 disk->pentry_arr_crc = GET_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1436 PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1486 PUT_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET, disk->pentry_arr_crc); in gpt_disk_update_crc() 1488 PUT_4_BYTES(disk->hdr_bak + PARTITION_CRC_OFFSET, in gpt_disk_update_crc()
|
/device/google/redbull/gpt-utils/ |
D | gpt-utils.h | 53 #define PARTITION_CRC_OFFSET 88 macro
|
D | gpt-utils.cpp | 349 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { in gpt2_set_boot_chain() 372 PUT_4_BYTES(gpt_header + PARTITION_CRC_OFFSET, crc); in gpt2_set_boot_chain() 1441 disk->pentry_arr_crc = GET_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1443 PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1493 PUT_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET, disk->pentry_arr_crc); in gpt_disk_update_crc() 1495 PUT_4_BYTES(disk->hdr_bak + PARTITION_CRC_OFFSET, in gpt_disk_update_crc()
|
/device/google/crosshatch/gpt-utils/ |
D | gpt-utils.h | 53 #define PARTITION_CRC_OFFSET 88 macro
|
D | gpt-utils.cpp | 342 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { in gpt2_set_boot_chain() 365 PUT_4_BYTES(gpt_header + PARTITION_CRC_OFFSET, crc); in gpt2_set_boot_chain() 1434 disk->pentry_arr_crc = GET_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1436 PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1486 PUT_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET, disk->pentry_arr_crc); in gpt_disk_update_crc() 1488 PUT_4_BYTES(disk->hdr_bak + PARTITION_CRC_OFFSET, in gpt_disk_update_crc()
|
/device/google/sunfish/gpt-utils/ |
D | gpt-utils.h | 53 #define PARTITION_CRC_OFFSET 88 macro
|
D | gpt-utils.cpp | 349 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { in gpt2_set_boot_chain() 372 PUT_4_BYTES(gpt_header + PARTITION_CRC_OFFSET, crc); in gpt2_set_boot_chain() 1441 disk->pentry_arr_crc = GET_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1443 PARTITION_CRC_OFFSET); in gpt_disk_get_disk_info() 1493 PUT_4_BYTES(disk->hdr + PARTITION_CRC_OFFSET, disk->pentry_arr_crc); in gpt_disk_update_crc() 1495 PUT_4_BYTES(disk->hdr_bak + PARTITION_CRC_OFFSET, in gpt_disk_update_crc()
|