Searched refs:GET_4_BYTES (Results 1 – 1 of 1) sorted by relevance
92 #define GET_4_BYTES(ptr) ((uint32_t) *((uint8_t *)(ptr)) | \ macro325 pentry_size = GET_4_BYTES(gpt_header + PENTRY_SIZE_OFFSET); in gpt2_set_boot_chain()327 GET_4_BYTES(gpt_header + PARTITION_COUNT_OFFSET) * pentry_size; in gpt2_set_boot_chain()342 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { in gpt2_set_boot_chain()353 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET); in gpt2_set_boot_chain()436 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET); in gpt_get_state()438 crc = GET_4_BYTES(gpt_header + HEADER_CRC_OFFSET); in gpt_get_state()506 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET); in gpt_set_state()1275 pentry_size = GET_4_BYTES(hdr + PENTRY_SIZE_OFFSET); in gpt_get_pentry_arr()1277 GET_4_BYTES(hdr + PARTITION_COUNT_OFFSET) * pentry_size; in gpt_get_pentry_arr()[all …]