Lines Matching refs:hnc_cache
253 static struct hostname_cache **hnc_cache; variable
5318 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()
5447 for (hpp = &hnc_cache[hindex]; (hp = *hpp) != NULL; ) { in hnc_register()
5476 entry->next = hnc_cache[hindex]; in hnc_register()
5477 hnc_cache[hindex] = entry; in hnc_register()