Home
last modified time | relevance | path

Searched refs:efi_gpt_AlternateLBA (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c709 addr = header->efi_gpt_AlternateLBA * sector_size; in cmd_gpt()
745 mdb_printf("AlternateLBA: %llu\n", header->efi_gpt_AlternateLBA); in cmd_gpt()
754 if (header->efi_gpt_AlternateLBA >= header->efi_gpt_FirstUsableLBA && in cmd_gpt()
755 header->efi_gpt_AlternateLBA <= header->efi_gpt_LastUsableLBA) { in cmd_gpt()
761 header->efi_gpt_AlternateLBA * sector_size) == -1) { in cmd_gpt()
771 if (altheader->efi_gpt_MyLBA != header->efi_gpt_AlternateLBA) { in cmd_gpt()
774 header->efi_gpt_AlternateLBA * sector_size, in cmd_gpt()
778 if (altheader->efi_gpt_AlternateLBA != header->efi_gpt_MyLBA) { in cmd_gpt()
781 header->efi_gpt_AlternateLBA * sector_size, in cmd_gpt()
782 altheader->efi_gpt_AlternateLBA); in cmd_gpt()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdsk_common.c117 gpt->efi_gpt_AlternateLBA = LE_64(gpt->efi_gpt_AlternateLBA); in vd_efi_swap_gpt()
H A Dvds.c5872 gpt->efi_gpt_AlternateLBA = LE_64(vd->vdisk_size - 1); in vd_setup_partition_efi()
/illumos-gate/usr/src/uts/common/sys/
H A Defi_partition.h69 diskaddr_t efi_gpt_AlternateLBA; member
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c568 vtoc->efi_altern_lba = LE_64(efi->efi_gpt_AlternateLBA); in efi_read()
1164 efi->efi_gpt_AlternateLBA = LE_64(lba_backup_gpt_hdr); in efi_write()
1269 efi->efi_gpt_AlternateLBA = LE_64(1ULL); in efi_write()
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c2718 e->efi_gpt_AlternateLBA = LE_64(e->efi_gpt_AlternateLBA);
2907 alternate_lba = ((efi_gpt_t *)buf)->efi_gpt_AlternateLBA;