Home
last modified time | relevance | path

Searched refs:InfoSize (Results 1 – 25 of 25) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
DUserProfileDelete.c33 UINTN InfoSize; in GetUserName() local
51 InfoSize = MemSize; in GetUserName()
69 &InfoSize in GetUserName()
72 MemSize = InfoSize; in GetUserName()
82 &InfoSize in GetUserName()
90 NameLen = Info->InfoSize - sizeof (EFI_USER_INFO); in GetUserName()
190 UINTN InfoSize; in DeleteUser() local
218 InfoSize = 0; in DeleteUser()
220 Status = mUserManager->GetInfo (mUserManager, User, UserInfo, Info, &InfoSize); in DeleteUser()
222 Info = AllocateZeroPool (InfoSize); in DeleteUser()
[all …]
DUserProfileAdd.c138 NewUserInfo->InfoSize = (UINT32) (sizeof (EFI_USER_INFO) + UserNameLen); in SetUserName()
146 NewUserInfo->InfoSize in SetUserName()
162 NewUserInfo->InfoSize in SetUserName()
195 NewUserInfo->InfoSize = sizeof (EFI_USER_INFO) + sizeof (EFI_USER_INFO_CREATE_DATE); in SetCreateDate()
209 NewUserInfo->InfoSize in SetCreateDate()
244 NewUserInfo->InfoSize = sizeof (EFI_USER_INFO) + Policy->Length; in SetIdentityPolicy()
251 NewUserInfo->InfoSize in SetIdentityPolicy()
286 NewUserInfo->InfoSize = sizeof (EFI_USER_INFO) + Control->Size; in SetAccessPolicy()
293 NewUserInfo->InfoSize in SetAccessPolicy()
DUserProfileModify.c117 UINTN InfoSize; in GetAllUserInfo() local
165 InfoSize = MemSize; in GetAllUserInfo()
171 &InfoSize in GetAllUserInfo()
174 MemSize = InfoSize; in GetAllUserInfo()
186 &InfoSize in GetAllUserInfo()
194 DataLen = Info->InfoSize - sizeof (EFI_USER_INFO); in GetAllUserInfo()
771 UINTN InfoSize; in FindInfoByType() local
799 InfoSize = MemSize; in FindInfoByType()
805 &InfoSize in FindInfoByType()
808 MemSize = InfoSize; in FindInfoByType()
[all …]
DModifyIdentityPolicy.c459 Info->InfoSize = (UINT32) (sizeof (EFI_USER_INFO) + mUserInfo.NewIdentityPolicyLen); in SaveIdentityPolicy()
462 Status = mUserManager->SetInfo (mUserManager, mModifyUser, &UserInfo, Info, Info->InfoSize); in SaveIdentityPolicy()
DModifyAccessPolicy.c182 Info->InfoSize = (UINT32) (sizeof (EFI_USER_INFO) + mUserInfo.AccessPolicyLen); in SaveAccessPolicy()
189 Info->InfoSize in SaveAccessPolicy()
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/
DUserIdentifyManager.c207 InfoLen += ALIGN_VARIABLE (UserInfo->InfoSize); in FindUserInfo()
216 InfoLen += ALIGN_VARIABLE (UserInfo->InfoSize); in FindUserInfo()
301 InfoLen += ALIGN_VARIABLE (UserInfo->InfoSize); in FindUserInfoByType()
338 IN UINTN InfoSize in FindUserProfileByInfo() argument
349 if (InfoSize < sizeof (EFI_USER_INFO)) { in FindUserProfileByInfo()
380 if (InfoSize == Info->InfoSize) { in FindUserProfileByInfo()
381 …if (CompareMem ((UINT8 *) (InfoEntry + 1), (UINT8 *) (Info + 1), InfoSize - sizeof (EFI_USER_INFO)… in FindUserProfileByInfo()
619 InfoLen = Info->InfoSize - sizeof (EFI_USER_INFO); in CheckUserInfo()
727 ChkLen += ALIGN_VARIABLE (Info->InfoSize); in CheckProfileInfo()
774 TotalLen = Info->InfoSize - sizeof (EFI_USER_INFO); in CheckCurrentUserAccessRight()
[all …]
DUserIdentifyManager.h278 IN UINTN InfoSize
311 IN OUT UINTN *InfoSize
341 IN UINTN InfoSize
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Variable/RuntimeDxe/
DVariableSmm.c348 IN OUT UINTN *InfoSize in SmmVariableGetStatistics() argument
368 if (*InfoSize < StatisticsInfoSize) { in SmmVariableGetStatistics()
369 *InfoSize = StatisticsInfoSize; in SmmVariableGetStatistics()
373 InfoNameMaxSize = (*InfoSize - sizeof (VARIABLE_INFO_ENTRY)); in SmmVariableGetStatistics()
383 if (*InfoSize < StatisticsInfoSize) { in SmmVariableGetStatistics()
384 *InfoSize = StatisticsInfoSize; in SmmVariableGetStatistics()
389 *InfoSize = StatisticsInfoSize; in SmmVariableGetStatistics()
413 *InfoSize = 0; in SmmVariableGetStatistics()
422 if (*InfoSize < StatisticsInfoSize) { in SmmVariableGetStatistics()
423 *InfoSize = StatisticsInfoSize; in SmmVariableGetStatistics()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/ArmShellCmdRunAxf/
DBootMonFsLoader.c50 UINTN InfoSize; in BootMonFsCheckFile() local
56 InfoSize = sizeof (Info); in BootMonFsCheckFile()
59 &InfoSize, &Info); in BootMonFsCheckFile()
114 UINTN InfoSize; in BootMonFsLoadFile() local
126 InfoSize = sizeof (Info); in BootMonFsLoadFile()
128 &InfoSize, &Info); in BootMonFsLoadFile()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DUserManager.h75 UINT32 InfoSize; member
442 IN UINTN InfoSize
508 IN OUT UINTN *InfoSize
548 IN UINTN InfoSize
DUserCredential.h245 IN OUT UINTN *InfoSize
DUserCredential2.h243 IN OUT UINTN *InfoSize
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UsbCredentialProviderDxe/
DUsbCredentialProvider.c1106 IN OUT UINTN *InfoSize in CredentialGetInfo() argument
1112 if ((This == NULL) || (InfoSize == NULL) || (Info == NULL)) { in CredentialGetInfo()
1129 if (CredentialInfo->InfoSize > *InfoSize) { in CredentialGetInfo()
1130 *InfoSize = CredentialInfo->InfoSize; in CredentialGetInfo()
1134 CopyMem (Info, CredentialInfo, CredentialInfo->InfoSize); in CredentialGetInfo()
1197 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
1215 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
1232 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
1250 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
DUsbCredentialProvider.h310 IN OUT UINTN *InfoSize
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/PwdCredentialProviderDxe/
DPwdCredentialProvider.c1158 IN OUT UINTN *InfoSize in CredentialGetInfo() argument
1164 if ((This == NULL) || (InfoSize == NULL) || (Info == NULL)) { in CredentialGetInfo()
1181 if (CredentialInfo->InfoSize > *InfoSize) { in CredentialGetInfo()
1182 *InfoSize = CredentialInfo->InfoSize; in CredentialGetInfo()
1185 CopyMem (Info, CredentialInfo, CredentialInfo->InfoSize); in CredentialGetInfo()
1248 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
1266 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
1283 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
1301 Info->InfoSize = (UINT32) InfoLen; in CredentialGetNextInfo()
DPwdCredentialProvider.h322 IN OUT UINTN *InfoSize
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FaultTolerantWriteDxe/
DFaultTolerantWriteSmm.c317 UINTN InfoSize; in SmmFaultTolerantWriteHandler() local
398 InfoSize = OFFSET_OF (SMM_FTW_WRITE_HEADER, Data) + Length + PrivateDataSize; in SmmFaultTolerantWriteHandler()
403 if (InfoSize > CommBufferPayloadSize) { in SmmFaultTolerantWriteHandler()
466 InfoSize = OFFSET_OF (SMM_FTW_GET_LAST_WRITE_HEADER, Data) + PrivateDataSize; in SmmFaultTolerantWriteHandler()
471 if (InfoSize > CommBufferPayloadSize) { in SmmFaultTolerantWriteHandler()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
DDxeDeferImageLoadLib.c179 UINTN InfoSize; in GetAccessControl() local
202 InfoSize = 0; in GetAccessControl()
217 &InfoSize in GetAccessControl()
223 Info = AllocateZeroPool (InfoSize); in GetAccessControl()
230 &InfoSize in GetAccessControl()
247 while (CheckLen < Info->InfoSize - sizeof (EFI_USER_INFO)) { in GetAccessControl()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/FvSimpleFileSystemDxe/
DFvSimpleFileSystem.c304 UINTN InfoSize; in FvFsGetFileInfo() local
306 InfoSize = (UINTN)FvFileInfo->FileInfo.Size; in FvFsGetFileInfo()
307 if (*BufferSize < InfoSize) { in FvFsGetFileInfo()
308 *BufferSize = InfoSize; in FvFsGetFileInfo()
315 CopyMem (FileInfo, &FvFileInfo->FileInfo, InfoSize); in FvFsGetFileInfo()
317 *BufferSize = InfoSize; in FvFsGetFileInfo()
/device/linaro/bootloader/edk2/MdePkg/Include/Guid/
DImageAuthentication.h300 UINT32 InfoSize; member
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DPosixFileSystem.c381 UINTN InfoSize; in PosixFileOpen() local
597 InfoSize = 0; in PosixFileOpen()
599 Status = PosixFileGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info); in PosixFileOpen()
605 Info = malloc (InfoSize); in PosixFileOpen()
610 Status = PosixFileGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info); in PosixFileOpen()
616 PosixFileSetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, InfoSize, Info); in PosixFileOpen()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSimpleFileSystemDxe/
DWinNtSimpleFileSystem.c879 UINTN InfoSize; in WinNtSimpleFileSystemOpen() local
1263 InfoSize = 0; in WinNtSimpleFileSystemOpen()
1266 …s = WinNtSimpleFileSystemGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Info); in WinNtSimpleFileSystemOpen()
1273 Info = AllocatePool (InfoSize); in WinNtSimpleFileSystemOpen()
1279 …Status = WinNtSimpleFileSystemGetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, &InfoSize, Inf… in WinNtSimpleFileSystemOpen()
1288 WinNtSimpleFileSystemSetInfo (&NewPrivateFile->EfiFile, &gEfiFileInfoGuid, InfoSize, Info); in WinNtSimpleFileSystemOpen()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DFont.c987 UINTN InfoSize; in GetSystemFont() local
1001 InfoSize = sizeof (EFI_FONT_DISPLAY_INFO) - sizeof (CHAR16) + NameSize; in GetSystemFont()
1002 Info = (EFI_FONT_DISPLAY_INFO *) AllocateZeroPool (InfoSize); in GetSystemFont()
1016 *FontInfoSize = InfoSize; in GetSystemFont()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/
DDxeImageVerificationLib.c714 TotalSize += ReadUnaligned32 ((UINT32 *) &ImageExeInfoItem->InfoSize); in GetImageExeInfoTableSize()
715 …ON_INFO *) ((UINT8 *) ImageExeInfoItem + ReadUnaligned32 ((UINT32 *) &ImageExeInfoItem->InfoSize)); in GetImageExeInfoTableSize()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SetupBrowserDxe/
DExpression.c2357 UserInfo->InfoSize <= sizeof (EFI_USER_INFO)) { in CheckUserPrivilege()
2362 RemainSize = UserInfo->InfoSize - sizeof (EFI_USER_INFO); in CheckUserPrivilege()