Lines Matching refs:FilePath
246 FILEPATH_DEVICE_PATH *FilePath; in FileDevicePath() local
250 FilePath = AllocateZeroPool (Size + SIZE_OF_FILEPATH_DEVICE_PATH + sizeof(EFI_DEVICE_PATH)); in FileDevicePath()
253 if (FilePath) { in FileDevicePath()
259 FilePath->Header.Type = MEDIA_DEVICE_PATH; in FileDevicePath()
260 FilePath->Header.SubType = MEDIA_FILEPATH_DP; in FileDevicePath()
261 SetDevicePathNodeLength (&FilePath->Header, Size + SIZE_OF_FILEPATH_DEVICE_PATH); in FileDevicePath()
262 CopyMem (FilePath->PathName, FileName, Size); in FileDevicePath()
263 Eop = NextDevicePathNode(&FilePath->Header); in FileDevicePath()
270 DevicePath = (EFI_DEVICE_PATH *) FilePath; in FileDevicePath()
277 FreePool(FilePath); in FileDevicePath()
438 IN EFI_DEVICE_PATH *FilePath, in LibDevicePathToInterface() argument
445 Status = uefi_call_wrapper(BS->LocateDevicePath, 3, Protocol, &FilePath, &Device); in LibDevicePathToInterface()
452 if (IsDevicePathEnd(FilePath)) { in LibDevicePathToInterface()