Home
last modified time | relevance | path

Searched refs:vtoc64 (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c431 struct dk_gpt *vtoc64; in print_map() local
434 vtoc64 = map->etoc; in print_map()
436 for (i = 0; i < vtoc64->efi_nparts; i++) { in print_map()
442 ((int)vtoc64->efi_parts[i].p_tag != in print_map()
447 print_efi_partition(vtoc64, i, want_header); in print_map()
H A Dlabel.c259 struct dk_gpt *vtoc64; in write_label() local
284 vtoc64 = cur_parts->etoc; in write_label()
285 efi_err_check(vtoc64); in write_label()
286 if (efi_write(cur_file, vtoc64) != 0) { in write_label()
652 struct dk_gpt *vtoc64; in read_efi_label() local
655 if (efi_alloc_and_read(fd, &vtoc64) < 0) { in read_efi_label()
658 if (vtoc64_to_label(label, vtoc64) != 0) { in read_efi_label()
662 efi_free(vtoc64); in read_efi_label()
H A Dmenu_command.c1570 struct dk_gpt *vtoc64; in c_label() local
1706 if (SMI_vtoc_to_EFI(cur_file, &vtoc64) == -1) { in c_label()
1709 if (efi_write(cur_file, vtoc64) != 0) { in c_label()
1710 efi_err_check(vtoc64); in c_label()
1732 cur_parts->etoc = vtoc64; in c_label()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_menu.c1123 struct dk_gpt *vtoc64; in process_b_flag() local
1127 if (efi_alloc_and_read(fd, &vtoc64) < 0) { in process_b_flag()
1132 if (efi_auto_sense(fd, &vtoc64) < 0) { in process_b_flag()
1138 for (nparts = 0; nparts < vtoc64->efi_nparts; in process_b_flag()
1140 if (vtoc64->efi_parts[nparts].p_tag == in process_b_flag()
1143 vtoc64->efi_parts[nparts].p_name, label, in process_b_flag()
1148 if (efi_write(fd, vtoc64) != 0) { in process_b_flag()
1149 (void) efi_err_check(vtoc64); in process_b_flag()