Searched refs:newhost (Results 1 – 2 of 2) sorted by relevance
215 hostlist_t *newhost; in parsehosts() local337 newhost = malloc(sizeof (hostlist_t)); in parsehosts()338 if (newhost == NULL) { in parsehosts()342 newhost->host = hostentry; in parsehosts()343 newhost->port = htons(port); in parsehosts()344 newhost->mech = mech_oid; in parsehosts()345 newhost->next_host = NULL; in parsehosts()347 lasthost->next_host = newhost; in parsehosts()350 lasthost = newhost; in parsehosts()351 hosts_new = newhost; in parsehosts()
1685 struct nlm_host *host, *newhost = NULL; in nlm_host_findcreate() local1707 newhost = nlm_host_create(name, netid, &knc, addr); in nlm_host_findcreate()1708 newhost->nh_sysid = nlm_sysid_alloc(); in nlm_host_findcreate()1709 if (newhost->nh_sysid == LM_NOSYSID) in nlm_host_findcreate()1715 host = newhost; in nlm_host_findcreate()1716 newhost = NULL; in nlm_host_findcreate()1736 if (newhost != NULL) { in nlm_host_findcreate()1742 newhost->nh_refs--; in nlm_host_findcreate()1743 nlm_host_destroy(newhost); in nlm_host_findcreate()