Lines Matching refs:hnc_cache
255 static struct hostname_cache **hnc_cache; variable
5333 for (hpp = &hnc_cache[i]; *hpp != NULL; ) { in hnc_init()
5343 hnc_cache = calloc(hnc_size, sizeof (struct hostname_cache *)); in hnc_init()
5345 if (hnc_cache == NULL) { in hnc_init()
5368 if (hnc_cache == NULL) { in hnc_lookup()
5377 for (hpp = &hnc_cache[index]; (hp = *hpp) != NULL; ) { in hnc_lookup()
5395 if (hp != hnc_cache[index]) { in hnc_lookup()
5399 hp->next = hnc_cache[index]; in hnc_lookup()
5400 hnc_cache[index] = hp; in hnc_lookup()
5436 if (hnc_cache == NULL) { in hnc_register()
5462 for (hpp = &hnc_cache[hindex]; (hp = *hpp) != NULL; ) { in hnc_register()
5491 entry->next = hnc_cache[hindex]; in hnc_register()
5492 hnc_cache[hindex] = entry; in hnc_register()