Searched refs:GPT_HEADER_SECTORS (Results 1 – 8 of 8) sorted by relevance
/external/vboot_reference/cgpt/ |
D | cgpt_create.c | 29 drive->gpt.sector_bytes * GPT_HEADER_SECTORS); in GptCreate() 31 drive->gpt.sector_bytes * GPT_HEADER_SECTORS); in GptCreate() 43 h->alternate_lba = drive->gpt.gpt_drive_sectors - GPT_HEADER_SECTORS; in GptCreate() 63 (GPT_PMBR_SECTORS + GPT_HEADER_SECTORS) * drive->gpt.sector_bytes; in GptCreate() 81 h->entries_lba = h->my_lba + GPT_HEADER_SECTORS; in GptCreate() 85 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - GPT_HEADER_SECTORS - in GptCreate()
|
D | cgpt_show.c | 255 (int)GPT_HEADER_SECTORS, "", "Pri GPT header"); in GptShow() 258 (int)GPT_HEADER_SECTORS, "INVALID", "Pri GPT header"); in GptShow() 303 printf(GPT_FMT, (int)(drive->gpt.gpt_drive_sectors - GPT_HEADER_SECTORS), in GptShow() 304 (int)GPT_HEADER_SECTORS, "", "Sec GPT header"); in GptShow() 307 (int)GPT_HEADER_SECTORS, "INVALID", "Sec GPT header"); in GptShow()
|
D | cgpt_common.c | 165 drive->gpt.sector_bytes, GPT_HEADER_SECTORS)) { in GptLoad() 171 drive->gpt.sector_bytes, GPT_HEADER_SECTORS)) { in GptLoad() 211 drive->gpt.sector_bytes, GPT_HEADER_SECTORS)) { in GptSave() 220 drive->gpt.sector_bytes, GPT_HEADER_SECTORS)) { in GptSave() 960 primary_header->entries_lba = primary_header->my_lba + GPT_HEADER_SECTORS; in RepairHeader()
|
/external/vboot_reference/firmware/lib/ |
D | gpt_misc.c | 116 uint64_t entries_lba = GPT_PMBR_SECTORS + GPT_HEADER_SECTORS; in WriteAndFreeGptData() 159 GPT_HEADER_SECTORS); in WriteAndFreeGptData()
|
/external/vboot_reference/firmware/lib/cgptlib/ |
D | cgptlib_internal.c | 115 if (h->my_lba != gpt_drive_sectors - GPT_HEADER_SECTORS) in CheckHeader() 331 header2->my_lba = gpt->gpt_drive_sectors - GPT_HEADER_SECTORS; in GptRepair() 342 gpt->streaming_drive_sectors - GPT_HEADER_SECTORS; in GptRepair()
|
/external/vboot_reference/firmware/lib/cgptlib/include/ |
D | cgptlib_internal.h | 59 #define GPT_HEADER_SECTORS 1 macro
|
/external/vboot_reference/tests/ |
D | vboot_kernel_tests.c | 90 h->my_lba = MOCK_SECTOR_COUNT - GPT_HEADER_SECTORS; in SetupGptHeader()
|
D | cgptlib_test.c | 250 {512, GPT_PMBR_SECTORS + GPT_HEADER_SECTORS * 2 + in ParameterTests()
|