Lines Matching refs:DevicePath

33 #include EFI_PROTOCOL_DEFINITION (DevicePath)

132 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
141 DevicePath - A pointer to a device path data structure.
149 and a pointer to the next device path instance in DevicePath.
150 If there are no more device path instances in DevicePath, then DevicePath will be set to NULL.
158 if (*DevicePath == NULL) {
169 DevPath = *DevicePath;
178 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL);
186 ReturnValue = RtEfiDuplicateDevicePath (*DevicePath);
191 // does not follow, so *DevicePath is set to NULL.
194 *DevicePath = NULL;
196 *DevicePath = NextDevicePathNode (DevPath);
204 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
212 DevicePath - A pointer to a device path data structure.
216 TRUE - If DevicePath is multi instance. FALSE - If DevicePath is not multi
223 if (DevicePath == NULL) {
227 Node = DevicePath;
241 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
251 DevicePath - A specified device path
261 if (DevicePath == NULL) {
268 Start = DevicePath;
269 while (!EfiIsDevicePathEnd (DevicePath)) {
270 DevicePath = EfiNextDevicePathNode (DevicePath);
276 return ((UINTN) DevicePath - (UINTN) Start) + sizeof (EFI_DEVICE_PATH_PROTOCOL);
299 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
301 DevicePath = NULL;
305 (VOID *) &DevicePath
307 return DevicePath;
312 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
322 DevicePath - The device path to duplicated.
333 if (DevicePath == NULL) {
340 Size = RtEfiDevicePathSize (DevicePath);
348 NewDevicePath = InternalAllocateCopyPool (Size, DevicePath);
494 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
502 DevicePath = NULL;
520 DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) FilePath;
522 DevicePath = RtEfiAppendDevicePath (
524 DevicePath
531 return DevicePath;