Lines Matching refs:blk_dwrite
400 if (blk_dwrite(dev_desc, dev_desc->lba - 1, 1, gpt_head) != 1) { in part_efi_repair()
408 if (blk_dwrite(dev_desc, blk, (lbaint_t)blk_cnt, gpt_pte) != in part_efi_repair()
424 if (blk_dwrite(dev_desc, 1, 1, gpt_head) != 1) { in part_efi_repair()
432 if (blk_dwrite(dev_desc, blk, (lbaint_t)blk_cnt, gpt_pte) != in part_efi_repair()
539 if (blk_dwrite(dev_desc, 0, 1, p_mbr) != 1) { in set_protective_mbr()
571 if (blk_dwrite(dev_desc, 1, 1, gpt_h) != 1) in write_gpt_table()
574 if (blk_dwrite(dev_desc, le64_to_cpu(gpt_h->partition_entry_lba), in write_gpt_table()
580 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->last_usable_lba) in write_gpt_table()
584 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->my_lba), 1, in write_gpt_table()
1011 if (blk_dwrite(dev_desc, lba, cnt, buf) != cnt) { in write_mbr_and_gpt_partitions()
1020 if (blk_dwrite(dev_desc, lba, cnt, gpt_h) != cnt) { in write_mbr_and_gpt_partitions()
1028 if (blk_dwrite(dev_desc, lba, cnt, gpt_e) != cnt) { in write_mbr_and_gpt_partitions()
1039 if (blk_dwrite(dev_desc, lba, cnt, gpt_e) != cnt) { in write_mbr_and_gpt_partitions()
1047 if (blk_dwrite(dev_desc, lba, cnt, gpt_h) != cnt) { in write_mbr_and_gpt_partitions()