Searched refs:TempCommBufferSize (Results 1 – 6 of 6) sorted by relevance
268 UINTN TempCommBufferSize; in SmmLockBoxHandler() local279 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()
215 UINTN TempCommBufferSize; in FpdtSmiHandler() local224 TempCommBufferSize = *CommBufferSize; in FpdtSmiHandler()226 if(TempCommBufferSize < sizeof (SMM_BOOT_RECORD_COMMUNICATE)) { in FpdtSmiHandler()230 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in FpdtSmiHandler()
490 UINTN TempCommBufferSize; in SmmPerformanceHandlerEx() local501 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() local613 TempCommBufferSize = *CommBufferSize; in SmmPerformanceHandler()615 if(TempCommBufferSize < sizeof (SMM_PERF_COMMUNICATE)) { in SmmPerformanceHandler()619 if (!SmmIsBufferOutsideSmmValid ((UINTN)CommBuffer, TempCommBufferSize)) { in SmmPerformanceHandler()
321 UINTN TempCommBufferSize; in SmmFaultTolerantWriteHandler() local330 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()
474 UINTN TempCommBufferSize; in SmmVariableHandler() local483 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()
1546 UINTN TempCommBufferSize; in SmramProfileHandler() local1557 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()