Lines Matching defs:nsm
112 struct nsm_handle *nsm)
117 if (nsm != NULL)
118 refcount_inc(&nsm->sm_count);
121 nsm = nsm_get_handle(ni->net, ni->sap, ni->salen,
123 if (unlikely(nsm == NULL)) {
124 dprintk("lockd: %s failed; no nsm handle\n",
133 nsm_release(nsm);
143 host->h_name = nsm->sm_name;
163 host->h_nsmhandle = nsm;
164 host->h_addrbuf = nsm->sm_addrbuf;
239 struct nsm_handle *nsm = NULL;
256 if (nsm == NULL)
257 nsm = host->h_nsmhandle;
270 host = nlm_alloc_host(&ni, nsm);
334 struct nsm_handle *nsm = NULL;
367 if (nsm == NULL)
368 nsm = host->h_nsmhandle;
387 host = nlm_alloc_host(&ni, nsm);
526 struct nsm_handle *nsm,
534 if (host->h_nsmhandle == nsm
559 struct nsm_handle *nsm;
562 nsm = nsm_reboot_lookup(net, info);
563 if (unlikely(nsm == NULL))
571 while ((host = next_host_state(nlm_server_hosts, nsm, info)) != NULL) {
575 while ((host = next_host_state(nlm_client_hosts, nsm, info)) != NULL) {
580 nsm_release(nsm);