Lines Matching refs:pte
291 gpt_entry *pte; in alloc_read_gpt_entries() local
300 pte = kmalloc(count, GFP_KERNEL); in alloc_read_gpt_entries()
301 if (!pte) in alloc_read_gpt_entries()
305 (u8 *) pte, count) < count) { in alloc_read_gpt_entries()
306 kfree(pte); in alloc_read_gpt_entries()
307 pte=NULL; in alloc_read_gpt_entries()
310 return pte; in alloc_read_gpt_entries()
477 is_pte_valid(const gpt_entry *pte, const u64 lastlba) in is_pte_valid() argument
479 if ((!efi_guidcmp(pte->partition_type_guid, NULL_GUID)) || in is_pte_valid()
480 le64_to_cpu(pte->starting_lba) > lastlba || in is_pte_valid()
481 le64_to_cpu(pte->ending_lba) > lastlba) in is_pte_valid()