Home
last modified time | relevance | path

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

12

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiDhcp.c198 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/
DIScsiDhcp.c216 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 …]
DIScsiDhcp6.c249 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/MdeModulePkg/Application/UiApp/
DFrontPageCustomizedUiSupport.c265 UINTN OptionCount; in UiCreateLanguageMenu() local
303 OptionCount = 0; in UiCreateLanguageMenu()
306 OptionCount ++; in UiCreateLanguageMenu()
312 gLanguageToken = AllocateZeroPool ((OptionCount + 1) * sizeof (EFI_STRING_ID)); in UiCreateLanguageMenu()
319 OptionCount = 0; in UiCreateLanguageMenu()
340 gLanguageToken[OptionCount] = HiiSetString (HiiHandle, 0, StringBuffer, NULL); in UiCreateLanguageMenu()
343 OptionCount++; in UiCreateLanguageMenu()
349 OptionCount = 0; in UiCreateLanguageMenu()
360 gLanguageToken[OptionCount], in UiCreateLanguageMenu()
363 (UINT8) OptionCount in UiCreateLanguageMenu()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Option.c345 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()
DMtftp6Impl.c332 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()
DMtftp6Impl.h256 IN UINT8 OptionCount,
298 OUT UINT32 *OptionCount,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmLoadOption.c963 UINTN OptionCount; member
997 for (Index = 0; Index < Param->OptionCount; Index++) { in BmCollectLoadOptions()
1003 Param->OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), in BmCollectLoadOptions()
1004 (Param->OptionCount + 1) * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION), in BmCollectLoadOptions()
1008 …CopyMem (&Param->Options[Index + 1], &Param->Options[Index], (Param->OptionCount - Index) * sizeof… in BmCollectLoadOptions()
1010 Param->OptionCount++; in BmCollectLoadOptions()
1030 OUT UINTN *OptionCount, in EfiBootManagerGetLoadOptions() argument
1044 *OptionCount = 0; in EfiBootManagerGetLoadOptions()
1056 *OptionCount = OptionOrderSize / sizeof (UINT16); in EfiBootManagerGetLoadOptions()
1058 Options = AllocatePool (*OptionCount * sizeof (EFI_BOOT_MANAGER_LOAD_OPTION)); in EfiBootManagerGetLoadOptions()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c92 UINT32 OptionCount; in ParseDhcp4Ack() local
102 OptionCount = 0; in ParseDhcp4Ack()
105 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack()
110 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in ParseDhcp4Ack()
115 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack()
123 for (Index = 0; Index < OptionCount; Index++) { in ParseDhcp4Ack()
182 UINT32 OptionCount; in ParseDhcp6Ack() local
190 OptionCount = 0; in ParseDhcp6Ack()
194 Status = This->Parse (This, Packet, &OptionCount, NULL); in ParseDhcp6Ack()
199 OptionList = AllocateZeroPool (OptionCount * sizeof (EFI_DHCP6_PACKET_OPTION *)); in ParseDhcp6Ack()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Impl.c427 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 …]
DDhcp6Io.h158 IN UINT32 OptionCount,
190 IN UINT32 OptionCount,
DDhcp6Impl.h317 IN UINT32 OptionCount,
479 IN OUT UINT32 *OptionCount,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Impl.c374 ((Token->OptionCount != 0) && (Token->OptionList == NULL))) { in Mtftp4Start()
424 if (Token->OptionCount != 0) { in Mtftp4Start()
427 Token->OptionCount, in Mtftp4Start()
736 OUT UINT32 *OptionCount, in EfiMtftp4ParseOptions() argument
743 (Packet == NULL) || (OptionCount == NULL)) { in EfiMtftp4ParseOptions()
748 Status = Mtftp4ExtractOptions (Packet, PacketLen, OptionCount, OptionList); in EfiMtftp4ParseOptions()
754 if (*OptionCount == 0) { in EfiMtftp4ParseOptions()
995 IN UINT8 OptionCount, in EfiMtftp4GetInfo() argument
1006 ((OptionCount != 0) && (OptionList == NULL))) { in EfiMtftp4GetInfo()
1027 Token.OptionCount = OptionCount; in EfiMtftp4GetInfo()
DMtftp4Option.c247 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()
DMtftp4Option.h61 OUT UINT32 *OptionCount,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/
DUefiIfrOpCodeCreation.c278 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/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Impl.c325 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()
703 for (Index = 0; Index < Dhcp4CfgData->OptionCount; Index++) { in EfiDhcp4Configure()
1683 if (Parse->Index <= Parse->OptionCount) { in Dhcp4ParseCheckOption()
1728 IN OUT UINT32 *OptionCount, in EfiDhcp4Parse() argument
1738 if ((This == NULL) || (Packet == NULL) || (OptionCount == NULL)) { in EfiDhcp4Parse()
1749 if ((*OptionCount != 0) && (PacketOptionList == NULL)) { in EfiDhcp4Parse()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DFrontPage.c305 UINTN OptionCount; in InitializeFrontPage() local
422 OptionCount = 0; in InitializeFrontPage()
425 OptionCount ++; in InitializeFrontPage()
431 gFrontPagePrivate.LanguageToken = AllocateZeroPool ((OptionCount + 1) * sizeof (EFI_STRING_ID)); in InitializeFrontPage()
438 OptionCount = 0; in InitializeFrontPage()
459 … gFrontPagePrivate.LanguageToken[OptionCount] = HiiSetString (HiiHandle, 0, StringBuffer, NULL); in InitializeFrontPage()
462 OptionCount++; in InitializeFrontPage()
468 OptionCount = 0; in InitializeFrontPage()
479 gFrontPagePrivate.LanguageToken[OptionCount], in InitializeFrontPage()
482 (UINT8) OptionCount in InitializeFrontPage()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDhcp6.h346 UINT32 OptionCount; member
579 IN UINT32 OptionCount,
763 IN OUT UINT32 *OptionCount,
DMtftp4.h360 IN UINT8 OptionCount,
394 OUT UINT32 *OptionCount,
555 UINT32 OptionCount; member
DMtftp6.h424 UINT32 OptionCount; member
582 IN UINT8 OptionCount,
624 OUT UINT32 *OptionCount,
DDhcp4.h297 UINT32 OptionCount; member
757 IN OUT UINT32 *OptionCount,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Mtftp4/
DMtftp4.h229 IN UINT8 OptionCount,
242 OUT UINT32 *OptionCount,
297 IN UINT32 OptionCount; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/
DIfrOpCodeCreation.c178 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()
DIfrLibrary.h294 IN UINTN OptionCount,
339 IN UINTN OptionCount,
692 IN UINTN OptionCount,
739 IN UINTN OptionCount,

12