Lines Matching refs:blk_dwrite
432 if (blk_dwrite(dev_desc, blk * sector, sector, gpt_head) != sector) { in part_efi_repair()
440 if (blk_dwrite(dev_desc, blk * sector, (lbaint_t)blk_cnt, gpt_pte) != in part_efi_repair()
460 if (blk_dwrite(dev_desc, 1 * sector, sector, gpt_head) != sector) { in part_efi_repair()
478 if (blk_dwrite(dev_desc, blk * sector, (lbaint_t)blk_cnt, gpt_pte) != in part_efi_repair()
591 if (blk_dwrite(dev_desc, 0, 1, p_mbr) != 1) { in set_protective_mbr()
625 if (blk_dwrite(dev_desc, 1 * sector, sector, gpt_h) != sector) in write_gpt_table()
628 if (blk_dwrite(dev_desc, le64_to_cpu(gpt_h->partition_entry_lba * sector), in write_gpt_table()
634 if (blk_dwrite(dev_desc, (lbaint_t)(le64_to_cpu(gpt_h->last_usable_lba) in write_gpt_table()
638 if (blk_dwrite(dev_desc, (lbaint_t)le64_to_cpu(gpt_h->my_lba) * sector, 1, in write_gpt_table()
1074 if (blk_dwrite(dev_desc, lba, cnt, buf) != cnt) { in write_mbr_and_gpt_partitions()
1083 if (blk_dwrite(dev_desc, lba, cnt, gpt_h) != cnt) { in write_mbr_and_gpt_partitions()
1091 if (blk_dwrite(dev_desc, lba, cnt, gpt_e) != cnt) { in write_mbr_and_gpt_partitions()
1102 if (blk_dwrite(dev_desc, lba, cnt, gpt_e) != cnt) { in write_mbr_and_gpt_partitions()
1110 if (blk_dwrite(dev_desc, lba, cnt, gpt_h) != cnt) { in write_mbr_and_gpt_partitions()