Home
last modified time | relevance | path

Searched refs:BufferPtr (Results 1 – 25 of 35) sorted by relevance

12

/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2CommandLib/
DTpm2Sequences.c197 UINT8 *BufferPtr; in Tpm2SequenceUpdate() local
213 BufferPtr = (UINT8 *)&Cmd.AuthSessionSeq; in Tpm2SequenceUpdate()
216 SessionInfoSize = CopyAuthSessionCommand (NULL, BufferPtr); in Tpm2SequenceUpdate()
217 BufferPtr += SessionInfoSize; in Tpm2SequenceUpdate()
221 WriteUnaligned16 ((UINT16 *)BufferPtr, SwapBytes16(Buffer->size)); in Tpm2SequenceUpdate()
222 BufferPtr += sizeof(UINT16); in Tpm2SequenceUpdate()
224 CopyMem(BufferPtr, &Buffer->buffer, Buffer->size); in Tpm2SequenceUpdate()
225 BufferPtr += Buffer->size; in Tpm2SequenceUpdate()
227 CmdSize = (UINT32)(BufferPtr - (UINT8 *)&Cmd); in Tpm2SequenceUpdate()
298 UINT8 *BufferPtr; in Tpm2EventSequenceComplete() local
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
DValueToString.c60 CHAR16 *BufferPtr; in EfiValueToHexStr() local
65 BufferPtr = Buffer; in EfiValueToHexStr()
105 *(BufferPtr++) = *(--TempStr); in EfiValueToHexStr()
109 *BufferPtr = 0; in EfiValueToHexStr()
145 CHAR16 *BufferPtr; in EfiValueToString() local
154 BufferPtr = Buffer; in EfiValueToString()
208 *(BufferPtr++) = *(--TempStr); in EfiValueToString()
212 *BufferPtr = 0; in EfiValueToString()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/
DCapsule.c94 VOID *BufferPtr; in LibUpdateCapsule() local
103 BufferPtr = NULL; in LibUpdateCapsule()
165 Status = gBS->AllocatePool (EfiBootServicesData, CapsuleSize, &BufferPtr); in LibUpdateCapsule()
169 gBS->CopyMem (BufferPtr, (UINT8*)CapsuleHeader+ CapsuleHeader->HeaderSize, CapsuleSize); in LibUpdateCapsule()
174 Status = gDS->ProcessFirmwareVolume (BufferPtr, CapsuleSize, &FvHandle); in LibUpdateCapsule()
176 gBS->FreePool (BufferPtr); in LibUpdateCapsule()
180 gBS->FreePool (BufferPtr); in LibUpdateCapsule()
185 if (BufferPtr != NULL) { in LibUpdateCapsule()
186 gBS->FreePool (BufferPtr); in LibUpdateCapsule()
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcMtftp.c253 IN UINT8 *BufferPtr, in PxeBcMtftp6ReadFile() argument
295 Token.Buffer = BufferPtr; in PxeBcMtftp6ReadFile()
337 IN UINT8 *BufferPtr, in PxeBcMtftp6WriteFile() argument
372 Token.Buffer = BufferPtr; in PxeBcMtftp6WriteFile()
411 IN UINT8 *BufferPtr, in PxeBcMtftp6ReadDirectory() argument
453 Token.Buffer = BufferPtr; in PxeBcMtftp6ReadDirectory()
699 IN UINT8 *BufferPtr, in PxeBcMtftp4ReadFile() argument
741 Token.Buffer = BufferPtr; in PxeBcMtftp4ReadFile()
783 IN UINT8 *BufferPtr, in PxeBcMtftp4WriteFile() argument
818 Token.Buffer = BufferPtr; in PxeBcMtftp4WriteFile()
[all …]
DPxeBcMtftp.h77 IN UINT8 *BufferPtr,
106 IN UINT8 *BufferPtr,
133 IN UINT8 *BufferPtr,
DPxeBcImpl.c835 IN OUT VOID *BufferPtr OPTIONAL, in EfiPxeBcMtftp()
858 ((BufferPtr == NULL) && DontUseBuffer) || in EfiPxeBcMtftp()
930 BufferPtr, in EfiPxeBcMtftp()
947 BufferPtr, in EfiPxeBcMtftp()
962 BufferPtr, in EfiPxeBcMtftp()
1056 IN VOID *BufferPtr in EfiPxeBcUdpWrite() argument
1090 if (BufferSize == NULL || (*BufferSize != 0 && BufferPtr == NULL)) { in EfiPxeBcUdpWrite()
1165 BufferPtr in EfiPxeBcUdpWrite()
1191 BufferPtr in EfiPxeBcUdpWrite()
1260 IN VOID *BufferPtr in EfiPxeBcUdpRead() argument
[all …]
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/
DBdsPlatform.c1481 EFI_PHYSICAL_ADDRESS BufferPtr; in ConvertAcpiTable() local
1486 BufferPtr = EFI_SYSTEM_TABLE_MAX_ADDRESS; in ConvertAcpiTable()
1491 &BufferPtr in ConvertAcpiTable()
1494 AcpiTableNew = (VOID *)(UINTN)BufferPtr; in ConvertAcpiTable()
1534 EFI_PHYSICAL_ADDRESS BufferPtr; in ConvertSmbiosTable() local
1552 BufferPtr = EFI_SYSTEM_TABLE_MAX_ADDRESS; in ConvertSmbiosTable()
1566 &BufferPtr in ConvertSmbiosTable()
1569 SmbiosTableNew = (SMBIOS_TABLE_ENTRY_POINT *)(UINTN)BufferPtr; in ConvertSmbiosTable()
1578 BufferPtr += SmbiosEntryLen + SYS_TABLE_PAD(SmbiosEntryLen); in ConvertSmbiosTable()
1580 (VOID *)(UINTN)BufferPtr, in ConvertSmbiosTable()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcMtftp.h75 IN UINT8 *BufferPtr,
104 IN UINT8 *BufferPtr,
131 IN UINT8 *BufferPtr,
DPxeBcMtftp.c238 IN UINT8 *BufferPtr, in PxeBcTftpReadFile() argument
282 Token.Buffer = BufferPtr; in PxeBcTftpReadFile()
322 IN UINT8 *BufferPtr, in PxeBcTftpWriteFile() argument
359 Token.Buffer = BufferPtr; in PxeBcTftpWriteFile()
395 IN UINT8 *BufferPtr, in PxeBcTftpReadDirectory() argument
439 Token.Buffer = BufferPtr; in PxeBcTftpReadDirectory()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
DCallback.c99 IN OUT UINT64 BufferPtr in SnpUndi32CallbackMemio() argument
130 (VOID *) (UINTN) BufferPtr in SnpUndi32CallbackMemio()
141 (VOID *) (UINTN) BufferPtr in SnpUndi32CallbackMemio()
152 (VOID *) (UINTN) BufferPtr in SnpUndi32CallbackMemio()
163 (VOID *) (UINTN) BufferPtr in SnpUndi32CallbackMemio()
/device/linaro/bootloader/edk2/OvmfPkg/Library/SerializeVariablesLib/
DSerializeVariablesLib.c335 if (Instance->BufferPtr != NULL) { in EnsureExtraBufferSpace()
336 CopyMem (NewBuffer, Instance->BufferPtr, Instance->DataSize); in EnsureExtraBufferSpace()
337 FreePool (Instance->BufferPtr); in EnsureExtraBufferSpace()
340 Instance->BufferPtr = NewBuffer; in EnsureExtraBufferSpace()
364 (VOID*) (((UINT8*) (Instance->BufferPtr)) + Instance->DataSize), in AppendToBuffer()
431 if (Instance->BufferPtr != NULL) { in SerializeVariablesFreeInstance()
432 FreePool (Instance->BufferPtr); in SerializeVariablesFreeInstance()
684 if ((Instance->BufferPtr != NULL) && (Instance->DataSize != 0)) { in SerializeVariablesIterateInstanceVariables()
688 Instance->BufferPtr, in SerializeVariablesIterateInstanceVariables()
866 CopyMem (Buffer, Instance->BufferPtr, Instance->DataSize); in SerializeVariablesToBuffer()
DSerializeVariablesLib.h33 VOID *BufferPtr; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Print/
DPrint.c441 CHAR8 *BufferPtr; in ValueTomHexStr() local
446 BufferPtr = Buffer; in ValueTomHexStr()
478 *(BufferPtr++) = *(--TempStr); in ValueTomHexStr()
482 *BufferPtr = 0; in ValueTomHexStr()
518 CHAR8 *BufferPtr; in ValueToString() local
527 BufferPtr = Buffer; in ValueToString()
551 *(BufferPtr++) = '-'; in ValueToString()
563 *(BufferPtr++) = *(--TempStr); in ValueToString()
566 *BufferPtr = 0; in ValueToString()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/
DDiskIo.c542 UINT8 *BufferPtr; in DiskIoCreateSubtaskList() local
558 BufferPtr = (UINT8 *) Buffer; in DiskIoCreateSubtaskList()
564 Subtask = DiskIoCreateSubtask (Write, Lba, UnderRun, 0, NULL, BufferPtr, Blocking); in DiskIoCreateSubtaskList()
594 … Subtask = DiskIoCreateSubtask (Write, Lba, UnderRun, Length, WorkingBuffer, BufferPtr, Blocking); in DiskIoCreateSubtaskList()
600 BufferPtr += Length; in DiskIoCreateSubtaskList()
630 …Subtask = DiskIoCreateSubtask (Write, OverRunLba, 0, OverRun, WorkingBuffer, BufferPtr + BufferSiz… in DiskIoCreateSubtaskList()
641 if (ALIGN_POINTER (BufferPtr, IoAlign) == BufferPtr) { in DiskIoCreateSubtaskList()
642 Subtask = DiskIoCreateSubtask (Write, Lba, 0, BufferSize, NULL, BufferPtr, Blocking); in DiskIoCreateSubtaskList()
648 BufferPtr += BufferSize; in DiskIoCreateSubtaskList()
661 …sk = DiskIoCreateSubtask (Write, Lba, 0, DataBufferSize, SharedWorkingBuffer, BufferPtr, Blocking); in DiskIoCreateSubtaskList()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/EmuVariableFvbRuntimeDxe/
DFvb.c109 EfiConvertPointer (0x0, &mEmuVarsFvb.BufferPtr); in FvbVirtualAddressChangeEvent()
145 *Address = (EFI_PHYSICAL_ADDRESS)(UINTN) FvbDevice->BufferPtr; in FvbProtocolGetPhysicalAddress()
364 ErasePtr = (UINT8*) FvbDevice->BufferPtr; in FvbProtocolEraseBlocks()
476 (UINT8*) FvbDevice->BufferPtr + in FvbProtocolWrite()
560 (UINT8*) FvbDevice->BufferPtr + in FvbProtocolRead()
856 mEmuVarsFvb.BufferPtr = Ptr; in FvbInitialize()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVolWrite.c764 EFI_PHYSICAL_ADDRESS BufferPtr; in FvCreateNewFile() local
813 BufferPtr = (EFI_PHYSICAL_ADDRESS) (UINTN) FreeSpaceEntry->StartingAddress; in FvCreateNewFile()
833 BufferPtr = (EFI_PHYSICAL_ADDRESS) (UINTN) FreeSpaceEntry->StartingAddress; in FvCreateNewFile()
848 Offset = (UINTN) (BufferPtr - FvDevice->CachedFv); in FvCreateNewFile()
865 (UINT8 *) (UINTN) BufferPtr, in FvCreateNewFile()
900 Offset = (UINTN) (BufferPtr - FvDevice->CachedFv); in FvCreateNewFile()
916 (UINT8 *) (UINTN) BufferPtr, in FvCreateNewFile()
930 Offset = (UINTN) (BufferPtr - FvDevice->CachedFv); in FvCreateNewFile()
947 (UINT8 *) (UINTN) BufferPtr, in FvCreateNewFile()
963 Offset = (UINTN) (BufferPtr - FvDevice->CachedFv); in FvCreateNewFile()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBotPei/
DBotPeim.c192 UINT8 *BufferPtr; in BotDataPhase() local
198 BufferPtr = (UINT8 *) DataBuffer; in BotDataPhase()
226 BufferPtr, in BotDataPhase()
238 BufferPtr += Increment; in BotDataPhase()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/Tcp/
DTcp.h74 IN VOID *BufferPtr
89 IN VOID *BufferPtr
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/
DBufferImage.c1905 UINT8 *BufferPtr; in HBufferImageDeleteCharacterFromBuffer() local
1960 BufferPtr = (UINT8 *) Buffer; in HBufferImageDeleteCharacterFromBuffer()
1967 DeleteBuffer[Index] = BufferPtr[Pos + Index]; in HBufferImageDeleteCharacterFromBuffer()
1974 BufferPtr[Index] = BufferPtr[Index + Count]; in HBufferImageDeleteCharacterFromBuffer()
2034 UINT8 *BufferPtr; in HBufferImageAddCharacterToBuffer() local
2074 BufferPtr = (UINT8 *) Buffer; in HBufferImageAddCharacterToBuffer()
2080 BufferPtr[Index] = BufferPtr[Index - Count]; in HBufferImageAddCharacterToBuffer()
2086 BufferPtr[Index + Pos] = AddBuffer[Index]; in HBufferImageAddCharacterToBuffer()
2193 UINT8 *BufferPtr; in HBufferImageBufferToList() local
2197 BufferPtr = (UINT8 *) Buffer; in HBufferImageBufferToList()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/
DDebugPort.c546 UINT8 *BufferPtr; in DebugPortRead() local
549 BufferPtr = Buffer; in DebugPortRead()
556 BufferPtr in DebugPortRead()
568 BufferPtr += LocalBufferSize; in DebugPortRead()
569 LocalBufferSize = *BufferSize - (BufferPtr - (UINT8 *) Buffer); in DebugPortRead()
572 *BufferSize = (UINTN) (BufferPtr - (UINT8 *) Buffer); in DebugPortRead()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/EblNetworkLib/
DEblNetworkLib.c141 IN OUT VOID *BufferPtr OPTIONAL, in EblMtftp()
162 BufferPtr, in EblMtftp()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DParseUpdateProfile.c585 UINT8 *BufferPtr; in UpdateValueToString() local
590 BufferPtr = Buffer; in UpdateValueToString()
594 *BufferPtr = '-'; in UpdateValueToString()
595 BufferPtr++; in UpdateValueToString()
614 *BufferPtr = *TempStr; in UpdateValueToString()
615 BufferPtr++; in UpdateValueToString()
619 *BufferPtr = 0; in UpdateValueToString()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/
DMiscOemType0x94Function.c127 CHAR16 *BufferPtr; in EfiValueToString()
137 BufferPtr = Buffer; in EfiValueToString()
192 *(BufferPtr++) = *(--TempStr); in EfiValueToString()
196 *BufferPtr = 0; in EfiValueToString()
224 CHAR16 *BufferPtr; in EfiValueToHexStr()
229 BufferPtr = Buffer; in EfiValueToHexStr()
269 *(BufferPtr++) = *(--TempStr); in EfiValueToHexStr()
273 *BufferPtr = 0; in EfiValueToHexStr()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/PxeBaseCode/
DPxeBaseCode.h267 IN OUT VOID *BufferPtr OPTIONAL,
290 IN VOID *BufferPtr
305 IN VOID *BufferPtr
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/
DEblNetworkLib.h57 IN OUT VOID *BufferPtr OPTIONAL,

12