Searched refs:lastlba (Results 1 – 2 of 2) sorted by relevance
339 u64 lastlba, pt_size; in is_gpt_valid() local396 lastlba = last_lba(state->disk); in is_gpt_valid()400 (unsigned long long)lastlba); in is_gpt_valid()406 (unsigned long long)lastlba); in is_gpt_valid()465 le64_to_cpu(pte->ending_lba) > lastlba) in is_pte_valid()548 (unsigned long long)lastlba); in compare_gpts()552 if (le64_to_cpu(agpt->my_lba) != lastlba) { in compare_gpts()556 (unsigned long long)lastlba); in compare_gpts()591 u64 lastlba; in find_valid_gpt() local596 lastlba = last_lba(state->disk); in find_valid_gpt()[all …]
79 lbaint_t lastlba) in validate_gpt_header() argument123 if (le64_to_cpu(gpt_h->first_usable_lba) > lastlba) { in validate_gpt_header()125 le64_to_cpu(gpt_h->first_usable_lba), lastlba); in validate_gpt_header()128 if (le64_to_cpu(gpt_h->last_usable_lba) > lastlba) { in validate_gpt_header()130 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()136 le64_to_cpu(gpt_h->last_usable_lba), lastlba); in validate_gpt_header()