Home
last modified time | relevance | path

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

/trusted-firmware-a-latest/drivers/partition/
Dgpt.c43 int parse_gpt_entry(gpt_entry_t *gpt_entry, partition_entry_t *entry) in parse_gpt_entry() argument
47 assert((gpt_entry != NULL) && (entry != NULL)); in parse_gpt_entry()
49 if ((gpt_entry->first_lba == 0) && (gpt_entry->last_lba == 0)) { in parse_gpt_entry()
54 result = unicode_to_ascii(gpt_entry->name, (uint8_t *)entry->name); in parse_gpt_entry()
58 entry->start = (uint64_t)gpt_entry->first_lba * in parse_gpt_entry()
60 entry->length = (uint64_t)(gpt_entry->last_lba - in parse_gpt_entry()
61 gpt_entry->first_lba + 1) * in parse_gpt_entry()
63 guidcpy(&entry->part_guid, &gpt_entry->unique_uuid); in parse_gpt_entry()
64 guidcpy(&entry->type_guid, &gpt_entry->type_uuid); in parse_gpt_entry()
/trusted-firmware-a-latest/include/drivers/partition/
Dgpt.h17 typedef struct gpt_entry { struct
46 int parse_gpt_entry(gpt_entry_t *gpt_entry, partition_entry_t *entry); argument