Home
last modified time | relevance | path

Searched refs:efi_last_u_lba (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/lib/libefi/common/
H A Drdwr_efi.c194 vptr->efi_last_u_lba = vptr->efi_last_lba - nblocks; in efi_alloc_and_init()
520 vtoc->efi_last_u_lba = LE_64(efi->efi_gpt_LastUsableLBA); in efi_read()
699 (vtoc->efi_parts[i].p_start > vtoc->efi_last_u_lba)) { in check_input()
708 vtoc->efi_last_u_lba); in check_input()
717 vtoc->efi_last_u_lba + 1)) { in check_input()
727 vtoc->efi_last_u_lba); in check_input()
807 if (pl_start + pl_size - 1 == efi_label->efi_last_u_lba - in efi_use_whole_disk()
820 efi_label->efi_last_u_lba += efi_label->efi_last_lba in efi_use_whole_disk()
902 lba_backup_gpt_hdr = vtoc->efi_last_u_lba + 1 + nblocks; in efi_write()
916 efi->efi_gpt_LastUsableLBA = LE_64(vtoc->efi_last_u_lba); in efi_write()
[all …]
/titanic_41/usr/src/cmd/format/
H A Dlabel.c241 efi->efi_parts[0].p_size = efi->efi_last_u_lba - efi->efi_first_u_lba in SMI_vtoc_to_EFI()
258 efi->efi_last_u_lba - EFI_MIN_RESV_SIZE + 1; in SMI_vtoc_to_EFI()
721 lmap->efi_last_u_lba = vtoc->efi_last_u_lba; in vtoc64_to_label()
1035 (vtoc->efi_parts[i].p_start > vtoc->efi_last_u_lba)) { in err_check()
1043 vtoc->efi_last_u_lba); in err_check()
1050 vtoc->efi_last_u_lba + 1)) { in err_check()
1059 vtoc->efi_last_u_lba); in err_check()
H A Dmenu_partition.c183 efi_label->efi_last_u_lba += delta; in p_expand()
419 cur_parts->etoc->efi_last_u_lba - EFI_MIN_RESV_SIZE - in p_print()
491 ncyl2_digits = ndigits(map->efi_last_u_lba); in print_efi_partition()
H A Dmodify_partition.c569 ioparam.io_bounds.upper = map->efi_last_u_lba;
592 map->efi_parts[float_part].p_size = map->efi_last_u_lba -
604 map->efi_parts[i].p_start = map->efi_last_u_lba -
H A Dio.c1520 cur_parts->etoc->efi_last_u_lba);
1522 (cur_parts->etoc->efi_last_u_lba * cur_blksz)/
1525 (cur_parts->etoc->efi_last_u_lba * cur_blksz)/
1528 (cur_parts->etoc->efi_last_u_lba * cur_blksz)/
1622 if (blokno > cur_parts->etoc->efi_last_u_lba) {
1625 blokno, cur_parts->etoc->efi_last_u_lba);
H A Dpartition.c161 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_u_lba; in change_partition()
175 ioparam.io_bounds.upper = cur_parts->etoc->efi_last_u_lba; in change_partition()
H A Dmenu_command.c572 cur_parts->etoc->efi_last_u_lba = maxLBA - 34; in c_type()
2087 cur_parts->etoc->efi_last_u_lba); in c_verify_efi()
H A Dauto_sense.c301 vtoc->efi_parts[0].p_size = vtoc->efi_last_u_lba - vtoc->efi_first_u_lba in auto_efi_sense()
318 vtoc->efi_last_u_lba - EFI_MIN_RESV_SIZE + 1; in auto_efi_sense()
/titanic_41/usr/src/uts/common/sys/
H A Defi_partition.h200 diskaddr_t efi_last_u_lba; /* last block before backup labels */ member
/titanic_41/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c202 fullsize = efi->efi_last_u_lba; in findfree64()
550 efi->efi_last_u_lba - efi->efi_first_u_lba + 1); in puttable64()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_nameinfo.c114 mdgp->ncyl = (gpt->efi_last_u_lba - gpt->efi_first_u_lba) in meta_efi_to_mdgeom()
138 mdvp->last_lba = gpt->efi_last_u_lba; in meta_efi_to_mdvtoc()
196 (*gpt)->efi_last_u_lba = mdvp->last_lba; in meta_mdvtoc_to_efi()
/titanic_41/usr/src/cmd/fmthard/
H A Dfmthard.c650 lastlba = (*efi)->efi_last_u_lba; in load64()
899 lastlba = (*efi_hdr)->efi_last_u_lba; in vread64()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dmedia.c486 (efip->efi_last_u_lba - p8size) -
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c4525 dk_ioc.dki_lba = efi_vtoc->efi_last_u_lba + 1;
4537 "block %llu; errno %d\n", efi_vtoc->efi_last_u_lba + 1,
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c3879 slice_size = vtoc->efi_last_u_lba + 1; in zpool_label_disk()