Lines Matching full:ni
111 static struct nlm_host *nlm_alloc_host(struct nlm_lookup_host_info *ni, in nlm_alloc_host() argument
121 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen, in nlm_alloc_host()
122 ni->hostname, ni->hostname_len); in nlm_alloc_host()
137 memcpy(nlm_addr(host), ni->sap, ni->salen); in nlm_alloc_host()
138 host->h_addrlen = ni->salen; in nlm_alloc_host()
144 host->h_version = ni->version; in nlm_alloc_host()
145 host->h_proto = ni->protocol; in nlm_alloc_host()
147 host->h_server = ni->server; in nlm_alloc_host()
148 host->h_noresvport = ni->noresvport; in nlm_alloc_host()
165 host->net = ni->net; in nlm_alloc_host()
166 host->h_cred = get_cred(ni->cred), in nlm_alloc_host()
225 struct nlm_lookup_host_info ni = { in nlmclnt_lookup_host() local
270 host = nlm_alloc_host(&ni, nsm); in nlmclnt_lookup_host()
338 struct nlm_lookup_host_info ni = { in nlmsvc_lookup_host() local
359 chain = &nlm_server_hosts[nlm_hash_address(ni.sap)]; in nlmsvc_lookup_host()
363 if (!rpc_cmp_addr(nlm_addr(host), ni.sap)) in nlmsvc_lookup_host()
370 if (host->h_proto != ni.protocol) in nlmsvc_lookup_host()
372 if (host->h_version != ni.version) in nlmsvc_lookup_host()
387 host = nlm_alloc_host(&ni, nsm); in nlmsvc_lookup_host()