Searched defs:BufferSize (Results 26 - 50 of 149) sorted by relevance

123456

/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DBmLib.c100 @param BufferSize Current buffer size needed
111 IN UINTN BufferSize
119 if ((*Buffer == NULL) && (BufferSize != 0)) {
132 *Buffer = AllocateZeroPool (BufferSize);
231 UINTN BufferSize; local
236 BufferSize = SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL + 200;
241 while (EfiGrowBuffer (&Status, (VOID **) &Buffer, BufferSize)) {
245 &BufferSize,
297 UINTN BufferSize; local
303 BufferSize
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
H A DFwVolRead.c275 @param BufferSize BufferSize is a pointer to caller allocated
276 UINTN. On input *BufferSize indicates the
278 to by Buffer. On output, *BufferSize
311 IN OUT UINTN *BufferSize,
414 *BufferSize = FileSize;
449 *BufferSize = FileSize;
458 if (FileSize > *BufferSize) {
459 CopyMem (*Buffer, SrcPtr, *BufferSize);
460 *BufferSize
307 FvReadFile( IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *NameGuid, IN OUT VOID **Buffer, IN OUT UINTN *BufferSize, OUT EFI_FV_FILETYPE *FoundType, OUT EFI_FV_FILE_ATTRIBUTES *FileAttributes, OUT UINT32 *AuthenticationStatus ) argument
502 FvReadFileSection( IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, IN OUT VOID **Buffer, IN OUT UINTN *BufferSize, OUT UINT32 *AuthenticationStatus ) argument
[all...]
H A DFwPadFile.c270 @param BufferSize The length of FfsFileBuffer.
284 IN UINTN BufferSize,
334 CopyMem (FileHeader, FfsFileBuffer, BufferSize);
409 @param BufferSize The size of FfsFileBuffer.
424 IN UINTN BufferSize,
459 BufferSize,
522 BufferSize,
541 if (PadAreaLength > (BufferSize + PadSize)) {
542 if ((PadAreaLength - BufferSize - PadSize) >= sizeof (EFI_FFS_FILE_HEADER)) {
546 TailPadFileHeader = (EFI_FFS_FILE_HEADER *) ((UINT8 *) FileHeader + BufferSize);
281 FvFillFfsFile( OUT EFI_FFS_FILE_HEADER *FileHeader, IN UINT8 *FfsFileBuffer, IN UINTN BufferSize, IN UINTN ActualFileSize, IN EFI_GUID *FileName, IN EFI_FV_FILETYPE FileType, IN EFI_FV_FILE_ATTRIBUTES FileAttributes ) argument
421 FvCreateNewFileInsidePadFile( IN FV_DEVICE *FvDevice, IN UINT8 *FfsFileBuffer, IN UINTN BufferSize, IN UINTN ActualFileSize, IN EFI_GUID *FileName, IN EFI_FV_FILETYPE FileType, IN EFI_FV_FILE_ATTRIBUTES FileAttributes ) argument
674 FvCreateMultipleFilesInsidePadFile( IN FV_DEVICE *FvDevice, IN FFS_FILE_LIST_ENTRY *PadFileEntry, IN UINTN NumOfFiles, IN UINTN *BufferSize, IN UINTN *ActualFileSize, IN UINTN *PadSize, IN UINT8 **FfsBuffer, IN EFI_FV_WRITE_FILE_DATA *FileData ) argument
880 FvCreateMultipleFilesInsideFreeSpace( IN FV_DEVICE *FvDevice, IN FREE_SPACE_ENTRY *FreeSpaceEntry, IN UINTN NumOfFiles, IN UINTN *BufferSize, IN UINTN *ActualFileSize, IN UINTN *PadSize, IN UINT8 **FfsBuffer, IN EFI_FV_WRITE_FILE_DATA *FileData ) argument
1018 UINTN BufferSize[MAX_FILES]; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbBotPei/
H A DBotPeim.c342 UINT32 BufferSize; local
367 BufferSize = BufferLength;
372 &BufferSize,
H A DUsbBotPeim.c382 @param[in] BufferSize The size of the Buffer in bytes. This number must be
394 @retval EFI_BAD_BUFFER_SIZE The BufferSize parameter is not a multiple of
405 IN UINTN BufferSize,
424 if (BufferSize == 0) {
434 if (BufferSize % BlockSize != 0) {
442 NumberOfBlocks = BufferSize / (PeiBotDev->Media.BlockSize);
482 NumberOfBlocks = BufferSize / PeiBotDev->Media.BlockSize;
488 if (BufferSize % (PeiBotDev->Media.BlockSize) != 0) {
400 BotReadBlocks( IN EFI_PEI_SERVICES **PeiServices, IN EFI_PEI_RECOVERY_BLOCK_IO_PPI *This, IN UINTN DeviceIndex, IN EFI_PEI_LBA StartLBA, IN UINTN BufferSize, OUT VOID *Buffer ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/
H A DUsbMassImpl.c86 @param BufferSize The size of the Buffer in bytes.
95 @retval EFI_BAD_BUFFER_SIZE The BufferSize parameter is not a multiple of the intrinsic block size of the device.
106 IN UINTN BufferSize,
146 if (BufferSize == 0) {
157 // BufferSize must be a multiple of the intrinsic block size of the device.
159 if ((BufferSize % Media->BlockSize) != 0) {
164 TotalBlock = BufferSize / Media->BlockSize;
201 @param BufferSize The size of the Buffer in bytes.
210 @retval EFI_BAD_BUFFER_SIZE The BufferSize parameter is not a multiple of the intrinsic
222 IN UINTN BufferSize,
102 UsbMassReadBlocks( IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN UINTN BufferSize, OUT VOID *Buffer ) argument
218 UsbMassWriteBlocks( IN EFI_BLOCK_IO_PROTOCOL *This, IN UINT32 MediaId, IN EFI_LBA Lba, IN UINTN BufferSize, IN VOID *Buffer ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/FwVol/
H A DFwVolRead.c232 @param BufferSize BufferSize is a pointer to caller allocated
233 UINTN. On input *BufferSize indicates the
235 to by Buffer. On output, *BufferSize
268 IN OUT UINTN *BufferSize,
319 InputBufferSize = *BufferSize;
330 *BufferSize = FileSize;
388 @param BufferSize BufferSize is a pointer to caller allocated
411 IN OUT UINTN *BufferSize,
264 FvReadFile( IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *NameGuid, IN OUT VOID **Buffer, IN OUT UINTN *BufferSize, OUT EFI_FV_FILETYPE *FoundType, OUT EFI_FV_FILE_ATTRIBUTES *FileAttributes, OUT UINT32 *AuthenticationStatus ) argument
405 FvReadFileSection( IN CONST EFI_FIRMWARE_VOLUME2_PROTOCOL *This, IN CONST EFI_GUID *NameGuid, IN EFI_SECTION_TYPE SectionType, IN UINTN SectionInstance, IN OUT VOID **Buffer, IN OUT UINTN *BufferSize, OUT UINT32 *AuthenticationStatus ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Hand/
H A DLocate.c101 @param BufferSize On input the size of Buffer. On output the
106 returned in BufferSize.
118 IN OUT UINTN *BufferSize,
131 if (BufferSize == NULL) {
135 if ((*BufferSize > 0) && (Buffer == NULL)) {
222 if (ResultSize <= *BufferSize) {
239 if (ResultSize > *BufferSize) {
243 *BufferSize = ResultSize;
653 UINTN BufferSize; local
663 BufferSize
114 CoreLocateHandle( IN EFI_LOCATE_SEARCH_TYPE SearchType, IN EFI_GUID *Protocol OPTIONAL, IN VOID *SearchKey OPTIONAL, IN OUT UINTN *BufferSize, OUT EFI_HANDLE *Buffer ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/AcpiTableDxe/
H A DAmlNamespace.c298 UINTN BufferSize; local
305 BufferSize = AmlHandle->Size;
333 while ((UINTN)CurrentBuffer < (UINTN)Buffer + BufferSize) {
337 Status = SdtOpenEx (CurrentBuffer, (UINTN)Buffer + BufferSize - (UINTN)CurrentBuffer, (EFI_ACPI_HANDLE *)&AmlChildHandle);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/
H A DScriptExecute.c303 UINTN BufferSize; local
340 &BufferSize
351 Pages = EFI_SIZE_TO_PAGES(BufferSize + ImageContext.SectionAlignment);
414 BufferSize = sizeof (BOOT_SCRIPT_EXECUTOR_VARIABLE);
417 Pages = EFI_SIZE_TO_PAGES(BufferSize);
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/DebugPortDxe/
H A DDebugPort.c536 UINTN BufferSize; local
540 BufferSize = 1;
541 This->Read (This, 0, &BufferSize, &BitBucket);
553 @param BufferSize On input, the size of Buffer.
566 IN OUT UINTN *BufferSize,
577 LocalBufferSize = *BufferSize;
596 LocalBufferSize = *BufferSize - (BufferPtr - (UINT8 *) Buffer);
599 *BufferSize = (UINTN) (BufferPtr - (UINT8 *) Buffer);
611 @param BufferSize On input, the size of Buffer.
624 IN OUT UINTN *BufferSize,
563 DebugPortRead( IN EFI_DEBUGPORT_PROTOCOL *This, IN UINT32 Timeout, IN OUT UINTN *BufferSize, IN VOID *Buffer ) argument
621 DebugPortWrite( IN EFI_DEBUGPORT_PROTOCOL *This, IN UINT32 Timeout, IN OUT UINTN *BufferSize, OUT VOID *Buffer ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/CdExpressPei/
H A DPeiCdExpress.c234 UINTN BufferSize; local
246 BufferSize = PEI_CD_BLOCK_SIZE;
260 SetMem (Buffer, BufferSize, 0);
266 BufferSize,
342 UINTN BufferSize; local
348 BufferSize = PEI_CD_BLOCK_SIZE;
350 SetMem (Buffer, BufferSize, 0);
357 BufferSize,
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Disk/DiskIoDxe/
H A DDiskIo.c256 Read BufferSize bytes from Offset into Buffer.
267 @param BufferSize Size of Buffer
284 IN UINTN BufferSize,
318 WorkingBufferSize = BufferSize;
359 if (Length > BufferSize) {
360 Length = BufferSize;
472 Writes BufferSize bytes from Buffer into Offset.
484 @param BufferSize Size of Buffer
502 IN UINTN BufferSize,
554 WorkingBufferSize = BufferSize;
280 DiskIoReadDisk( IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, OUT VOID *Buffer ) argument
498 DiskIoWriteDisk( IN EFI_DISK_IO_PROTOCOL *This, IN UINT32 MediaId, IN UINT64 Offset, IN UINTN BufferSize, IN VOID *Buffer ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DFaultTolerantWriteSmm.c141 UINTN BufferSize; local
147 BufferSize = 0;
154 &BufferSize,
161 *Buffer = AllocatePool (BufferSize);
170 &BufferSize,
174 *NumberHandles = BufferSize / sizeof(EFI_HANDLE);
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/Ping6/
H A DPing6.h71 UINT32 BufferSize; member in struct:_PING6_PRIVATE_DATA
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/UefiPxeBcDxe/
H A DPxeBcMtftp.c109 @param[in, out] BufferSize Pointer to buffer size.
123 IN OUT UINT64 *BufferSize
135 *BufferSize = 0;
210 *BufferSize = AsciiStrDecimalToUint64 ((CHAR8 *) (Option[OptCnt - 1].ValueStr));
235 @param[in, out] BufferSize Pointer to buffer size.
250 IN OUT UINT64 *BufferSize,
287 Token.BufferSize = 0;
290 Token.BufferSize = *BufferSize;
302 *BufferSize
244 PxeBcMtftp6ReadFile( IN PXEBC_PRIVATE_DATA *Private, IN EFI_MTFTP6_CONFIG_DATA *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer ) argument
402 PxeBcMtftp6ReadDirectory( IN PXEBC_PRIVATE_DATA *Private, IN EFI_MTFTP6_CONFIG_DATA *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer ) argument
686 PxeBcMtftp4ReadFile( IN PXEBC_PRIVATE_DATA *Private, IN EFI_MTFTP4_CONFIG_DATA *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer ) argument
844 PxeBcMtftp4ReadDirectory( IN PXEBC_PRIVATE_DATA *Private, IN EFI_MTFTP4_CONFIG_DATA *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer ) argument
971 PxeBcTftpReadFile( IN PXEBC_PRIVATE_DATA *Private, IN VOID *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer ) argument
1073 PxeBcTftpReadDirectory( IN PXEBC_PRIVATE_DATA *Private, IN VOID *Config, IN UINT8 *Filename, IN UINTN *BlockSize, IN UINT8 *BufferPtr, IN OUT UINT64 *BufferSize, IN BOOLEAN DontUseBuffer ) argument
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/PerformancePkg/Dp_App/
H A DDpUtilities.c408 UINTN BufferSize; local
415 BufferSize = (PcdGet32 (PcdUefiLibMaxPrintBufferSize) + 1) * sizeof (CHAR16);
418 mPrintTokenBuffer = AllocatePool (BufferSize);
421 SetMem( mPrintTokenBuffer, BufferSize, 0);
423 Return = UnicodeVSPrint (mPrintTokenBuffer, BufferSize, StringPtr, Marker);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dmidles.h69 ULONG BufferSize; member in struct:_MIDL_ES_MESSAGE
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dmidles.h69 ULONG BufferSize; member in struct:_MIDL_ES_MESSAGE
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/
H A DCryptPkcs7.c426 UINTN BufferSize; local
484 BufferSize = sizeof (UINT8);
485 OldSize = BufferSize;
493 OldSize = BufferSize;
495 BufferSize = OldSize + SingleCertSize + sizeof (UINT32);
496 CertBuf = malloc (BufferSize);
521 *CertLength = BufferSize - OldSize - sizeof (UINT32);
529 *StackLength = BufferSize;
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/
H A DHotkey.c507 UINTN BufferSize; local
512 BufferSize = sizeof (EFI_HANDLE);
517 &BufferSize,
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
H A DParseUpdateProfile.c25 @param BufferSize Buffer Size.
37 IN UINTN BufferSize,
47 PtrEnd = (UINTN)Buffer + BufferSize;
64 Length = BufferSize;
91 @param BufferSize On input, size of original buffer data.
98 IN OUT UINTN *BufferSize
105 if (*BufferSize == 0) {
112 Length = *BufferSize;
126 *BufferSize = 0;
149 *BufferSize
35 ProfileGetLine( IN UINT8 *Buffer, IN UINTN BufferSize, IN OUT UINT8 *LineBuffer, IN OUT UINTN *LineSize ) argument
180 ProfileGetComments( IN UINT8 *Buffer, IN UINTN BufferSize, IN OUT COMMENT_LINE **CommentHead ) argument
223 ProfileGetSection( IN UINT8 *Buffer, IN UINTN BufferSize, IN OUT SECTION_ITEM **SectionHead ) argument
309 ProfileGetEntry( IN UINT8 *Buffer, IN UINTN BufferSize, IN OUT SECTION_ITEM **SectionHead ) argument
801 PreProcessDataFile( IN UINT8 *DataBuffer, IN UINTN BufferSize, IN OUT SECTION_ITEM **SectionHead, IN OUT COMMENT_LINE **CommentHead ) argument
935 ParseUpdateDataFile( IN UINT8 *DataBuffer, IN UINTN BufferSize, IN OUT UINTN *NumOfUpdates, IN OUT UPDATE_CONFIG_DATA **UpdateArray ) argument
[all...]
H A DUpdateDispatcher.c513 @param BufferSize Size of the FV image buffer.
524 UINTN BufferSize,
536 if (FwVolHeader->FvLength != BufferSize) {
556 ProcessedDataBuffer = AllocateAlignedPages (EFI_SIZE_TO_PAGES (BufferSize), (UINTN) FvAlignment);
560 CopyMem (ProcessedDataBuffer, DataBuffer, BufferSize);
567 BufferSize,
522 ProcessUpdateImage( UINT8 *DataBuffer, UINTN BufferSize, EFI_FIRMWARE_VOLUME2_PROTOCOL **FwVolProtocol ) argument
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkPkg/Include/Protocol/
H A DFirmwareVolume.h144 @param BufferSize On input: The buffer size. On output: The size
168 IN OUT UINTN *BufferSize,
193 @param BufferSize The pointer to the buffer size passed in, and on
215 IN OUT UINTN *BufferSize,
229 UINT32 BufferSize; member in struct:__anon10708
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkPkg/Library/FrameworkUefiLib/
H A DUefiLibPrint.c65 UINTN BufferSize; local
71 BufferSize = (PcdGet32 (PcdUefiLibMaxPrintBufferSize) + 1) * sizeof (CHAR16);
73 Buffer = (CHAR16 *) AllocatePool(BufferSize);
76 Return = UnicodeVSPrint (Buffer, BufferSize, Format, Marker);
201 UINTN BufferSize; local
206 BufferSize = (PcdGet32 (PcdUefiLibMaxPrintBufferSize) + 1) * sizeof (CHAR16);
208 Buffer = (CHAR16 *) AllocatePool(BufferSize);
211 Return = UnicodeVSPrintAsciiFormat (Buffer, BufferSize, Format, Marker);
610 UINTN BufferSize; local
619 BufferSize
689 UINTN BufferSize; local
[all...]

Completed in 338 milliseconds

123456