Home
last modified time | relevance | path

Searched refs:TempCommBufferSize (Results 1 – 7 of 7) 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.c216 UINTN TempCommBufferSize; in FpdtSmiHandler() local
225 TempCommBufferSize = *CommBufferSize; in FpdtSmiHandler()
227 if(TempCommBufferSize < sizeof (SMM_BOOT_RECORD_COMMUNICATE)) { in FpdtSmiHandler()
231 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in FpdtSmiHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/SmmCorePerformanceLib/
DSmmCorePerformanceLib.c489 UINTN TempCommBufferSize; in SmmPerformanceHandlerEx() local
500 TempCommBufferSize = *CommBufferSize; in SmmPerformanceHandlerEx()
502 if(TempCommBufferSize < sizeof (SMM_PERF_COMMUNICATE_EX)) { in SmmPerformanceHandlerEx()
506 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmPerformanceHandlerEx()
601 UINTN TempCommBufferSize; in SmmPerformanceHandler() local
612 TempCommBufferSize = *CommBufferSize; in SmmPerformanceHandler()
614 if(TempCommBufferSize < sizeof (SMM_PERF_COMMUNICATE)) { in SmmPerformanceHandler()
618 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.c482 UINTN TempCommBufferSize; in SmmVariableHandler() local
491 TempCommBufferSize = *CommBufferSize; in SmmVariableHandler()
493 if (TempCommBufferSize < SMM_VARIABLE_COMMUNICATE_HEADER_SIZE) { in SmmVariableHandler()
497 CommBufferPayloadSize = TempCommBufferSize - SMM_VARIABLE_COMMUNICATE_HEADER_SIZE; in SmmVariableHandler()
503 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmVariableHandler()
700 InfoSize = TempCommBufferSize - SMM_VARIABLE_COMMUNICATE_HEADER_SIZE; in SmmVariableHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Library/OpalPasswordSupportLib/
DOpalPasswordSupportLib.c665 UINTN TempCommBufferSize; in SmmOpalPasswordHandler() local
674 TempCommBufferSize = *CommBufferSize; in SmmOpalPasswordHandler()
675 if (TempCommBufferSize < OFFSET_OF (OPAL_SMM_COMMUNICATE_HEADER, Data)) { in SmmOpalPasswordHandler()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DSmramProfileRecord.c2354 UINTN TempCommBufferSize; in SmramProfileHandler() local
2366 TempCommBufferSize = *CommBufferSize; in SmramProfileHandler()
2368 if (TempCommBufferSize < sizeof (SMRAM_PROFILE_PARAMETER_HEADER)) { in SmramProfileHandler()
2373 if (mSmramReadyToLock && !SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmramProfileHandler()
2390 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_GET_PROFILE_INFO)) { in SmramProfileHandler()
2398 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_GET_PROFILE_DATA)) { in SmramProfileHandler()
2406 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_GET_PROFILE_DATA_BY_OFFSET)) { in SmramProfileHandler()
2414 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_REGISTER_IMAGE)) { in SmramProfileHandler()
2425 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_UNREGISTER_IMAGE)) { in SmramProfileHandler()
2436 if (TempCommBufferSize != sizeof (SMRAM_PROFILE_PARAMETER_RECORDING_STATE)) { in SmramProfileHandler()
[all …]