Lines Matching refs:NewDevPath
314 EFI_DEVICE_PATH *NewDevPath; in DuplicateDevicePath() local
328 NewDevPath = AllocatePool (Size); in DuplicateDevicePath()
329 if (NewDevPath) { in DuplicateDevicePath()
330 CopyMem (NewDevPath, DevPath, Size); in DuplicateDevicePath()
333 return NewDevPath; in DuplicateDevicePath()
1237 EFI_DEVICE_PATH *NewDevPath,*DevicePathInst,*Temp; in LibDuplicateDevicePathInstance() local
1250 NewDevPath = NULL; in LibDuplicateDevicePathInstance()
1252 NewDevPath = AllocatePool (Size + sizeof(EFI_DEVICE_PATH)); in LibDuplicateDevicePathInstance()
1255 if (NewDevPath) { in LibDuplicateDevicePathInstance()
1256 CopyMem (NewDevPath, DevicePathInst, Size); in LibDuplicateDevicePathInstance()
1257 Temp = NextDevicePathNode(NewDevPath); in LibDuplicateDevicePathInstance()
1261 return NewDevPath; in LibDuplicateDevicePathInstance()