Lines Matching refs:entry
175 struct GPT_entry_raw *entry = table->entries;
182 for (n = 0; n < table->header->entries_count; n++, entry++) {
183 if (entry->type_guid[0] == 0)
186 name[m] = entry->name[m] & 127;
190 n + 1, entry->first_lba, entry->last_lba, name);
195 struct GPT_entry_raw *entry = table->entries;
211 for (n = 0; n < table->header->entries_count; n++, entry++) {
212 uint64_t size = entry->last_lba - entry->first_lba + 1;
214 if (entry->type_guid[0] == 0)
217 name[m] = entry->name[m] & 127;
222 snprintf(temp_guid, 17, "%s", entry->partition_guid);
224 printf(" first_lba %"PRId64"\n", entry->first_lba);
226 if (entry->flags & GPT_FLAG_SYSTEM)
228 if (entry->flags & GPT_FLAG_BOOTABLE)
230 if (entry->flags & GPT_FLAG_READONLY)
232 if (entry->flags & GPT_FLAG_DOAUTOMOUNT)
254 fprintf(stderr, "Wrong entry format");
264 fprintf(stderr, "Wrong entry format");
288 struct GPT_entry_raw *entry;
295 entry = GPT_get_pointer_by_name(table, name);
297 if (!entry) {
301 GPT_delete_entry(table, entry);