Lines Matching refs:hl_hosts

1536 		(void) strlcpy(f->f_current.host, mp->hlp->hl_hosts[0],  in logit()
1576 if (strcmp(hlp->hl_hosts[i], in logit()
1580 hlp->hl_hosts[i]); in logit()
2220 h->hl_hosts[0]); in cvthname()
2248 h->hl_hosts = (char **)malloc(sizeof (char *) * (h->hl_cnt)); in cvthname()
2249 if (h->hl_hosts == NULL) { in cvthname()
2257 h->hl_hosts[i] = (char *) in cvthname()
2259 if (h->hl_hosts[i] == NULL) { in cvthname()
2262 free(h->hl_hosts[j]); in cvthname()
2264 free(h->hl_hosts); in cvthname()
2268 (void) strcpy(h->hl_hosts[i], hspp->h_host); in cvthname()
2274 h->hl_hosts = (char **)malloc(sizeof (char *)); in cvthname()
2275 if (h->hl_hosts == NULL) { in cvthname()
2280 h->hl_hosts[0] = (char *)malloc(strlen(failsafe_addr) + 3); in cvthname()
2281 if (h->hl_hosts[0] == NULL) { in cvthname()
2282 free(h->hl_hosts); in cvthname()
2288 (void) sprintf(h->hl_hosts[0], "[%s]", failsafe_addr); in cvthname()
2291 mythreadno, h->hl_hosts[0]); in cvthname()
2302 mythreadno, (void *)h, h->hl_hosts[0]); in cvthname()
2486 free(h->hl_hosts[i]); in freehl()
2489 free(h->hl_hosts); in freehl()
2919 if ((LocalHostName.hl_hosts = malloc(sizeof (char *))) == NULL) { in init()
2922 if ((LocalHostName.hl_hosts[0] = strdup(up->nodename)) == NULL) { in init()
2923 free(LocalHostName.hl_hosts); in init()
2929 if ((NullHostName.hl_hosts = malloc(sizeof (char *))) == NULL) { in init()
2932 if ((NullHostName.hl_hosts[0] = strdup("name lookup failed")) == NULL) { in init()
5380 hp->h->hl_hosts[0]); in hnc_lookup()
5409 hp->h->hl_hosts[0]); in hnc_lookup()
5501 mythreadno, (void *)entry->h, (void *)entry, entry->h->hl_hosts[0]); in hnc_register()
5516 mythreadno, (void *)hp->h, (void *)hp, hp->h->hl_hosts[0]); in hnc_unreg()