Searched defs:LastDevicePathNode (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/PartitionDxe/
H A DMbr.c135 EFI_DEVICE_PATH_PROTOCOL *LastDevicePathNode; local
171 LastDevicePathNode = NULL;
175 LastDevicePathNode = DevicePathNode;
179 if (LastDevicePathNode != NULL) {
180 if (DevicePathType (LastDevicePathNode) == MEDIA_DEVICE_PATH &&
181 DevicePathSubType (LastDevicePathNode) == MEDIA_HARDDRIVE_DP
183 CopyMem (&ParentHdDev, LastDevicePathNode, sizeof (ParentHdDev));
185 LastDevicePathNode = NULL;
198 if (LastDevicePathNode == NULL) {
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/PartitionDxe/
H A DMbr.c161 EFI_DEVICE_PATH_PROTOCOL *LastDevicePathNode; local
198 LastDevicePathNode = NULL;
202 LastDevicePathNode = DevicePathNode;
206 if (LastDevicePathNode != NULL) {
207 if (DevicePathType (LastDevicePathNode) == MEDIA_DEVICE_PATH &&
208 DevicePathSubType (LastDevicePathNode) == MEDIA_HARDDRIVE_DP
210 CopyMem (&ParentHdDev, LastDevicePathNode, sizeof (ParentHdDev));
212 LastDevicePathNode = NULL;
225 if (LastDevicePathNode == NULL) {

Completed in 285 milliseconds