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()
395 gpt_head->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); in part_efi_repair()
419 gpt_head->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); in part_efi_repair()
643 gpt_e[i].starting_lba = cpu_to_le64(start); in gpt_fill_pte()
654 gpt_e[i].ending_lba = cpu_to_le64(offset - 1); in gpt_fill_pte()
766 gpt_h->signature = cpu_to_le64(GPT_HEADER_SIGNATURE); in gpt_fill_header()
769 gpt_h->my_lba = cpu_to_le64(1); in gpt_fill_header()
770 gpt_h->alternate_lba = cpu_to_le64(dev_desc->lba - 1); in gpt_fill_header()
771 gpt_h->last_usable_lba = cpu_to_le64(dev_desc->lba - 34); in gpt_fill_header()
773 cpu_to_le64(partition_entries_offset(dev_desc)); in gpt_fill_header()
775 cpu_to_le64(le64_to_cpu(gpt_h->partition_entry_lba) + 32); in gpt_fill_header()
966 != cpu_to_le64(dev_desc->lba) && in is_valid_gpt_buf()