Home
last modified time | relevance | path

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

/arm-trusted-firmware-2.8.0/drivers/partition/
A Dgpt.c41 int parse_gpt_entry(gpt_entry_t *gpt_entry, partition_entry_t *entry) in parse_gpt_entry() argument
45 assert((gpt_entry != NULL) && (entry != NULL)); in parse_gpt_entry()
47 if ((gpt_entry->first_lba == 0) && (gpt_entry->last_lba == 0)) { in parse_gpt_entry()
52 result = unicode_to_ascii(gpt_entry->name, (uint8_t *)entry->name); in parse_gpt_entry()
56 entry->start = (uint64_t)gpt_entry->first_lba * in parse_gpt_entry()
58 entry->length = (uint64_t)(gpt_entry->last_lba - in parse_gpt_entry()
59 gpt_entry->first_lba + 1) * in parse_gpt_entry()
61 guidcpy(&entry->part_guid, &gpt_entry->unique_uuid); in parse_gpt_entry()
62 guidcpy(&entry->type_guid, &gpt_entry->type_uuid); in parse_gpt_entry()
/arm-trusted-firmware-2.8.0/include/drivers/partition/
A Dgpt.h21 typedef struct gpt_entry { struct
50 int parse_gpt_entry(gpt_entry_t *gpt_entry, partition_entry_t *entry); argument

Completed in 14 milliseconds