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