Lines Matching refs:lbaint_t
81 static int validate_gpt_header(gpt_header *gpt_h, lbaint_t lba, in validate_gpt_header()
82 lbaint_t lastlba) in validate_gpt_header()
280 info->start = (lbaint_t)le64_to_cpu(gpt_pte[part - 1].starting_lba); in part_get_info_efi()
282 info->size = (lbaint_t)le64_to_cpu(gpt_pte[part - 1].ending_lba) + 1 in part_get_info_efi()
392 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->last_usable_lba) in write_gpt_table()
396 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->my_lba), 1, in write_gpt_table()
412 lbaint_t offset = (lbaint_t)le64_to_cpu(gpt_h->first_usable_lba); in gpt_fill_pte()
413 lbaint_t last_usable_lba = (lbaint_t) in gpt_fill_pte()
435 lbaint_t start = partitions[i].start; in gpt_fill_pte()
436 lbaint_t size = partitions[i].size; in gpt_fill_pte()
798 lbaint_t lba; in write_mbr_and_gpt_partitions()
933 if (blk_dread(dev_desc, (lbaint_t)lba, 1, pgpt_head) != 1) { in is_gpt_valid()
944 if (validate_gpt_header(pgpt_head, (lbaint_t)lba, dev_desc->lba)) in is_gpt_valid()
1022 lbaint_t blk; in alloc_read_gpt_entries()
1053 if (blk_dread(dev_desc, blk, (lbaint_t)blk_cnt, pte) != blk_cnt) { in alloc_read_gpt_entries()