Home
last modified time | relevance | path

Searched refs:efi_lbasize (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c169 return ((EFI_MIN_RESV_SIZE * DEV_BSIZE + efi->efi_lbasize - 1) / in efi_reserved_sectors()
170 efi->efi_lbasize); in efi_reserved_sectors()
214 vptr->efi_lbasize = lbsize; in efi_alloc_and_init()
564 vtoc->efi_lbasize = disk_info.dki_lbsize; in efi_read()
732 len = (vtoc->efi_lbasize == 0) ? sizeof (mb) : vtoc->efi_lbasize; in write_pmbr()
1038 nblocks = NBLOCKS(efi_label->efi_nparts, efi_label->efi_lbasize); in efi_use_whole_disk()
1039 if ((nblocks * efi_label->efi_lbasize) < EFI_MIN_ARRAY_SIZE + in efi_use_whole_disk()
1040 efi_label->efi_lbasize) { in efi_use_whole_disk()
1041 nblocks = EFI_MIN_ARRAY_SIZE / efi_label->efi_lbasize + 1; in efi_use_whole_disk()
1134 if (NBLOCKS(vtoc->efi_nparts, vtoc->efi_lbasize) < 34) { in efi_write()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Defi_partition.h217 uint_t efi_lbasize; /* size of block in bytes */ member
/illumos-gate/usr/src/cmd/format/
H A Dlabel.c700 lmap->efi_lbasize = vtoc->efi_lbasize; in vtoc64_to_label()
H A Dmenu_command.c471 cur_blksz = efi_info.e_parts->efi_lbasize; in c_type()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c4505 dk_ioc.dki_length = EFI_MIN_ARRAY_SIZE + efi_vtoc->efi_lbasize;
4536 dk_ioc.dki_length -= efi_vtoc->efi_lbasize;
4538 efi_vtoc->efi_lbasize);
4555 dk_ioc.dki_length = efi_vtoc->efi_lbasize;
4557 efi_vtoc->efi_lbasize);
/illumos-gate/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c620 (void) printf("* %11u bytes/sector\n", efi->efi_lbasize); in puttable64()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c4675 if (boot_size % vtoc->efi_lbasize != 0) { in zpool_label_disk()
4678 vtoc->efi_lbasize); in zpool_label_disk()
4702 ((vtoc->efi_lbasize == 512 && in zpool_label_disk()
4704 (vtoc->efi_lbasize == 4096 && in zpool_label_disk()
4714 start_block += boot_size / vtoc->efi_lbasize; in zpool_label_disk()
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c442 (void) printf("* %d bytes/sector\n", efi->efi_lbasize); in display64()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c1082 gpt->efi_parts[i].p_size, gpt->efi_lbasize); in check_slices()