Searched refs:NewDnsCache (Results 1 – 1 of 1) sorted by relevance
770 DNS4_CACHE *NewDnsCache; in UpdateDns4Cache() local775 NewDnsCache = NULL; in UpdateDns4Cache()811 NewDnsCache = AllocatePool (sizeof (DNS4_CACHE)); in UpdateDns4Cache()812 if (NewDnsCache == NULL) { in UpdateDns4Cache()816 InitializeListHead (&NewDnsCache->AllCacheLink); in UpdateDns4Cache()818 NewDnsCache->DnsCache.HostName = AllocatePool (StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache()819 if (NewDnsCache->DnsCache.HostName == NULL) { in UpdateDns4Cache()823 …CopyMem (NewDnsCache->DnsCache.HostName, DnsCacheEntry.HostName, StrSize (DnsCacheEntry.HostName)); in UpdateDns4Cache()825 NewDnsCache->DnsCache.IpAddress = AllocatePool (sizeof (EFI_IPv4_ADDRESS)); in UpdateDns4Cache()826 if (NewDnsCache->DnsCache.IpAddress == NULL) { in UpdateDns4Cache()[all …]