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));
776 IP6_CONFIG_DATA_ITEM *Item;
785 Item = &Instance->DataItem[Ip6ConfigDataTypeManualAddress];
788 for (Index = 0; Index < Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS); Index++) {
792 ManualAddr = Item->Data.ManualAddress + Index;
798 ASSERT (Index != Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS));
809 if ((DadPassCount + DadFailCount) == (Item->DataSize / sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS))) {
817 FreePool (Item->Data.Ptr);
819 Item->DataSize = DadPassCount * sizeof (EFI_IP6_CONFIG_MANUAL_ADDRESS);
820 if (Item->DataSize == 0) {
824 Item->Data.Ptr = NULL;
825 Item->Status = EFI_NOT_FOUND;
831 PassedAddr = (EFI_IP6_CONFIG_MANUAL_ADDRESS *) AllocatePool (Item->DataSize);
834 Item->Data.Ptr = PassedAddr;
835 Item->Status = EFI_SUCCESS;
844 ASSERT ((UINTN) PassedAddr - (UINTN) Item->Data.Ptr == Item->DataSize);
850 Item->Status = EFI_SUCCESS;
867 NetMapIterate (&Item->EventMap, Ip6ConfigSignalEvent, NULL);
1150 // actually synchronous, and the data item's status will be changed to
1203 IP6_CONFIG_DATA_ITEM *Item;
1235 Item = &Instance->DataItem[Ip6ConfigDataTypeGateway];
1236 OldGateway = Item->Data.Gateway;
1237 OldGatewayCount = Item->DataSize / sizeof (EFI_IPv6_ADDRESS);
1282 Item->Status = EFI_SUCCESS;
1287 if (Item->Data.Ptr != NULL) {
1288 FreePool (Item->Data.Ptr);
1290 Item->Data.Ptr = Tmp;
1293 CopyMem (Item->Data.Ptr, Data, DataSize);
1294 Item->DataSize = DataSize;
1295 Item->Status = EFI_SUCCESS;
1336 IP6_CONFIG_DATA_ITEM *Item;
1348 Item = &Instance->DataItem[Ip6ConfigDataTypeDnsServer];
1350 OldDns = Item->Data.DnsServers;
1352 OldDnsCount = Item->DataSize / sizeof (EFI_IPv6_ADDRESS);
1403 if (!OneAdded && (DataSize == Item->DataSize)) {
1405 // No new item is added and the size is the same.
1407 Item->Status = EFI_SUCCESS;
1411 if (Item->Data.Ptr != NULL) {
1412 FreePool (Item->Data.Ptr);
1414 Item->Data.Ptr = Tmp;
1417 CopyMem (Item->Data.Ptr, Data, DataSize);
1418 Item->DataSize = DataSize;
1419 Item->Status = EFI_SUCCESS;
1477 IP6_CONFIG_DATA_ITEM *Item;
1536 Item = &Instance->DataItem[Ip6ConfigDataTypeDnsServer];
1538 if (Item->DataSize != Length) {
1539 if (Item->Data.Ptr != NULL) {
1540 FreePool (Item->Data.Ptr);
1543 Item->Data.Ptr = AllocatePool (Length);
1544 ASSERT (Item->Data.Ptr != NULL);
1547 CopyMem (Item->Data.Ptr, OptList[Index]->Data, Length);
1548 Item->DataSize = Length;
1549 Item->Status = EFI_SUCCESS;
1554 NetMapIterate (&Item->EventMap, Ip6ConfigSignalEvent, NULL);
2038 NET_MAP_ITEM *Item;
2056 Item = NetMapFindKey (EventMap, Event);
2057 if (Item == NULL) {
2102 NET_MAP_ITEM *Item;
2116 Item = NetMapFindKey (&Instance->DataItem[DataType].EventMap, Event);
2117 if (Item != NULL) {
2119 NetMapRemoveItem (&Instance->DataItem[DataType].EventMap, Item, NULL);
2179 // Initialize the event map for each data item.