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()
1677 struct nlm_host *host, *newhost = NULL; in nlm_host_findcreate() local1699 newhost = nlm_host_create(name, netid, &knc, addr); in nlm_host_findcreate()1700 newhost->nh_sysid = nlm_sysid_alloc(); in nlm_host_findcreate()1701 if (newhost->nh_sysid == LM_NOSYSID) in nlm_host_findcreate()1707 host = newhost; in nlm_host_findcreate()1708 newhost = NULL; in nlm_host_findcreate()1728 if (newhost != NULL) { in nlm_host_findcreate()1734 newhost->nh_refs--; in nlm_host_findcreate()1735 nlm_host_destroy(newhost); in nlm_host_findcreate()