Searched defs:vtoc64 (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_menu.c1123 struct dk_gpt *vtoc64; local
1127 if (efi_alloc_and_read(fd, &vtoc64) < 0) {
1132 if (efi_auto_sense(fd, &vtoc64) < 0) {
1138 for (nparts = 0; nparts < vtoc64->efi_nparts;
1140 if (vtoc64->efi_parts[nparts].p_tag ==
1142 if (vtoc64->efi_parts[nparts].p_name) {
1144 vtoc64->efi_parts[nparts].p_name, label,
1150 if (efi_write(fd, vtoc64) != 0) {
1151 (void) efi_err_check(vtoc64);
/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c440 struct dk_gpt *vtoc64; local
443 vtoc64 = map->etoc;
445 for (i = 0; i < vtoc64->efi_nparts; i++) {
451 ((int)vtoc64->efi_parts[i].p_tag !=
456 print_efi_partition(vtoc64, i, want_header);
H A Dlabel.c277 struct dk_gpt *vtoc64; local
302 vtoc64 = cur_parts->etoc;
303 err_check(vtoc64);
304 if (efi_write(cur_file, vtoc64) != 0) {
670 struct dk_gpt *vtoc64; local
673 if (efi_alloc_and_read(fd, &vtoc64) < 0) {
676 if (vtoc64_to_label(label, vtoc64) != 0) {
680 efi_free(vtoc64);
H A Dmenu_command.c1562 struct dk_gpt *vtoc64; local
1698 if (SMI_vtoc_to_EFI(cur_file, &vtoc64) == -1) {
1701 if (efi_write(cur_file, vtoc64) != 0) {
1702 err_check(vtoc64);
1724 cur_parts->etoc = vtoc64;

Completed in 52 milliseconds