Lines Matching refs:hddp
418 struct efi_device_path_hard_drive_path *hddp = buf; in dp_part_fill() local
420 hddp->dp.type = DEVICE_PATH_TYPE_MEDIA_DEVICE; in dp_part_fill()
421 hddp->dp.sub_type = DEVICE_PATH_SUB_TYPE_HARD_DRIVE_PATH; in dp_part_fill()
422 hddp->dp.length = sizeof(*hddp); in dp_part_fill()
423 hddp->partition_number = part - 1; in dp_part_fill()
424 hddp->partition_start = info.start; in dp_part_fill()
425 hddp->partition_end = info.size; in dp_part_fill()
427 hddp->partmap_type = 2; in dp_part_fill()
429 hddp->partmap_type = 1; in dp_part_fill()
430 hddp->signature_type = desc->sig_type; in dp_part_fill()
431 if (hddp->signature_type != 0) in dp_part_fill()
432 memcpy(hddp->partition_signature, &desc->guid_sig, in dp_part_fill()
433 sizeof(hddp->partition_signature)); in dp_part_fill()
435 buf = &hddp[1]; in dp_part_fill()