Home | History | Annotate | Download | only in Ip6Dxe

Lines Matching refs:Item

290   @param[in]  Item   The registered event.

298 IN NET_MAP_ITEM *Item,
302 gBS->SignalEvent ((EFI_EVENT) Item->Key);
406 // This data item has variable length data.
534 IP6_CONFIG_DATA_ITEM *Item;
559 Item = &Instance->DataItem[Ip6ConfigDataTypeInterfaceInfo];
561 CopyMem (IfInfo, Item->Data.Ptr, sizeof (EFI_IP6_CONFIG_INTERFACE_INFO));
775 IP6_CONFIG_DATA_ITEM *Item;
784 Item = &Instance->DataItem[Ip6ConfigDataTypeManualAddress];
787 for (Index = 0; Index < Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS); Index++) {
791 ManualAddr = Item->Data.ManualAddress + Index;
797 ASSERT (Index != Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS));
808 if ((DadPassCount + DadFailCount) == (Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS))) {
816 FreePool (Item->Data.Ptr);
818 Item->DataSize = DadPassCount * sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS);
819 if (Item->DataSize == 0) {
823 Item->Data.Ptr = NULL;
824 Item->Status = EFI_NOT_FOUND;
830 PassedAddr = (EFI_IP6_CONFIG_MANUAL_ADDRESS *) AllocatePool (Item->DataSize);
833 Item->Data.Ptr = PassedAddr;
834 Item->Status = EFI_SUCCESS;
843 ASSERT ((UINTN) PassedAddr - (UINTN) Item->Data.Ptr == Item->DataSize);
849 Item->Status = EFI_SUCCESS;
866 NetMapIterate (&Item->EventMap, Ip6ConfigSignalEvent, NULL);
1149 // actually synchronous, and the data item's status will be changed to
1202 IP6_CONFIG_DATA_ITEM *Item;
1234 Item = &Instance->DataItem[Ip6ConfigDataTypeGateway];
1235 OldGateway = Item->Data.Gateway;
1236 OldGatewayCount = Item->DataSize / sizeof (EFI_IPv6_ADDRESS);
1281 Item->Status = EFI_SUCCESS;
1286 if (Item->Data.Ptr != NULL) {
1287 FreePool (Item->Data.Ptr);
1289 Item->Data.Ptr = Tmp;
1292 CopyMem (Item->Data.Ptr, Data, DataSize);
1293 Item->DataSize = DataSize;
1294 Item->Status = EFI_SUCCESS;
1335 IP6_CONFIG_DATA_ITEM *Item;
1347 Item = &Instance->DataItem[Ip6ConfigDataTypeDnsServer];
1349 OldDns = Item->Data.DnsServers;
1351 OldDnsCount = Item->DataSize / sizeof (EFI_IPv6_ADDRESS);
1406 if (!OneAdded && (DataSize == Item->DataSize)) {
1408 // No new item is added and the size is the same.
1410 Item->Status = EFI_SUCCESS;
1414 if (Item->Data.Ptr != NULL) {
1415 FreePool (Item->Data.Ptr);
1417 Item->Data.Ptr = Tmp;
1420 CopyMem (Item->Data.Ptr, Data, DataSize);
1421 Item->DataSize = DataSize;
1422 Item->Status = EFI_SUCCESS;
1480 IP6_CONFIG_DATA_ITEM *Item;
1539 Item = &Instance->DataItem[Ip6ConfigDataTypeDnsServer];
1541 if (Item->DataSize != Length) {
1542 if (Item->Data.Ptr != NULL) {
1543 FreePool (Item->Data.Ptr);
1546 Item->Data.Ptr = AllocatePool (Length);
1547 ASSERT (Item->Data.Ptr != NULL);
1550 CopyMem (Item->Data.Ptr, OptList[Index]->Data, Length);
1551 Item->DataSize = Length;
1552 Item->Status = EFI_SUCCESS;
1557 NetMapIterate (&Item->EventMap, Ip6ConfigSignalEvent, NULL);
2041 NET_MAP_ITEM *Item;
2059 Item = NetMapFindKey (EventMap, Event);
2060 if (Item == NULL) {
2105 NET_MAP_ITEM *Item;
2119 Item = NetMapFindKey (&Instance->DataItem[DataType].EventMap, Event);
2120 if (Item != NULL) {
2122 NetMapRemoveItem (&Instance->DataItem[DataType].EventMap, Item, NULL);
2182 // Initialize the event map for each data item.