Lines Matching refs:FilePath
248 FILEPATH_DEVICE_PATH *FilePath; in FileDevicePath() local
252 FilePath = AllocateZeroPool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + sizeof(EFI_DEVICE_PATH)); in FileDevicePath()
255 if (FilePath) { in FileDevicePath()
261 FilePath->Header.Type = MEDIA_DEVICE_PATH; in FileDevicePath()
262 FilePath->Header.SubType = MEDIA_FILEPATH_DP; in FileDevicePath()
263 SetDevicePathNodeLength (&FilePath->Header, Size + SIZE_OF_FILEPATH_DEVICE_PATH); in FileDevicePath()
264 CopyMem (FilePath->PathName, FileName, Size); in FileDevicePath()
265 Eop = NextDevicePathNode(&FilePath->Header); in FileDevicePath()
272 DevicePath = (EFI_DEVICE_PATH *) FilePath; in FileDevicePath()
279 FreePool(FilePath); in FileDevicePath()
440 IN EFI_DEVICE_PATH *FilePath, in LibDevicePathToInterface() argument
447 Status = uefi_call_wrapper(BS->LocateDevicePath, 3, Protocol, &FilePath, &Device); in LibDevicePathToInterface()
454 if (IsDevicePathEnd(FilePath)) { in LibDevicePathToInterface()