Home
last modified time | relevance | path

Searched refs:lastlba (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/block/partitions/
Defi.c355 u64 lastlba, pt_size; in is_gpt_valid() local
412 lastlba = last_lba(state->bdev); in is_gpt_valid()
413 if (le64_to_cpu((*gpt)->first_usable_lba) > lastlba) { in is_gpt_valid()
416 (unsigned long long)lastlba); in is_gpt_valid()
419 if (le64_to_cpu((*gpt)->last_usable_lba) > lastlba) { in is_gpt_valid()
422 (unsigned long long)lastlba); in is_gpt_valid()
477 is_pte_valid(const gpt_entry *pte, const u64 lastlba) in is_pte_valid() argument
480 le64_to_cpu(pte->starting_lba) > lastlba || in is_pte_valid()
481 le64_to_cpu(pte->ending_lba) > lastlba) in is_pte_valid()
497 compare_gpts(gpt_header *pgpt, gpt_header *agpt, u64 lastlba) in compare_gpts() argument
[all …]