Searched defs:InfoSize (Results 1 - 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
H A DBootMonFsLoader.c50 UINTN InfoSize; local
56 InfoSize = sizeof (Info);
59 &InfoSize, &Info);
114 UINTN InfoSize; local
126 InfoSize = sizeof (Info);
128 &InfoSize, &Info);
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
H A DUserProfileDelete.c33 UINTN InfoSize; local
51 InfoSize = MemSize;
69 &InfoSize
72 MemSize = InfoSize;
82 &InfoSize
90 NameLen = Info->InfoSize - sizeof (EFI_USER_INFO);
190 UINTN InfoSize; local
218 InfoSize = 0;
220 Status = mUserManager->GetInfo (mUserManager, User, UserInfo, Info, &InfoSize);
222 Info = AllocateZeroPool (InfoSize);
[all...]
H A DUserProfileModify.c117 UINTN InfoSize; local
165 InfoSize = MemSize;
171 &InfoSize
174 MemSize = InfoSize;
186 &InfoSize
194 DataLen = Info->InfoSize - sizeof (EFI_USER_INFO);
771 UINTN InfoSize; local
799 InfoSize = MemSize;
805 &InfoSize
808 MemSize = InfoSize;
1392 UINTN InfoSize; local
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
H A DFaultTolerantWriteSmm.c317 UINTN InfoSize; local
393 // Prevent InfoSize overflow
398 InfoSize = OFFSET_OF (SMM_FTW_WRITE_HEADER, Data) + Length + PrivateDataSize;
403 if (InfoSize > CommBufferPayloadSize) {
461 // Prevent InfoSize overflow
466 InfoSize = OFFSET_OF (SMM_FTW_GET_LAST_WRITE_HEADER, Data) + PrivateDataSize;
471 if (InfoSize > CommBufferPayloadSize) {
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/
H A DFvSimpleFileSystem.c304 UINTN InfoSize; local
306 InfoSize = (UINTN)FvFileInfo->FileInfo.Size;
307 if (*BufferSize < InfoSize) {
308 *BufferSize = InfoSize;
315 CopyMem (FileInfo, &FvFileInfo->FileInfo, InfoSize);
317 *BufferSize = InfoSize;
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
H A DVariableSmm.c330 InfoEntry and InfoSize are external input. Care must be taken to make sure not security issue at runtime.
336 @param[in, out] InfoSize On input, the size of the variable information buffer.
349 IN OUT UINTN *InfoSize
368 if (*InfoSize < StatisticsInfoSize) {
369 *InfoSize = StatisticsInfoSize;
382 *InfoSize = StatisticsInfoSize;
406 *InfoSize = 0;
414 if (*InfoSize < StatisticsInfoSize) {
415 *InfoSize = StatisticsInfoSize;
421 *InfoSize
471 UINTN InfoSize; local
[all...]
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/
H A DImageAuthentication.h311 UINT32 InfoSize; member in struct:__anon6658
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
H A DDxeDeferImageLoadLib.c179 UINTN InfoSize; local
202 InfoSize = 0;
217 &InfoSize
223 Info = AllocateZeroPool (InfoSize);
230 &InfoSize
247 while (CheckLen < Info->InfoSize - sizeof (EFI_USER_INFO)) {
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
H A DPosixFileSystem.c381 UINTN InfoSize; local
597 InfoSize = 0;
599 Status = PosixFileGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info);
605 Info = malloc (InfoSize);
610 Status = PosixFileGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info);
616 PosixFileSetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, InfoSize, Info);
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
H A DWinNtSimpleFileSystem.c879 UINTN InfoSize; local
1263 InfoSize = 0;
1266 Status = WinNtSimpleFileSystemGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info);
1273 Info = AllocatePool (InfoSize);
1279 Status = WinNtSimpleFileSystemGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info);
1288 WinNtSimpleFileSystemSetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, InfoSize, Info);
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
H A DFont.c975 UINTN InfoSize; local
989 InfoSize = sizeof (EFI_FONT_DISPLAY_INFO) - sizeof (CHAR16) + NameSize;
990 Info = (EFI_FONT_DISPLAY_INFO *) AllocateZeroPool (InfoSize);
1004 *FontInfoSize = InfoSize;
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
H A DUserManager.h75 UINT32 InfoSize; member in struct:__anon8236
426 If InfoSize is 0, then the user information record must be empty.
428 @param[in] InfoSize The size of Info, in bytes.
442 IN UINTN InfoSize
486 @param[out] Info On entry, points to a buffer of at least *InfoSize bytes. On exit, holds the user
488 EFI_BUFFER_TOO_SMALL is returned and InfoSize is updated to contain the
490 @param[in,out] InfoSize On entry, points to the size of Info. On return, points to the size of the user
495 @retval EFI_BUFFER_TOO_SMALL The number of bytes specified by *InfoSize is too small to hold
496 the returned data. The actual size required is returned in *InfoSize.
499 @retval EFI_INVALID_PARAMETER Info is NULL or InfoSize i
[all...]
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/
H A DUserIdentifyManager.c207 InfoLen += ALIGN_VARIABLE (UserInfo->InfoSize);
216 InfoLen += ALIGN_VARIABLE (UserInfo->InfoSize);
301 InfoLen += ALIGN_VARIABLE (UserInfo->InfoSize);
325 @param[in] InfoSize The size of Info, in bytes. Same as Info->InfoSize.
330 @retval EFI_INVALID_PARAMETER User is NULL; Info is NULL; or, InfoSize is too small.
338 IN UINTN InfoSize
349 if (InfoSize < sizeof (EFI_USER_INFO)) {
380 if (InfoSize == Info->InfoSize) {
1029 AddUserInfo( IN USER_PROFILE_ENTRY *User, IN UINT8 *Info, IN UINTN InfoSize, OUT EFI_USER_INFO **UserInfo, OPTIONAL IN BOOLEAN Save ) argument
1101 GetUserInfo( IN USER_PROFILE_ENTRY *User, IN EFI_USER_INFO *UserInfo, OUT EFI_USER_INFO *Info, IN OUT UINTN *InfoSize, IN BOOLEAN ChkRight ) argument
[all...]

Completed in 193 milliseconds