/device/linaro/bootloader/arm-trusted-firmware/include/drivers/partition/ |
gpt.h | 29 typedef struct gpt_header { struct
|
/external/avb/examples/uefi/ |
uefi_avb_ops.c | 77 GPTHeader* gpt_header = NULL; local 84 gpt_header = (GPTHeader*)avb_malloc(sizeof(GPTHeader)); 85 if (gpt_header == NULL) { 93 avb_free(gpt_header); 103 gpt_header); 106 avb_free(gpt_header); 117 avb_free(gpt_header); 128 avb_free(gpt_header); 149 avb_free(gpt_header); 157 for (int n = 0; n < gpt_header->entry_count; n++) 409 GPTHeader gpt_header = {{0}}; local [all...] |
/external/u-boot/include/ |
part_efi.h | 91 } __packed gpt_header; typedef in typeref:struct:_gpt_header
|
/device/google/bonito/gpt-utils/ |
gpt-utils.cpp | 290 uint8_t *gpt_header = NULL; local 302 gpt_header = (uint8_t*)malloc(blk_size); 303 if (!gpt_header) { 317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); 324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 325 pentry_size = GET_4_BYTES(gpt_header + PENTRY_SIZE_OFFSET); 327 GET_4_BYTES(gpt_header + PARTITION_COUNT_OFFSET) * pentry_size; 342 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { 349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); 353 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET) 404 uint8_t *gpt_header = NULL; local 470 uint8_t *gpt_header = NULL; local [all...] |
/device/google/crosshatch/gpt-utils/ |
gpt-utils.cpp | 290 uint8_t *gpt_header = NULL; local 302 gpt_header = (uint8_t*)malloc(blk_size); 303 if (!gpt_header) { 317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); 324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 325 pentry_size = GET_4_BYTES(gpt_header + PENTRY_SIZE_OFFSET); 327 GET_4_BYTES(gpt_header + PARTITION_COUNT_OFFSET) * pentry_size; 342 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { 349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); 353 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET) 404 uint8_t *gpt_header = NULL; local 470 uint8_t *gpt_header = NULL; local [all...] |
/device/google/marlin/recovery/gpt-utils/ |
gpt-utils.cpp | 290 uint8_t *gpt_header = NULL; local 302 gpt_header = (uint8_t*)malloc(blk_size); 303 if (!gpt_header) { 317 r = blk_rw(fd, 0, blk_size, gpt_header, blk_size); 324 GET_8_BYTES(gpt_header + PENTRIES_OFFSET) * blk_size; 325 pentry_size = GET_4_BYTES(gpt_header + PENTRY_SIZE_OFFSET); 327 GET_4_BYTES(gpt_header + PARTITION_COUNT_OFFSET) * pentry_size; 342 if (GET_4_BYTES(gpt_header + PARTITION_CRC_OFFSET) != crc) { 349 r = blk_rw(fd, 0, gpt2_header_offset, gpt_header, blk_size); 353 gpt_header_size = GET_4_BYTES(gpt_header + HEADER_SIZE_OFFSET) 404 uint8_t *gpt_header = NULL; local 470 uint8_t *gpt_header = NULL; local [all...] |