Searched refs:last_usable_lba (Results 1 – 7 of 7) sorted by relevance
127 if (h->first_usable_lba > h->last_usable_lba) in CheckHeader()131 if (h->last_usable_lba >= streaming_drive_sectors) { in CheckHeader()145 if (h->last_usable_lba >= in CheckHeader()183 (entry->ending_lba > h->last_usable_lba) || in CheckEntries()223 if (h1->last_usable_lba != h2->last_usable_lba) in HeaderFieldsSame()
85 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - GPT_HEADER_SECTORS - in GptCreate()89 h->last_usable_lba = (drive->gpt.streaming_drive_sectors - 1); in GptCreate()
863 (a->last_usable_lba == b->last_usable_lba) && in IsSynonymous()919 target->last_usable_lba = source->last_usable_lba; in CopySynonymousParts()
80 printf("%sLast LBA: %lld\n", indent, (long long)header->last_usable_lba); in HeaderDetails()
84 uint64_t last_usable_lba; member
171 header->last_usable_lba = DEFAULT_DRIVE_SECTORS - 1 - 32 - 1; /* 433 */ in BuildTestGptData()326 h3.last_usable_lba++; in HeaderSameTest()658 h1->last_usable_lba = cases[i].primary_last_usable_lba; in FirstUsableLbaAndLastUsableLbaTest()661 h2->last_usable_lba = cases[i].secondary_last_usable_lba; in FirstUsableLbaAndLastUsableLbaTest()717 e1[2].ending_lba = h1->last_usable_lba + 1; in ValidEntryTest()
98 h->last_usable_lba = MOCK_SECTOR_COUNT - 2 - CalculateEntriesSectors(h); in SetupGptHeader()