Searched refs:PUT_4_BYTES (Results 1 – 1 of 1) sorted by relevance
/hardware/qcom/msm8998/gpt-utils/ |
D | gpt-utils.cpp | 106 #define PUT_4_BYTES(ptr, y) *((uint8_t *)(ptr)) = (y) & 0xff; \ macro 365 PUT_4_BYTES(gpt_header + PARTITION_CRC_OFFSET, crc); in gpt2_set_boot_chain() 368 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() 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() 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() 1493 PUT_4_BYTES(disk->hdr + HEADER_CRC_OFFSET, 0); in gpt_disk_update_crc() [all …]
|