Home
last modified time | relevance | path

Searched refs:gptEntry (Results 1 – 1 of 1) sorted by relevance

/rkdeveloptool/
H A Dmain.cpp537 gpt_entry *gptEntry = NULL; in get_lba_from_gpt() local
544 gptEntry = (gpt_entry *)(master + 2 * SECTOR_SIZE + i * GPT_ENTRY_SIZE); in get_lba_from_gpt()
545 if (memcmp(zerobuf, (u8 *)gptEntry, GPT_ENTRY_SIZE) == 0) in get_lba_from_gpt()
548 if (gptEntry->partition_name[j] != pszName[j]) in get_lba_from_gpt()
550 if (gptEntry->partition_name[j] != 0) in get_lba_from_gpt()
558 *lba = le64_to_cpu(gptEntry->starting_lba); in get_lba_from_gpt()
559 if (gptMasterHead->last_usable_lba == gptEntry->ending_lba) in get_lba_from_gpt()
562 *lba_end = le64_to_cpu(gptEntry->ending_lba); in get_lba_from_gpt()
666 gpt_entry *gptEntry = (gpt_entry *)(gpt + 2 * SECTOR_SIZE); in create_gpt_buffer() local
696 gen_rand_uuid(gptEntry->partition_type_guid.raw); in create_gpt_buffer()
[all …]