/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
BdsHelper.c | 141 UINTN VariableSize;
145 VariableSize = 0;
146 Status = gRT->GetVariable ((CHAR16 *) VariableName, VendorGuid, NULL, &VariableSize, *Value);
163 *Value = AllocatePool (VariableSize);
168 Status = gRT->GetVariable ((CHAR16 *)VariableName, VendorGuid, NULL, &VariableSize, *Value);
175 *Size = VariableSize;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
PlatformInfoInit.c | 54 UINTN VariableSize;
69 VariableSize = sizeof (OsSelection);
75 &VariableSize,
132 UINTN VariableSize;
149 VariableSize = sizeof(MemoryCeiling);
155 &VariableSize,
|
PlatformEarlyInit.c | 179 UINTN VariableSize;
183 VariableSize = sizeof (SYSTEM_CONFIGURATION);
199 VariableSize = sizeof(SYSTEM_CONFIGURATION);
205 &VariableSize,
208 if (EFI_ERROR (Status) || VariableSize != sizeof(SYSTEM_CONFIGURATION)) {
210 VariableSize = sizeof(SYSTEM_CONFIGURATION);
216 &VariableSize,
[all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/ |
HiKeyDxe.c | 53 UINTN VariableSize; 92 VariableSize = SERIAL_NUMBER_LENGTH * sizeof (CHAR16); 97 &VariableSize, 107 VariableSize, 116 VariableSize = SERIAL_NUMBER_LENGTH * sizeof (CHAR16); 121 &VariableSize, 131 VariableSize, 135 CopyMem (mSerialNo, SerialNoUnicode, VariableSize); 150 UINTN VariableSize; 155 VariableSize = SERIAL_NUMBER_LENGTH * sizeof (CHAR16) [all...] |
InstallBootMenu.c | 737 UINTN VariableSize; 742 VariableSize = sizeof (UINT16); 747 &VariableSize,
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/Arm/ |
BootAndroidBootImg.c | 82 UINTN VariableSize;
130 VariableSize = 17 * sizeof(CHAR16);
132 &VariableSize, &DataUnicode);
134 DataUnicode[(VariableSize / sizeof(CHAR16)) - 1] = '\0';
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/ |
BoardClkGens.c | 292 UINTN VariableSize;
337 VariableSize = sizeof (SYSTEM_CONFIGURATION);
351 VariableSize = sizeof(SYSTEM_CONFIGURATION);
356 &VariableSize,
358 if (EFI_ERROR (Status) || VariableSize != sizeof(SYSTEM_CONFIGURATION)) {
360 VariableSize = sizeof(SYSTEM_CONFIGURATION);
365 &VariableSize,
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
BdsEntry.c | 359 UINTN VariableSize;
365 &VariableSize
367 if ((DevicePath != NULL) && !IsDevicePathValid (DevicePath, VariableSize)) {
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
BmMisc.c | 140 UINTN VariableSize;
169 VariableSize = 0;
174 &VariableSize,
207 VariableSize = GET_GUID_HOB_DATA_SIZE (GuidHob);
269 VariableSize,
|
BmLoadOption.c | 174 UINTN VariableSize;
214 VariableSize = sizeof (Option->Attributes)
220 Variable = AllocatePool (VariableSize);
257 VariableSize,
709 @param VariableSize The variable size.
718 UINTN VariableSize
725 if (VariableSize <= sizeof (UINT16) + sizeof (UINT32)) {
743 DescriptionSize = BmStrSizeEx ((CHAR16 *) Variable, VariableSize - sizeof (UINT16) - sizeof (UINT32));
758 if (sizeof (UINT32) + sizeof (UINT16) + DescriptionSize + FilePathSize > VariableSize) {
844 UINTN VariableSize;
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/ |
IpSecConfigImpl.h | 52 UINT32 VariableSize; // The total size of all IpsecConfig variables.
[all...] |
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ |
ArmJunoDxe.c | 117 UINTN VariableSize;
132 VariableSize = sizeof (UINT32) + sizeof (UINT16) +
134 Variable = AllocateZeroPool (VariableSize);
158 VariableSize, Variable
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/ |
VariableFormat.h | 202 UINTN VariableSize;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/ |
BdsEntry.c | 397 UINTN VariableSize;
400 GetEfiGlobalVariable2 (VariableName, (VOID **) &DevicePath, &VariableSize);
401 if ((DevicePath != NULL) && !IsDevicePathValid (DevicePath, VariableSize)) {
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/ |
Terminal.c | [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/ |
EmuVariable.c | [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/ |
HiKeyFastboot.c | 672 UINTN VariableSize;
679 VariableSize = 17 * sizeof (CHAR16);
684 &VariableSize,
691 DataUnicode[(VariableSize / sizeof(CHAR16)) - 1] = '\0';
748 UINTN Index = 0, VariableSize;
767 VariableSize = sizeof (UINT16);
772 &VariableSize,
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
FSVariable.c | 313 UINTN VariableSize;
367 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
368 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize);
369 ValidBufferSize += VariableSize;
370 CurrPtr += VariableSize;
372 mGlobal->HwErrVariableTotalSize += VariableSize;
374 mGlobal->CommonVariableTotalSize += VariableSize;
382 VariableSize = (UINTN) NextVariable - (UINTN) Variable;
383 CopyMem (CurrPtr, (UINT8 *) Variable, VariableSize);
390 CurrPtr += VariableSize;
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
BdsConsole.c | 343 UINTN VariableSize;
359 &VariableSize
[all...] |
BdsMisc.c | 500 @param VariableSize Returns the size of the EFI variable that was read
509 UINTN VariableSize
517 if (VariableSize <= sizeof (UINT16) + sizeof (UINT32)) {
536 TempSize = StrSizeEx ((CHAR16 *) TempPtr, VariableSize - sizeof (UINT16) - sizeof (UINT32));
552 if (TempSize + FilePathSize + sizeof (UINT16) + sizeof (UINT32) > VariableSize) {
607 UINTN VariableSize;
621 &VariableSize
630 if (!ValidateOption(Variable, VariableSize)) {
672 LoadOptionsSize = (UINT32) (VariableSize - (UINTN) (TempPtr - Variable));
803 @param VariableSize Returns the size of the EFI variable that was read [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/AcpiPlatform/ |
AcpiPlatform.c | 647 UINTN VariableSize;
668 VariableSize = sizeof(EFI_PLATFORM_CPU_INFO);
673 &VariableSize,
692 VariableSize = sizeof (SYSTEM_CONFIGURATION);
697 &VariableSize,
700 if (EFI_ERROR (Status) || VariableSize != sizeof(SYSTEM_CONFIGURATION)) {
702 VariableSize = sizeof(SYSTEM_CONFIGURATION);
707 &VariableSize,
[all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
BdsConsole.c | 343 UINTN VariableSize;
359 &VariableSize
[all...] |
BdsMisc.c | 500 @param VariableSize Returns the size of the EFI variable that was read
509 UINTN VariableSize
517 if (VariableSize <= sizeof (UINT16) + sizeof (UINT32)) {
536 TempSize = StrSizeEx ((CHAR16 *) TempPtr, VariableSize - sizeof (UINT16) - sizeof (UINT32));
552 if (TempSize + FilePathSize + sizeof (UINT16) + sizeof (UINT32) > VariableSize) {
607 UINTN VariableSize;
621 &VariableSize
630 if (!ValidateOption(Variable, VariableSize)) {
672 LoadOptionsSize = (UINT32) (VariableSize - (UINTN) (TempPtr - Variable));
803 @param VariableSize Returns the size of the EFI variable that was read [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/ |
Platform.c | 705 UINTN VariableSize;
757 VariableSize = sizeof (SYSTEM_CONFIGURATION);
758 ZeroMem (&SystemConfiguration, VariableSize);
776 &VariableSize,
779 if (EFI_ERROR (Status) || VariableSize != sizeof(SYSTEM_CONFIGURATION)) {
781 VariableSize = sizeof(SYSTEM_CONFIGURATION);
787 &VariableSize,
[all...] |
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/EsalVariableDxeSal/ |
Variable.c | [all...] |