Lines Matching refs:gpe
2524 efi_gpe_t *gpe = NULL;
2550 if (efi.dki_length < sizeof (gpt) + sizeof (gpe)) {
2568 sgpe = sizeof (*gpe) * unparts;
2569 gpe = kmem_alloc(sgpe, KM_SLEEP);
2571 if (ddi_copyin((void *)(efi.dki_data + 1), gpe, sgpe, mode)) {
2586 gpe[pnum].efi_gpe_EndingLBA = LE_64(
2587 LE_64(gpe[pnum].efi_gpe_StartingLBA) + p_size - 1);
2590 CRC32(crc, gpe, sgpe, -1U, sv_crc32_table);
2602 if ((rc == 0) && ddi_copyout(gpe, efi.dki_data + 1, sgpe, mode)) {
2608 if (gpe) {
2609 kmem_free(gpe, sgpe);