Searched refs:last_usable_lba (Results 1 – 10 of 10) 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()
131 if (le64_to_cpu(gpt_h->last_usable_lba) > lastlba) { in validate_gpt_header()133 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()139 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()174 cpu_to_le64(le64_to_cpu(gpt_h->last_usable_lba) + 1); in prepare_backup_gpt_header()392 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->last_usable_lba) in write_gpt_table()413 lbaint_t last_usable_lba = (lbaint_t) in gpt_fill_pte() local414 le64_to_cpu(gpt_h->last_usable_lba); in gpt_fill_pte()457 if (offset > (last_usable_lba + 1)) { in gpt_fill_pte()464 gpt_e[i].ending_lba = gpt_h->last_usable_lba; in gpt_fill_pte()583 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); in gpt_fill_header()
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
87 __le64 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()
55 uint64_t last_usable_lba; member