Lines Matching refs:gpt
40 GptData gpt; in LoadKernel() local
118 gpt.sector_bytes = (uint32_t)blba; in LoadKernel()
119 gpt.streaming_drive_sectors = params->streaming_lba_count; in LoadKernel()
120 gpt.gpt_drive_sectors = params->gpt_lba_count; in LoadKernel()
121 gpt.flags = params->boot_flags & BOOT_FLAG_EXTERNAL_GPT in LoadKernel()
123 if (0 != AllocAndReadGptData(params->disk_handle, &gpt)) { in LoadKernel()
130 if (GPT_SUCCESS != GptInit(&gpt)) { in LoadKernel()
143 GptNextKernelEntry(&gpt, &part_start, &part_size)) { in LoadKernel()
171 shpart->gpt_index = (uint8_t)(gpt.current_kernel + 1); in LoadKernel()
431 good_partition = gpt.current_kernel + 1; in LoadKernel()
432 params->partition_number = gpt.current_kernel + 1; in LoadKernel()
433 GetCurrentKernelUniqueGuid(&gpt, ¶ms->partition_guid); in LoadKernel()
445 GptUpdateKernelEntry(&gpt, GPT_UPDATE_ENTRY_TRY); in LoadKernel()
480 GptUpdateKernelEntry(&gpt, GPT_UPDATE_ENTRY_BAD); in LoadKernel()
492 WriteAndFreeGptData(params->disk_handle, &gpt); in LoadKernel()