Searched refs:efi_lbasize (Results 1 – 9 of 9) sorted by relevance
169 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 …]
217 uint_t efi_lbasize; /* size of block in bytes */ member
700 lmap->efi_lbasize = vtoc->efi_lbasize; in vtoc64_to_label()
471 cur_blksz = efi_info.e_parts->efi_lbasize; in c_type()
4505 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);
620 (void) printf("* %11u bytes/sector\n", efi->efi_lbasize); in puttable64()
4675 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()
442 (void) printf("* %d bytes/sector\n", efi->efi_lbasize); in display64()
1082 gpt->efi_parts[i].p_size, gpt->efi_lbasize); in check_slices()