dk_part
lmap = (struct dk_gpt *) calloc(1, (sizeof (struct dk_part) *
size = sizeof (struct dk_part) * nparts +
struct dk_part *part;
struct dk_part **list;
struct dk_part **sorted;
sorted = SAFE_CALLOC(sizeof (struct dk_part), efi->efi_nparts + 1);
struct dk_part *resv_p = NULL;
struct dk_part *last_p = NULL;
sizeof (struct dk_part))
sizeof (struct dk_part) * (nparts - 1);
(int) sizeof (struct dk_part) * (nparts - 1);
(int) sizeof (struct dk_part) *
efi_use_whole_disk_get_last(struct dk_gpt *l, struct dk_part **lastp_p,
struct dk_part *last_p = NULL;
struct dk_part *resv_p = NULL;
struct dk_part *p = &l->efi_parts[i];
struct dk_part efi_parts[1]; /* array of partitions */