Lines Matching refs:gpe
134 vd_efi_swap_gpe(efi_gpe_t *gpe, int nparts)
139 UUID_LE_CONVERT(gpe[i].efi_gpe_PartitionTypeGUID,
140 gpe[i].efi_gpe_PartitionTypeGUID);
141 UUID_LE_CONVERT(gpe[i].efi_gpe_UniquePartitionGUID,
142 gpe[i].efi_gpe_UniquePartitionGUID);
143 gpe[i].efi_gpe_StartingLBA = LE_64(gpe[i].efi_gpe_StartingLBA);
144 gpe[i].efi_gpe_EndingLBA = LE_64(gpe[i].efi_gpe_EndingLBA);
145 gpe[i].efi_gpe_Attributes.PartitionAttrs =
146 LE_16(gpe[i].efi_gpe_Attributes.PartitionAttrs);
148 gpe[i].efi_gpe_PartitionName[j] =
149 LE_16(gpe[i].efi_gpe_PartitionName[j]);
212 efi_gpe_t *gpe = NULL;
301 gpe = kmem_zalloc(gpe_len, KM_SLEEP);
317 bcopy(data + 1, gpe, sizeof (efi_gpe_t));
321 dk_efi.dki_data = (efi_gpt_t *)gpe;
331 vd_efi_swap_gpe(gpe, nparts);
334 *efi_gpe = gpe;
342 if (gpe != NULL)
343 kmem_free(gpe, gpe_len);
355 vd_efi_free(vd_efi_dev_t *dev, efi_gpt_t *gpt, efi_gpe_t *gpe)
357 kmem_free(gpe, VD_EFI_GPE_LEN(dev,