Searched defs:efi_label (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c169 struct dk_gpt *efi_label = cur_parts->etoc; local
178 delta = efi_label->efi_last_lba - efi_label->efi_altern_lba;
179 nparts = efi_label->efi_nparts;
182 efi_label->efi_parts[nparts - 1].p_start += delta;
183 efi_label->efi_last_u_lba += delta;
184 efi_label->efi_altern_lba = cur_parts->etoc->efi_last_lba;
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c765 struct dk_gpt *efi_label; local
772 rval = efi_alloc_and_read(fd, &efi_label);
778 for (i = 0; i < efi_label->efi_nparts - 2; i ++) {
779 if (pl_start < efi_label->efi_parts[i].p_start) {
780 pl_start = efi_label->efi_parts[i].p_start;
784 pl_size = efi_label->efi_parts[phy_last_slice].p_size;
791 if ((efi_label->efi_altern_lba == 1) || (efi_label->efi_altern_lba
792 >= efi_label->efi_last_lba)) {
797 efi_free(efi_label);
[all...]

Completed in 63 milliseconds