Searched refs:gpt_entry (Results 1 – 2 of 2) sorted by relevance
40 int parse_gpt_entry(gpt_entry_t *gpt_entry, partition_entry_t *entry) in parse_gpt_entry() argument44 assert((gpt_entry != NULL) && (entry != NULL)); in parse_gpt_entry()46 if ((gpt_entry->first_lba == 0) && (gpt_entry->last_lba == 0)) { in parse_gpt_entry()51 result = unicode_to_ascii(gpt_entry->name, (uint8_t *)entry->name); in parse_gpt_entry()55 entry->start = (uint64_t)gpt_entry->first_lba * in parse_gpt_entry()57 entry->length = (uint64_t)(gpt_entry->last_lba - in parse_gpt_entry()58 gpt_entry->first_lba + 1) * in parse_gpt_entry()
20 typedef struct gpt_entry { struct49 int parse_gpt_entry(gpt_entry_t *gpt_entry, partition_entry_t *entry); argument