Lines Matching full:ni
111 static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni, in nlm_alloc_host() argument
120 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host()
121 ni->hostname, ni->hostname_len); in nlm_alloc_host()
136 memcpy(nlm_addr(host), ni->sap, ni->salen); in nlm_alloc_host()
137 host->h_addrlen = ni->salen; in nlm_alloc_host()
143 host->h_version = ni->version; in nlm_alloc_host()
144 host->h_proto = ni->protocol; in nlm_alloc_host()
146 host->h_server = ni->server; in nlm_alloc_host()
147 host->h_noresvport = ni->noresvport; in nlm_alloc_host()
164 host->net = ni->net; in nlm_alloc_host()
165 host->h_cred = get_cred(ni->cred); in nlm_alloc_host()
224 struct nlm_lookup_host_info ni = { in nlmclnt_lookup_host() local
269 host = nlm_alloc_host(&ni, nsm); in nlmclnt_lookup_host()
337 struct nlm_lookup_host_info ni = { in nlmsvc_lookup_host() local
358 chain = &nlm_server_hosts[nlm_hash_address(ni.sap)]; in nlmsvc_lookup_host()
362 if (!rpc_cmp_addr(nlm_addr(host), ni.sap)) in nlmsvc_lookup_host()
369 if (host->h_proto != ni.protocol) in nlmsvc_lookup_host()
371 if (host->h_version != ni.version) in nlmsvc_lookup_host()
386 host = nlm_alloc_host(&ni, nsm); in nlmsvc_lookup_host()