Home
last modified time | relevance | path

Searched refs:HEADER_CRC_OFFSET (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/msm8998/gpt-utils/
Dgpt-utils.cpp368 PUT_4_BYTES(gpt_header + HEADER_CRC_OFFSET, 0); in gpt2_set_boot_chain()
370 PUT_4_BYTES(gpt_header + HEADER_CRC_OFFSET, crc); in gpt2_set_boot_chain()
438 crc = GET_4_BYTES(gpt_header + HEADER_CRC_OFFSET); in gpt_get_state()
440 PUT_4_BYTES(gpt_header + HEADER_CRC_OFFSET, 0); in gpt_get_state()
509 PUT_4_BYTES(gpt_header + HEADER_CRC_OFFSET, 0); in gpt_set_state()
511 PUT_4_BYTES(gpt_header + HEADER_CRC_OFFSET, crc); in gpt_set_state()
1493 PUT_4_BYTES(disk->hdr + HEADER_CRC_OFFSET, 0); in gpt_disk_update_crc()
1494 PUT_4_BYTES(disk->hdr_bak + HEADER_CRC_OFFSET, 0); in gpt_disk_update_crc()
1497 PUT_4_BYTES(disk->hdr + HEADER_CRC_OFFSET, disk->hdr_crc); in gpt_disk_update_crc()
1498 PUT_4_BYTES(disk->hdr_bak + HEADER_CRC_OFFSET, disk->hdr_bak_crc); in gpt_disk_update_crc()
Dgpt-utils.h45 #define HEADER_CRC_OFFSET 16 macro