Home
last modified time | relevance | path

Searched refs:TempCommBufferSize (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/LockBox/SmmLockBox/
DSmmLockBox.c268 UINTN TempCommBufferSize; in SmmLockBoxHandler() local
279 TempCommBufferSize = *CommBufferSize; in SmmLockBoxHandler()
284 if (TempCommBufferSize < sizeof(EFI_SMM_LOCK_BOX_PARAMETER_HEADER)) { in SmmLockBoxHandler()
288 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmLockBoxHandler()
303 if (TempCommBufferSize < sizeof(EFI_SMM_LOCK_BOX_PARAMETER_SAVE)) { in SmmLockBoxHandler()
310 if (TempCommBufferSize < sizeof(EFI_SMM_LOCK_BOX_PARAMETER_UPDATE)) { in SmmLockBoxHandler()
317 if (TempCommBufferSize < sizeof(EFI_SMM_LOCK_BOX_PARAMETER_RESTORE)) { in SmmLockBoxHandler()
324 if (TempCommBufferSize < sizeof(EFI_SMM_LOCK_BOX_PARAMETER_SET_ATTRIBUTES)) { in SmmLockBoxHandler()
331 if (TempCommBufferSize < sizeof(EFI_SMM_LOCK_BOX_PARAMETER_RESTORE_ALL_IN_PLACE)) { in SmmLockBoxHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/
DFirmwarePerformanceSmm.c215 UINTN TempCommBufferSize; in FpdtSmiHandler() local
224 TempCommBufferSize = *CommBufferSize; in FpdtSmiHandler()
226 if(TempCommBufferSize < sizeof (SMM_BOOT_RECORD_COMMUNICATE)) { in FpdtSmiHandler()
230 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in FpdtSmiHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmCorePerformanceLib/
DSmmCorePerformanceLib.c490 UINTN TempCommBufferSize; in SmmPerformanceHandlerEx() local
501 TempCommBufferSize = *CommBufferSize; in SmmPerformanceHandlerEx()
503 if(TempCommBufferSize < sizeof (SMM_PERF_COMMUNICATE_EX)) { in SmmPerformanceHandlerEx()
507 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmPerformanceHandlerEx()
602 UINTN TempCommBufferSize; in SmmPerformanceHandler() local
613 TempCommBufferSize = *CommBufferSize; in SmmPerformanceHandler()
615 if(TempCommBufferSize < sizeof (SMM_PERF_COMMUNICATE)) { in SmmPerformanceHandler()
619 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmPerformanceHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
DFaultTolerantWriteSmm.c321 UINTN TempCommBufferSize; in SmmFaultTolerantWriteHandler() local
330 TempCommBufferSize = *CommBufferSize; in SmmFaultTolerantWriteHandler()
332 if (TempCommBufferSize < SMM_FTW_COMMUNICATE_HEADER_SIZE) { in SmmFaultTolerantWriteHandler()
336 CommBufferPayloadSize = TempCommBufferSize - SMM_FTW_COMMUNICATE_HEADER_SIZE; in SmmFaultTolerantWriteHandler()
338 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmFaultTolerantWriteHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariableSmm.c474 UINTN TempCommBufferSize; in SmmVariableHandler() local
483 TempCommBufferSize = *CommBufferSize; in SmmVariableHandler()
485 if (TempCommBufferSize < SMM_VARIABLE_COMMUNICATE_HEADER_SIZE) { in SmmVariableHandler()
489 CommBufferPayloadSize = TempCommBufferSize - SMM_VARIABLE_COMMUNICATE_HEADER_SIZE; in SmmVariableHandler()
495 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmVariableHandler()
692 InfoSize = TempCommBufferSize - SMM_VARIABLE_COMMUNICATE_HEADER_SIZE; in SmmVariableHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DSmramProfileRecord.c1546 UINTN TempCommBufferSize; in SmramProfileHandler() local
1557 TempCommBufferSize = *CommBufferSize; in SmramProfileHandler()
1559 if (TempCommBufferSize < sizeof (SMRAM_PROFILE_PARAMETER_HEADER)) { in SmramProfileHandler()
1564 if (mSmramReadyToLock && !SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmramProfileHandler()
1581 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_GET_PROFILE_INFO)) { in SmramProfileHandler()
1589 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_GET_PROFILE_DATA)) { in SmramProfileHandler()
1597 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_REGISTER_IMAGE)) { in SmramProfileHandler()
1608 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_UNREGISTER_IMAGE)) { in SmramProfileHandler()