Lines Matching refs:drive
78 struct drive_path drive;
405 if (dpath->drive.mbr_type != MBR_TYPE_EFI_PARTITION_TABLE_HEADER)
409 if (dpath->drive.signature_type != SIGNATURE_TYPE_GUID)
413 efi_guid_to_id128(dpath->drive.signature, &p_uuid);
499 option->path_len = offsetof(struct device_path, drive) + sizeof(struct drive_path) +
509 devicep->length = offsetof(struct device_path, drive) + sizeof(struct drive_path);
510 devicep->drive.part_nr = part;
511 devicep->drive.part_start = pstart;
512 devicep->drive.part_size = psize;
513 devicep->drive.signature_type = SIGNATURE_TYPE_GUID;
514 devicep->drive.mbr_type = MBR_TYPE_EFI_PARTITION_TABLE_HEADER;
515 id128_to_efi_guid(part_uuid, devicep->drive.signature);