Lines Matching refs:entry
83 struct efi_entry entry[EFI_ENTRIES]; member
120 struct efi_entry *entry = ptbl->entry; in add_ptn() local
132 for (n = 0; n < EFI_ENTRIES; n++, entry++) { in add_ptn()
133 if (entry->type_uuid[0]) in add_ptn()
135 memcpy(entry->type_uuid, partition_type_uuid, 16); in add_ptn()
136 get_uuid(entry->uniq_uuid); in add_ptn()
137 entry->first_lba = first; in add_ptn()
138 entry->last_lba = last; in add_ptn()
140 entry->name[n] = *name++; in add_ptn()
161 struct efi_entry *entry = ptbl->entry; in show() local
168 for (n = 0; n < EFI_ENTRIES; n++, entry++) { in show()
169 if (entry->type_uuid[0] == 0) in show()
172 name[m] = entry->name[m] & 127; in show()
176 n + 1, entry->first_lba, entry->last_lba, name); in show()
182 struct efi_entry *entry = ptbl->entry; in find_next_lba() local
185 for (n = 0; n < EFI_ENTRIES; n++, entry++) { in find_next_lba()
186 if ((entry->last_lba + 1) > a) in find_next_lba()
187 a = entry->last_lba + 1; in find_next_lba()
354 n = crc32(n, (void*) ptbl.entry, sizeof(ptbl.entry)); in main()