Lines Matching refs:cpu_to_le64
178 gpt_h->alternate_lba = cpu_to_le64(val); in prepare_backup_gpt_header()
180 cpu_to_le64(le64_to_cpu(gpt_h->last_usable_lba) + 1); in prepare_backup_gpt_header()
422 gpt_head->last_usable_lba = cpu_to_le64(dev_desc->rawlba - 6); in part_efi_repair()
425 gpt_head->last_usable_lba = cpu_to_le64(dev_desc->rawlba - 34); in part_efi_repair()
452 gpt_head->last_usable_lba = cpu_to_le64(dev_desc->rawlba - 6); in part_efi_repair()
454 gpt_head->last_usable_lba = cpu_to_le64(dev_desc->rawlba - 34); in part_efi_repair()
697 gpt_e[i].starting_lba = cpu_to_le64(start); in gpt_fill_pte()
708 gpt_e[i].ending_lba = cpu_to_le64(offset - 1); in gpt_fill_pte()
819 gpt_h->signature = cpu_to_le64(GPT_HEADER_SIGNATURE); in gpt_fill_header()
822 gpt_h->my_lba = cpu_to_le64(1); in gpt_fill_header()
823 gpt_h->alternate_lba = cpu_to_le64(dev_desc->rawlba - 1); in gpt_fill_header()
825 cpu_to_le64(partition_entries_offset(dev_desc)); in gpt_fill_header()
827 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->rawlba - 6); in gpt_fill_header()
829 cpu_to_le64(le64_to_cpu(gpt_h->partition_entry_lba) + 4); in gpt_fill_header()
831 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->rawlba - 34); in gpt_fill_header()
833 cpu_to_le64(le64_to_cpu(gpt_h->partition_entry_lba) + 32); in gpt_fill_header()
1024 != cpu_to_le64(dev_desc->rawlba) && in is_valid_gpt_buf()