/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInfoDxe/ |
D | PlatformInfoDxe.c | 58 UINTN VarSize; in PlatformInfoInit() 66 VarSize = sizeof(SYSTEM_CONFIGURATION); in PlatformInfoInit() 71 &VarSize, in PlatformInfoInit() 75 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in PlatformInfoInit() 77 VarSize = sizeof(SYSTEM_CONFIGURATION); in PlatformInfoInit() 82 &VarSize, in PlatformInfoInit() 88 VarSize = sizeof(Selection); in PlatformInfoInit() 93 &VarSize, in PlatformInfoInit() 154 VarSize = sizeof(EFI_PLATFORM_INFO_HOB); in PlatformInfoInit() 159 &VarSize, in PlatformInfoInit() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
D | ExI.c | 73 UINTN VarSize; in InitExI() 75 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitExI() 81 &VarSize, in InitExI() 85 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in InitExI() 87 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitExI() 92 &VarSize, in InitExI()
|
D | Platform.c | 515 UINTN VarSize; in InitPciDevPME() local 518 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitPciDevPME() 523 &VarSize, in InitPciDevPME() 574 UINTN VarSize; in InitThermalZone() local 577 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitThermalZone() 582 &VarSize, in InitThermalZone() 745 UINTN VarSize; in InitializePlatform() local 767 VarSize = sizeof(EFI_PLATFORM_INFO_HOB); in InitializePlatform() 772 &VarSize, in InitializePlatform() 792 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitializePlatform() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformGopPolicy/ |
D | PlatformGopPolicy.c | 167 UINTN VarSize; in PlatformGOPPolicyEntryPoint() 185 VarSize = sizeof(SYSTEM_CONFIGURATION); in PlatformGOPPolicyEntryPoint() 190 &VarSize, in PlatformGOPPolicyEntryPoint() 193 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in PlatformGOPPolicyEntryPoint() 195 VarSize = sizeof(SYSTEM_CONFIGURATION); in PlatformGOPPolicyEntryPoint() 200 &VarSize, in PlatformGOPPolicyEntryPoint()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/ |
D | Measurement.c | 86 IN UINTN VarSize in MeasureVariable() argument 94 ASSERT ((VarSize == 0 && VarData == NULL) || (VarSize != 0 && VarData != NULL)); in MeasureVariable() 97 VarLogSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 107 VarLog->VariableDataLength = VarSize; in MeasureVariable() 113 if (VarSize != 0) { in MeasureVariable() 117 VarSize in MeasureVariable()
|
D | Variable.c | 2146 UINTN VarSize; in UpdateVariable() local 2518 VarSize = VarDataOffset + DataSize + GET_PAD_SIZE (DataSize); in UpdateVariable() 2532 … && ((VarSize + mVariableModuleGlobal->HwErrVariableTotalSize) > PcdGet32 (PcdHwErrStorageSize))) in UpdateVariable() 2533 …|| (IsCommonVariable && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize) > mVariableMod… in UpdateVariable() 2534 …|| (IsCommonVariable && AtRuntime () && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize… in UpdateVariable() 2535 …|| (IsCommonUserVariable && ((VarSize + mVariableModuleGlobal->CommonUserVariableTotalSize) > mVar… in UpdateVariable() 2537 …if (IsCommonUserVariable && ((VarSize + mVariableModuleGlobal->CommonUserVariableTotalSize) > mVar… in UpdateVariable() 2538 … RecordVarErrorFlag (VAR_ERROR_FLAG_USER_ERROR, VariableName, VendorGuid, Attributes, VarSize); in UpdateVariable() 2540 …if (IsCommonVariable && ((VarSize + mVariableModuleGlobal->CommonVariableTotalSize) > mVariableMod… in UpdateVariable() 2541 … RecordVarErrorFlag (VAR_ERROR_FLAG_SYSTEM_ERROR, VariableName, VendorGuid, Attributes, VarSize); in UpdateVariable() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTablePei/ |
D | FirmwarePerformancePei.c | 70 UINTN VarSize; in FpdtStatusCodeListenerPei() local 95 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in FpdtStatusCodeListenerPei() 96 …Status = RestoreLockBox (&gFirmwarePerformanceS3PointerGuid, &S3PerformanceTablePointer, &VarSize); in FpdtStatusCodeListenerPei() 122 VarSize = sizeof (EFI_ACPI_5_0_FPDT_S3_SUSPEND_RECORD); in FpdtStatusCodeListenerPei() 127 &VarSize in FpdtStatusCodeListenerPei()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | BootMode.c | 156 UINTN VarSize; 189 VarSize = sizeof (SYSTEM_CONFIGURATION); 205 VarSize = sizeof(SYSTEM_CONFIGURATION); 211 &VarSize, 214 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { 216 VarSize = sizeof(SYSTEM_CONFIGURATION); 222 &VarSize,
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/ |
D | Platform.c | 152 UINTN VarSize; in InitializePlatformSmm() 174 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitializePlatformSmm() 179 &VarSize, in InitializePlatformSmm() 182 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in InitializePlatformSmm() 184 VarSize = sizeof(SYSTEM_CONFIGURATION); in InitializePlatformSmm() 189 &VarSize, in InitializePlatformSmm() 851 UINTN VarSize; in EnableS5WakeOnRtc() 860 VarSize = sizeof(SYSTEM_CONFIGURATION); in EnableS5WakeOnRtc() 869 &VarSize, in EnableS5WakeOnRtc() 872 if (EFI_ERROR(Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in EnableS5WakeOnRtc() [all …]
|
D | S3Save.c | 47 UINTN VarSize; 69 VarSize = sizeof (UINTN); 74 &VarSize,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/ |
D | AcpiVariableThunkPlatform.c | 162 UINTN VarSize; in InstallAcpiS3SaveThunk() local 175 VarSize = sizeof (mAcpiVariableSetCompatibility); in InstallAcpiS3SaveThunk() 180 &VarSize, in InstallAcpiS3SaveThunk() 183 if (EFI_ERROR (Status) || (VarSize != sizeof (mAcpiVariableSetCompatibility))) { in InstallAcpiS3SaveThunk()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PciPlatform/ |
D | PciPlatform.c | 345 UINTN VarSize; in PciPlatformDriverEntry() 347 VarSize = sizeof(SYSTEM_CONFIGURATION); in PciPlatformDriverEntry() 352 &VarSize, in PciPlatformDriverEntry() 355 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in PciPlatformDriverEntry() 357 VarSize = sizeof(SYSTEM_CONFIGURATION); in PciPlatformDriverEntry() 362 &VarSize, in PciPlatformDriverEntry()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TcgDxe/ |
D | TcgDxe.c | 837 OUT UINTN *VarSize in ReadVariable() argument 843 *VarSize = 0; in ReadVariable() 848 VarSize, in ReadVariable() 855 VarData = AllocatePool (*VarSize); in ReadVariable() 861 VarSize, in ReadVariable() 867 *VarSize = 0; in ReadVariable() 896 IN UINTN VarSize in MeasureVariable() argument 907 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 917 VarLog->VariableDataLength = VarSize; in MeasureVariable() 926 VarSize in MeasureVariable() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/ |
D | BdsPlatform.c | 294 UINTN VarSize; 326 VarSize = sizeof(SYSTEM_CONFIGURATION); 331 &VarSize, 334 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { 336 VarSize = sizeof(SYSTEM_CONFIGURATION); 341 &VarSize, 623 UINTN VarSize; in PlatformBdsForceActiveVga() 639 VarSize = sizeof(SYSTEM_CONFIGURATION); in PlatformBdsForceActiveVga() 644 &VarSize, in PlatformBdsForceActiveVga() 647 if (EFI_ERROR (Status) || VarSize != sizeof(SYSTEM_CONFIGURATION)) { in PlatformBdsForceActiveVga() [all …]
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | Measurement.c | 228 IN UINTN VarSize in MeasureVariable() argument 241 VarLogSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 251 VarLog->VariableDataLength = VarSize; in MeasureVariable() 260 VarSize in MeasureVariable()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmPerformance.c | 175 UINTN VarSize; in BmWriteBootToOsPerformanceData() local 211 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in BmWriteBootToOsPerformanceData() 216 &VarSize, in BmWriteBootToOsPerformanceData()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | Performance.c | 171 UINTN VarSize; in WriteBootToOsPerformanceData() local 207 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in WriteBootToOsPerformanceData() 212 &VarSize, in WriteBootToOsPerformanceData()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | TrEEDxe.c | 1140 IN UINTN VarSize in MeasureVariable() argument 1154 TcgEvent.EventSize = (UINT32)(sizeof (*VarLog) + VarNameLength * sizeof (*VarName) + VarSize in MeasureVariable() 1164 VarLog->VariableDataLength = VarSize; in MeasureVariable() 1170 if (VarSize != 0 && VarData != NULL) { in MeasureVariable() 1174 VarSize in MeasureVariable() 1211 OUT UINTN *VarSize, in ReadAndMeasureVariable() argument 1217 Status = GetVariable2 (VarName, VendorGuid, VarData, VarSize); in ReadAndMeasureVariable() 1224 *VarSize = 0; in ReadAndMeasureVariable() 1241 *VarSize in ReadAndMeasureVariable() 1263 OUT UINTN *VarSize, in ReadAndMeasureBootVariable() argument [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/ |
D | BootMode.c | 327 UINTN VarSize; 340 VarSize = sizeof (SYSTEM_CONFIGURATION); 346 &VarSize,
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Universal/Acpi/S3Resume2Pei/ |
D | S3Resume.c | 284 UINTN VarSize; in WriteToOsS3PerformanceData() local 315 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in WriteToOsS3PerformanceData() 321 &VarSize, in WriteToOsS3PerformanceData() 950 UINTN VarSize; in S3RestoreConfig2() local 962 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in S3RestoreConfig2() 966 &VarSize in S3RestoreConfig2() 980 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in S3RestoreConfig2() 984 &VarSize in S3RestoreConfig2()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | Performance.c | 177 UINTN VarSize; in WriteBootToOsPerformanceData() local 207 VarSize = sizeof (EFI_PHYSICAL_ADDRESS); in WriteBootToOsPerformanceData() 212 &VarSize, in WriteBootToOsPerformanceData()
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/ |
D | PwdCredentialProvider.c | 208 UINTN VarSize; in InitCredentialTable() local 213 VarSize = 0; in InitCredentialTable() 219 &VarSize, in InitCredentialTable() 223 Var = AllocateZeroPool (VarSize); in InitCredentialTable() 231 &VarSize, in InitCredentialTable() 245 VarSize in InitCredentialTable() 252 mPwdTable->Count = VarSize / sizeof (PASSWORD_INFO); in InitCredentialTable() 256 CopyMem (mPwdTable->UserInfo, Var, VarSize); in InitCredentialTable()
|
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/ |
D | UsbCredentialProvider.c | 185 UINTN VarSize; in InitCredentialTable() local 190 VarSize = 0; in InitCredentialTable() 196 &VarSize, in InitCredentialTable() 200 Var = AllocateZeroPool (VarSize); in InitCredentialTable() 208 &VarSize, in InitCredentialTable() 222 VarSize in InitCredentialTable() 229 mUsbTable->Count = VarSize / sizeof (USB_INFO); in InitCredentialTable() 232 CopyMem (mUsbTable->UserInfo, Var, VarSize); in InitCredentialTable()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/ |
D | Ip4Config2Impl.c | 202 UINTN VarSize; in Ip4Config2ReadConfigData() local 212 VarSize = 0; in Ip4Config2ReadConfigData() 217 &VarSize, in Ip4Config2ReadConfigData() 225 Variable = AllocatePool (VarSize); in Ip4Config2ReadConfigData() 234 &VarSize, in Ip4Config2ReadConfigData() 237 …if (EFI_ERROR (Status) || (UINT16) (~NetblockChecksum ((UINT8 *) Variable, (UINT32) VarSize)) != 0… in Ip4Config2ReadConfigData() 318 UINTN VarSize; in Ip4Config2WriteConfigData() local 325 VarSize = sizeof (IP4_CONFIG2_VARIABLE) - sizeof (IP4_CONFIG2_DATA_RECORD); in Ip4Config2WriteConfigData() 332 VarSize += sizeof (IP4_CONFIG2_DATA_RECORD) + DataItem->DataSize; in Ip4Config2WriteConfigData() 336 Variable = AllocatePool (VarSize); in Ip4Config2WriteConfigData() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Ip6Dxe/ |
D | Ip6ConfigImpl.c | 328 UINTN VarSize; in Ip6ConfigReadConfigData() local 338 VarSize = 0; in Ip6ConfigReadConfigData() 343 &VarSize, in Ip6ConfigReadConfigData() 351 Variable = AllocatePool (VarSize); in Ip6ConfigReadConfigData() 360 &VarSize, in Ip6ConfigReadConfigData() 363 …if (EFI_ERROR (Status) || (UINT16) (~NetblockChecksum ((UINT8 *) Variable, (UINT32) VarSize)) != 0… in Ip6ConfigReadConfigData() 448 UINTN VarSize; in Ip6ConfigWriteConfigData() local 455 VarSize = sizeof (IP6_CONFIG_VARIABLE) - sizeof (IP6_CONFIG_DATA_RECORD); in Ip6ConfigWriteConfigData() 462 VarSize += sizeof (IP6_CONFIG_DATA_RECORD) + DataItem->DataSize; in Ip6ConfigWriteConfigData() 466 Variable = AllocatePool (VarSize); in Ip6ConfigWriteConfigData() [all …]
|