Lines Matching refs:CachedDevicePath
725 IN OUT EFI_DEVICE_PATH_PROTOCOL **CachedDevicePath, in BmCachePartitionDevicePath() argument
732 if (BmMatchDevicePaths (*CachedDevicePath, DevicePath)) { in BmCachePartitionDevicePath()
733 TempDevicePath = *CachedDevicePath; in BmCachePartitionDevicePath()
734 *CachedDevicePath = BmDelPartMatchInstance (*CachedDevicePath, DevicePath); in BmCachePartitionDevicePath()
738 if (*CachedDevicePath == NULL) { in BmCachePartitionDevicePath()
739 *CachedDevicePath = DuplicateDevicePath (DevicePath); in BmCachePartitionDevicePath()
743 TempDevicePath = *CachedDevicePath; in BmCachePartitionDevicePath()
744 *CachedDevicePath = AppendDevicePathInstance (DevicePath, *CachedDevicePath); in BmCachePartitionDevicePath()
754 TempDevicePath = *CachedDevicePath; in BmCachePartitionDevicePath()
804 EFI_DEVICE_PATH_PROTOCOL *CachedDevicePath; in BmExpandPartitionDevicePath() local
818 …GetVariable2 (L"HDDP", &mBmHardDriveBootVariableGuid, (VOID **) &CachedDevicePath, &CachedDevicePa… in BmExpandPartitionDevicePath()
823 if ((CachedDevicePath != NULL) && !IsDevicePathValid (CachedDevicePath, CachedDevicePathSize)) { in BmExpandPartitionDevicePath()
824 FreePool (CachedDevicePath); in BmExpandPartitionDevicePath()
825 CachedDevicePath = NULL; in BmExpandPartitionDevicePath()
836 if (CachedDevicePath != NULL) { in BmExpandPartitionDevicePath()
837 TempNewDevicePath = CachedDevicePath; in BmExpandPartitionDevicePath()
862 BmCachePartitionDevicePath (&CachedDevicePath, Instance); in BmExpandPartitionDevicePath()
871 GetDevicePathSize (CachedDevicePath), in BmExpandPartitionDevicePath()
872 CachedDevicePath in BmExpandPartitionDevicePath()
877 FreePool (CachedDevicePath); in BmExpandPartitionDevicePath()
918 BmCachePartitionDevicePath (&CachedDevicePath, BlockIoDevicePath); in BmExpandPartitionDevicePath()
928 GetDevicePathSize (CachedDevicePath), in BmExpandPartitionDevicePath()
929 CachedDevicePath in BmExpandPartitionDevicePath()
937 if (CachedDevicePath != NULL) { in BmExpandPartitionDevicePath()
938 FreePool (CachedDevicePath); in BmExpandPartitionDevicePath()