Lines Matching refs:FileBuffer

269   VOID                          *FileBuffer;  in BmGetFileBufferByMemmapFv()  local
274 FileBuffer = GetFileBufferByFilePath (TRUE, DevicePath, FileSize, &AuthenticationStatus); in BmGetFileBufferByMemmapFv()
275 if (FileBuffer != NULL) { in BmGetFileBufferByMemmapFv()
278 return FileBuffer; in BmGetFileBufferByMemmapFv()
292 FileBuffer = BmGetFileBufferByMemmapFv (NewDevicePath, FullPath, FileSize); in BmGetFileBufferByMemmapFv()
295 if (FileBuffer != NULL) { in BmGetFileBufferByMemmapFv()
296 return FileBuffer; in BmGetFileBufferByMemmapFv()
309 for (Index = 0; (Index < FvHandleCount) && (FileBuffer == NULL); Index++) { in BmGetFileBufferByMemmapFv()
317 FileBuffer = BmGetFileBufferByMemmapFv (NewDevicePath, FullPath, FileSize); in BmGetFileBufferByMemmapFv()
324 return FileBuffer; in BmGetFileBufferByMemmapFv()
1077 VOID *FileBuffer; in BmExpandUsbDevicePath() local
1081 FileBuffer = NULL; in BmExpandUsbDevicePath()
1084 for (Index = 0; (Index < HandleCount) && (FileBuffer == NULL); Index++) { in BmExpandUsbDevicePath()
1086 FileBuffer = BmGetLoadOptionBuffer (FullDevicePath, FullPath, FileSize); in BmExpandUsbDevicePath()
1094 return FileBuffer; in BmExpandUsbDevicePath()
1123 VOID *FileBuffer; in BmExpandFileDevicePath() local
1148FileBuffer = GetFileBufferByFilePath (TRUE, FullDevicePath, FileSize, &AuthenticationStatus); in BmExpandFileDevicePath()
1149 if (FileBuffer != NULL) { in BmExpandFileDevicePath()
1152 return FileBuffer; in BmExpandFileDevicePath()
1251 VOID *FileBuffer; in BmExpandPartitionDevicePath() local
1262 FileBuffer = NULL; in BmExpandPartitionDevicePath()
1304 FileBuffer = BmGetLoadOptionBuffer (TempDevicePath, FullPath, FileSize); in BmExpandPartitionDevicePath()
1307 if (FileBuffer != NULL) { in BmExpandPartitionDevicePath()
1328 return FileBuffer; in BmExpandPartitionDevicePath()
1364 FileBuffer = BmGetLoadOptionBuffer (TempDevicePath, FullPath, FileSize); in BmExpandPartitionDevicePath()
1367 if (FileBuffer != NULL) { in BmExpandPartitionDevicePath()
1393 return FileBuffer; in BmExpandPartitionDevicePath()
1423 VOID *FileBuffer; in BmExpandMediaDevicePath() local
1435 FileBuffer = GetFileBufferByFilePath (TRUE, TempDevicePath, FileSize, &AuthenticationStatus); in BmExpandMediaDevicePath()
1436 if (FileBuffer == NULL) { in BmExpandMediaDevicePath()
1441 return FileBuffer; in BmExpandMediaDevicePath()
1476 FileBuffer = NULL; in BmExpandMediaDevicePath()
1497 FileBuffer = GetFileBufferByFilePath (TRUE, TempDevicePath, FileSize, &AuthenticationStatus); in BmExpandMediaDevicePath()
1498 if (FileBuffer != NULL) { in BmExpandMediaDevicePath()
1510 return FileBuffer; in BmExpandMediaDevicePath()
1533 VOID *FileBuffer; in BmGetLoadOptionBuffer() local
1544 FileBuffer = NULL; in BmGetLoadOptionBuffer()
1586 FileBuffer = BmExpandUsbDevicePath (FilePath, FullPath, FileSize, Node); in BmGetLoadOptionBuffer()
1587 if ((FileBuffer == NULL) && (FilePath == Node)) { in BmGetLoadOptionBuffer()
1594 FileBuffer = BmExpandUsbDevicePath (FilePath, FullPath, FileSize, Node); in BmGetLoadOptionBuffer()
1596 return FileBuffer; in BmGetLoadOptionBuffer()
1613 FileBuffer = GetFileBufferByFilePath (TRUE, FilePath, FileSize, &AuthenticationStatus); in BmGetLoadOptionBuffer()
1614 if (FileBuffer != NULL) { in BmGetLoadOptionBuffer()
1625 return FileBuffer; in BmGetLoadOptionBuffer()
1663 VOID *FileBuffer; in EfiBootManagerBoot() local
1745 FileBuffer = BmGetLoadOptionBuffer (BootOption->FilePath, &FilePath, &FileSize); in EfiBootManagerBoot()
1747 …if (FileBuffer != NULL && CompareMem (BootOption->FilePath, FilePath, GetDevicePathSize (FilePath)… in EfiBootManagerBoot()
1755 if (BmIsLoadOptionPeHeaderValid (BootOption->OptionType, FileBuffer, FileSize)) { in EfiBootManagerBoot()
1761 FileBuffer, in EfiBootManagerBoot()
1766 if (FileBuffer != NULL) { in EfiBootManagerBoot()
1767 FreePool (FileBuffer); in EfiBootManagerBoot()