Lines Matching refs:DevicePathInstance
554 instance specified by DevicePathInstance to a copy of the device path specified
558 If DevicePath is NULL, then a copy if DevicePathInstance is returned.
559 If DevicePathInstance is NULL, then NULL is returned.
560 If DevicePath or DevicePathInstance is invalid, then NULL is returned.
567 @param DevicePathInstance A pointer to a device path instance.
576 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL
585 return DuplicateDevicePath (DevicePathInstance);
588 if (DevicePathInstance == NULL) {
592 if (!IsDevicePathValid (DevicePath, 0) || !IsDevicePathValid (DevicePathInstance, 0)) {
597 InstanceSize = GetDevicePathSize (DevicePathInstance);
610 CopyMem (TempDevicePath, DevicePathInstance, InstanceSize);