Lines Matching defs:RemainingDevicePath

164   @param  RemainingDevicePath Optional parameter use to pick a specific child
177 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
208 // Check if RemainingDevicePath is NULL or the End of Device Path Node,
211 if ((RemainingDevicePath == NULL) || IsDevicePathEnd (RemainingDevicePath)) {
213 // Close protocol regardless of RemainingDevicePath validation
224 // If RemainingDevicePath isn't the End of Device Path Node, check its validation
226 Status = ExtPassThru->GetTargetLun (ExtPassThru, RemainingDevicePath, &TargetId, &Lun);
228 // Close protocol regardless of RemainingDevicePath validation
245 // 2. ExtPassThru exists but RemainingDevicePath is invalid.
265 // Test RemainingDevicePath is valid or not.
267 if ((RemainingDevicePath != NULL) && !IsDevicePathEnd (RemainingDevicePath)) {
268 Status = PassThru->GetTargetLun (PassThru, RemainingDevicePath, &ScsiTargetId.ScsiId.Scsi, &Lun);
292 @param RemainingDevicePath Optional parameter use to pick a specific child
305 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
455 if (RemainingDevicePath == NULL) {
457 // If RemainingDevicePath is NULL,
461 } else if (!IsDevicePathEnd (RemainingDevicePath)) {
463 // If RemainingDevicePath isn't the End of Device Path Node,
464 // only scan the specified device by RemainingDevicePath
467 Status = ScsiBusDev->ExtScsiInterface->GetTargetLun (ScsiBusDev->ExtScsiInterface, RemainingDevicePath, &TargetId, &Lun);
469 Status = ScsiBusDev->ScsiInterface->GetTargetLun (ScsiBusDev->ScsiInterface, RemainingDevicePath, &ScsiTargetId.ScsiId.Scsi, &Lun);
477 // If RemainingDevicePath is the End of Device Path Node,
1065 EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath;
1069 RemainingDevicePath = NULL;
1107 RemainingDevicePath = DevicePath;
1108 Status = gBS->LocateDevicePath (&gEfiDevicePathProtocolGuid, &RemainingDevicePath, &DeviceHandle);
1109 if (!EFI_ERROR (Status) && (DeviceHandle != NULL) && IsDevicePathEnd(RemainingDevicePath)) {