Home
last modified time | relevance | path

Searched refs:AddedSize (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Library/TcgStorageCoreLib/
DTcgStorageCore.c121 UINT32 AddedSize; in TcgStartPacket() local
124 AddedSize = 0; in TcgStartPacket()
135 AddedSize = sizeof(TCG_PACKET); in TcgStartPacket()
137 if ((SwapBytes32(CreateStruct->ComPacket->LengthBE) + AddedSize) > CreateStruct->BufferSize) { in TcgStartPacket()
153 …t->ComPacket->LengthBE = SwapBytes32( SwapBytes32(CreateStruct->ComPacket->LengthBE) + AddedSize ); in TcgStartPacket()
173 UINT32 AddedSize; in TcgStartSubPacket() local
177 AddedSize = 0; in TcgStartSubPacket()
187 AddedSize = sizeof(TCG_SUB_PACKET); in TcgStartSubPacket()
189 if ((SwapBytes32(CreateStruct->ComPacket->LengthBE) + AddedSize) > CreateStruct->BufferSize) { in TcgStartSubPacket()
201 …uct->ComPacket->LengthBE = SwapBytes32(SwapBytes32(CreateStruct->ComPacket->LengthBE) + AddedSize); in TcgStartSubPacket()
[all …]
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DCpuS3.c125 UINTN AddedSize; in InitMsrSpinLockByIndex() local
150 AddedSize = SIZE_4KB; in InitMsrSpinLockByIndex()
152 AllocatePages (EFI_SIZE_TO_PAGES(AddedSize)); in InitMsrSpinLockByIndex()
154 NewMsrSpinLockCount = mMsrSpinLockCount + AddedSize / mSemaphoreSize; in InitMsrSpinLockByIndex()