Searched refs:hnc_cache (Results 1 – 1 of 1) sorted by relevance
253 static struct hostname_cache **hnc_cache; variable5318 for (hpp = &hnc_cache[i]; *hpp != NULL; ) { in hnc_init()5328 hnc_cache = calloc(hnc_size, sizeof (struct hostname_cache *)); in hnc_init()5330 if (hnc_cache == NULL) { in hnc_init()5353 if (hnc_cache == NULL) { in hnc_lookup()5362 for (hpp = &hnc_cache[index]; (hp = *hpp) != NULL; ) { in hnc_lookup()5380 if (hp != hnc_cache[index]) { in hnc_lookup()5384 hp->next = hnc_cache[index]; in hnc_lookup()5385 hnc_cache[index] = hp; in hnc_lookup()5421 if (hnc_cache == NULL) { in hnc_register()[all …]