/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiDhcp.c | 198 UINT32 OptionCount; in IScsiDhcpSelectOffer() local 206 OptionCount = 0; in IScsiDhcpSelectOffer() 208 Status = This->Parse (This, Packet, &OptionCount, NULL); in IScsiDhcpSelectOffer() 213 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in IScsiDhcpSelectOffer() 218 Status = This->Parse (This, Packet, &OptionCount, OptionList); in IScsiDhcpSelectOffer() 224 for (Index = 0; Index < OptionCount; Index++) { in IScsiDhcpSelectOffer() 238 if (Index == OptionCount) { in IScsiDhcpSelectOffer() 266 UINT32 OptionCount; in IScsiParseDhcpAck() local 283 OptionCount = 0; in IScsiParseDhcpAck() 286 Status = Dhcp4->Parse (Dhcp4, Dhcp4ModeData.ReplyPacket, &OptionCount, OptionList); in IScsiParseDhcpAck() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiDhcp.c | 216 UINT32 OptionCount; in IScsiDhcpSelectOffer() local 224 OptionCount = 0; in IScsiDhcpSelectOffer() 226 Status = This->Parse (This, Packet, &OptionCount, NULL); in IScsiDhcpSelectOffer() 231 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in IScsiDhcpSelectOffer() 236 Status = This->Parse (This, Packet, &OptionCount, OptionList); in IScsiDhcpSelectOffer() 242 for (Index = 0; Index < OptionCount; Index++) { in IScsiDhcpSelectOffer() 256 if ((Index == OptionCount)) { in IScsiDhcpSelectOffer() 286 UINT32 OptionCount; in IScsiParseDhcpAck() local 306 OptionCount = 0; in IScsiParseDhcpAck() 309 Status = Dhcp4->Parse (Dhcp4, Dhcp4ModeData.ReplyPacket, &OptionCount, OptionList); in IScsiParseDhcpAck() [all …]
|
D | IScsiDhcp6.c | 249 UINT32 OptionCount; in IScsiDhcp6ParseReply() local 255 OptionCount = 0; in IScsiDhcp6ParseReply() 258 Status = This->Parse (This, Packet, &OptionCount, NULL); in IScsiDhcp6ParseReply() 263 OptionList = AllocateZeroPool (OptionCount * sizeof (EFI_DHCP6_PACKET_OPTION *)); in IScsiDhcp6ParseReply() 268 Status = This->Parse (This, Packet, &OptionCount, OptionList); in IScsiDhcp6ParseReply() 276 for (Index = 0; Index < OptionCount; Index++) { in IScsiDhcp6ParseReply()
|
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
D | Mtftp6Option.c | 345 IN OUT UINT32 *OptionCount, in Mtftp6ParseStart() argument 351 if (PacketLen == 0 || Packet == NULL || OptionCount == NULL) { in Mtftp6ParseStart() 355 *OptionCount = 0; in Mtftp6ParseStart() 376 Status = Mtftp6ParsePacketOption (Packet, PacketLen, OptionCount, NULL); in Mtftp6ParseStart() 385 if (*OptionCount == 0) { in Mtftp6ParseStart() 399 *OptionList = AllocateZeroPool (*OptionCount * sizeof (EFI_MTFTP6_OPTION)); in Mtftp6ParseStart() 409 Status = Mtftp6ParsePacketOption (Packet, PacketLen, OptionCount, *OptionList); in Mtftp6ParseStart()
|
D | Mtftp6Impl.c | 332 IN UINT8 OptionCount, in EfiMtftp6GetInfo() argument 345 (OptionCount != 0 && OptionList == NULL) || in EfiMtftp6GetInfo() 369 Token.OptionCount = OptionCount; in EfiMtftp6GetInfo() 430 OUT UINT32 *OptionCount, in EfiMtftp6ParseOptions() argument 438 return Mtftp6ParseStart (Packet, PacketLen, OptionCount, OptionList); in EfiMtftp6ParseOptions()
|
D | Mtftp6Impl.h | 256 IN UINT8 OptionCount, 298 OUT UINT32 *OptionCount,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmLoadOption.c | 953 UINTN OptionCount; member 987 for (Index = 0; Index < Param->OptionCount; Index++) { in BmCollectLoadOptions() 993 Param->OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), in BmCollectLoadOptions() 994 (Param->OptionCount + 1) * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), in BmCollectLoadOptions() 998 …CopyMem (&Param->Options[Index + 1], &Param->Options[Index], (Param->OptionCount - Index) * sizeof… in BmCollectLoadOptions() 1000 Param->OptionCount++; in BmCollectLoadOptions() 1020 OUT UINTN *OptionCount, in EfiBootManagerGetLoadOptions() argument 1034 *OptionCount = 0; in EfiBootManagerGetLoadOptions() 1046 *OptionCount = OptionOrderSize / sizeof (UINT16); in EfiBootManagerGetLoadOptions() 1048 Options = AllocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION)); in EfiBootManagerGetLoadOptions() [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/ |
D | Dhcp6Impl.c | 427 if (Dhcp6CfgData->OptionCount > 0 && Dhcp6CfgData->OptionList == NULL) { in EfiDhcp6Configure() 431 for (Index = 0; Index < Dhcp6CfgData->OptionCount; Index++) { in EfiDhcp6Configure() 595 IN UINT32 OptionCount, in EfiDhcp6InfoRequest() argument 619 if (OptionCount > 0 && OptionList == NULL) { in EfiDhcp6InfoRequest() 624 for (Index = 0; Index < OptionCount; Index++) { in EfiDhcp6InfoRequest() 638 OptionCount, in EfiDhcp6InfoRequest() 676 OptionCount, in EfiDhcp6InfoRequest() 1141 IN OUT UINT32 *OptionCount, in EfiDhcp6Parse() argument 1151 if (This == NULL || Packet == NULL || OptionCount == NULL) { in EfiDhcp6Parse() 1155 if (*OptionCount != 0 && PacketOptionList == NULL) { in EfiDhcp6Parse() [all …]
|
D | Dhcp6Io.h | 158 IN UINT32 OptionCount, 190 IN UINT32 OptionCount,
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/ |
D | Mtftp4Impl.c | 374 ((Token->OptionCount != 0) && (Token->OptionList == NULL))) { in Mtftp4Start() 424 if (Token->OptionCount != 0) { in Mtftp4Start() 427 Token->OptionCount, in Mtftp4Start() 740 OUT UINT32 *OptionCount, in EfiMtftp4ParseOptions() argument 747 (Packet == NULL) || (OptionCount == NULL)) { in EfiMtftp4ParseOptions() 752 Status = Mtftp4ExtractOptions (Packet, PacketLen, OptionCount, OptionList); in EfiMtftp4ParseOptions() 758 if (*OptionCount == 0) { in EfiMtftp4ParseOptions() 999 IN UINT8 OptionCount, in EfiMtftp4GetInfo() argument 1010 ((OptionCount != 0) && (OptionList == NULL))) { in EfiMtftp4GetInfo() 1031 Token.OptionCount = OptionCount; in EfiMtftp4GetInfo()
|
D | Mtftp4Option.c | 247 OUT UINT32 *OptionCount, in Mtftp4ExtractOptions() argument 253 *OptionCount = 0; in Mtftp4ExtractOptions() 277 Status = Mtftp4FillOptions (Packet, PacketLen, OptionCount, NULL); in Mtftp4ExtractOptions() 291 *OptionList = AllocatePool (*OptionCount * sizeof (EFI_MTFTP4_OPTION)); in Mtftp4ExtractOptions() 297 Mtftp4FillOptions (Packet, PacketLen, OptionCount, *OptionList); in Mtftp4ExtractOptions()
|
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/ |
D | DnsDhcp.c | 238 UINT32 OptionCount; in ParseDhcp4Ack() local 248 OptionCount = 0; in ParseDhcp4Ack() 251 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack() 256 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in ParseDhcp4Ack() 261 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack() 269 for (Index = 0; Index < OptionCount; Index++) { in ParseDhcp4Ack() 328 UINT32 OptionCount; in ParseDhcp6Ack() local 336 OptionCount = 0; in ParseDhcp6Ack() 340 Status = This->Parse (This, Packet, &OptionCount, NULL); in ParseDhcp6Ack() 345 OptionList = AllocateZeroPool (OptionCount * sizeof (EFI_DHCP6_PACKET_OPTION *)); in ParseDhcp6Ack() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/ |
D | UefiIfrOpCodeCreation.c | 278 IN UINTN OptionCount, in CreateOneOfOptionOpCode() argument 290 if ((OptionCount != 0) && (OptionsList == NULL)) { in CreateOneOfOptionOpCode() 294 if (Data->Offset + OptionCount * sizeof (EFI_IFR_ONE_OF_OPTION) > Data->BufferSize) { in CreateOneOfOptionOpCode() 298 for (Index = 0; Index < OptionCount; Index++) { in CreateOneOfOptionOpCode() 326 IN UINTN OptionCount, in CreateOneOfOpCode() argument 338 ((OptionCount != 0) && (OptionsList == NULL))) { in CreateOneOfOpCode() 342 …Length = sizeof (EFI_IFR_ONE_OF) + OptionCount * sizeof (EFI_IFR_ONE_OF_OPTION) + sizeof (EFI_IFR_… in CreateOneOfOpCode() 363 …CreateOneOfOptionOpCode (OptionCount, OptionsList, (UINT8)(OneOfFlags & EFI_IFR_NUMERIC_SIZE), Dat… in CreateOneOfOpCode() 382 IN UINTN OptionCount, in CreateOrderedListOpCode() argument 393 ((OptionCount != 0) && (OptionsList == NULL))) { in CreateOrderedListOpCode() [all …]
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/ |
D | FrontPage.c | 304 UINTN OptionCount; in InitializeFrontPage() local 421 OptionCount = 0; in InitializeFrontPage() 424 OptionCount ++; in InitializeFrontPage() 430 gFrontPagePrivate.LanguageToken = AllocateZeroPool ((OptionCount + 1) * sizeof (EFI_STRING_ID)); in InitializeFrontPage() 437 OptionCount = 0; in InitializeFrontPage() 457 … gFrontPagePrivate.LanguageToken[OptionCount] = HiiSetString (HiiHandle, 0, StringBuffer, NULL); in InitializeFrontPage() 460 OptionCount++; in InitializeFrontPage() 466 OptionCount = 0; in InitializeFrontPage() 477 gFrontPagePrivate.LanguageToken[OptionCount], in InitializeFrontPage() 480 (UINT8) OptionCount in InitializeFrontPage() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
D | Dhcp4Impl.c | 325 IN OUT UINT32 *OptionCount, 438 for (Index = 0; Index < Config->OptionCount; Index++) { in DhcpCleanConfigure() 515 Len = Src->OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *); in DhcpCopyConfigure() 525 for (Index = 0; Index < Src->OptionCount; Index++) { in DhcpCopyConfigure() 658 if ((Dhcp4CfgData->OptionCount != 0) && (Dhcp4CfgData->OptionList == NULL)) { in EfiDhcp4Configure() 705 for (Index = 0; Index < Dhcp4CfgData->OptionCount; Index++) { in EfiDhcp4Configure() 1676 if (Parse->Index <= Parse->OptionCount) { in Dhcp4ParseCheckOption() 1721 IN OUT UINT32 *OptionCount, in EfiDhcp4Parse() argument 1731 if ((This == NULL) || (Packet == NULL) || (OptionCount == NULL)) { in EfiDhcp4Parse() 1742 if ((*OptionCount != 0) && (PacketOptionList == NULL)) { in EfiDhcp4Parse() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Application/UiApp/ |
D | FrontPage.c | 171 UINTN OptionCount; in InitializeLanguage() local 237 OptionCount = 0; in InitializeLanguage() 240 OptionCount ++; in InitializeLanguage() 246 gFrontPagePrivate.LanguageToken = AllocateZeroPool ((OptionCount + 1) * sizeof (EFI_STRING_ID)); in InitializeLanguage() 253 OptionCount = 0; in InitializeLanguage() 273 … gFrontPagePrivate.LanguageToken[OptionCount] = HiiSetString (HiiHandle, 0, StringBuffer, NULL); in InitializeLanguage() 276 OptionCount++; in InitializeLanguage() 282 OptionCount = 0; in InitializeLanguage() 293 gFrontPagePrivate.LanguageToken[OptionCount], in InitializeLanguage() 296 (UINT8) OptionCount in InitializeLanguage() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | Dhcp6.h | 346 UINT32 OptionCount; member 579 IN UINT32 OptionCount, 763 IN OUT UINT32 *OptionCount,
|
D | Mtftp4.h | 360 IN UINT8 OptionCount, 394 OUT UINT32 *OptionCount, 555 UINT32 OptionCount; member
|
D | Mtftp6.h | 422 UINT32 OptionCount; member 580 IN UINT8 OptionCount, 622 OUT UINT32 *OptionCount,
|
D | Dhcp4.h | 297 UINT32 OptionCount; member 757 IN OUT UINT32 *OptionCount,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Mtftp4/ |
D | Mtftp4.h | 229 IN UINT8 OptionCount, 242 OUT UINT32 *OptionCount, 297 IN UINT32 OptionCount; member
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/ |
D | BootMenu.c | 996 UINTN OptionCount; in BootMenuMain() local 1019 OptionCount = 1; in BootMenuMain() 1029 Print(L"[%d] %s\n", OptionCount, BootOption->Description); in BootMenuMain() 1057 OptionCount++; in BootMenuMain() 1059 BootOptionCount = OptionCount-1; in BootMenuMain() 1063 Print(L"[%d] %s\n",OptionCount,BootMainEntries[Index]); in BootMenuMain() 1064 OptionCount++; in BootMenuMain() 1072 if (EFI_ERROR(Status) || (BootOptionSelected == 0) || (BootOptionSelected > OptionCount)) { in BootMenuMain() 1073 Print(L"Invalid input (max %d)\n",(OptionCount-1)); in BootMenuMain()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/ |
D | IfrOpCodeCreation.c | 178 IN UINTN OptionCount, in CreateOneOfOpCode() argument 244 for (Index = 0; Index < OptionCount; Index++) { in CreateOneOfOpCode() 275 IN UINTN OptionCount, in CreateOrderedListOpCode() argument 332 for (Index = 0; Index < OptionCount; Index++) { in CreateOrderedListOpCode()
|
D | IfrLibrary.h | 294 IN UINTN OptionCount, 339 IN UINTN OptionCount, 692 IN UINTN OptionCount, 739 IN UINTN OptionCount,
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Dhcp4/ |
D | Dhcp4.h | 119 UINT32 OptionCount; member 219 IN OUT UINT32 *OptionCount,
|