Lines Matching refs:PUT_4_BYTES
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()
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()