Lines Matching defs:list
22 static partition_entry_list_t list;
32 len = snprintf(name, EFI_NAMELEN, "%s", list.list[i].name);
37 VERBOSE("%d: %s %" PRIx64 "-%" PRIx64 "\n", i + 1, name, list.list[i].start,
38 list.list[i].start + list.list[i].length - 4);
136 list.entry_count = header->list_num;
137 if (list.entry_count > PLAT_PARTITION_MAX_ENTRIES) {
138 list.entry_count = PLAT_PARTITION_MAX_ENTRIES;
190 list.entry_count = MBR_PRIMARY_ENTRY_NUMBER;
192 for (i = 0U; i < list.entry_count; i++) {
194 list.list[i].start = mbr_entry.first_lba * 512;
195 list.list[i].length = mbr_entry.sector_nums * 512;
196 list.list[i].name[0] = mbr_entry.type;
225 * entry and store them in the list of partition table entries.
242 for (i = 0U; i < list.entry_count; i++) {
250 result = parse_gpt_entry(&entry, &list.list[i]);
276 list.entry_count = i;
277 dump_entries(list.entry_count);
370 * if its corrupted try loading backup GPT header and then retrieve list
461 for (i = 0U; i < list.entry_count; i++) {
462 if (strcmp(name, list.list[i].name) == 0) {
463 return &list.list[i];
477 for (i = 0U; i < list.entry_count; i++) {
478 if (guidcmp(type_guid, &list.list[i].type_guid) == 0) {
479 return &list.list[i];
496 for (i = 0U; i < list.entry_count; i++) {
497 if (guidcmp(type_guid, &list.list[i].type_guid) == 0) {
499 return &list.list[i];
516 for (i = 0U; i < list.entry_count; i++) {
517 if (guidcmp(part_guid, &list.list[i].part_guid) == 0) {
518 return &list.list[i];
526 * Return entry to the list of partition table entries.
530 return &list;