• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/linux/linux/fs/lockd/

Lines Matching refs:host

107 	struct nlm_host		*host;
122 if (!(host = nlmclnt_lookup_host(NFS_ADDR(inode), proto, vers)))
127 if (host->h_rpcclnt == NULL) {
130 /* Bind an rpc client to this host handle (does not
132 if (!(clnt = nlm_bind_host(host))) {
166 call->a_host = host;
193 nlm_release_host(host);
201 nlmclnt_grace_wait(struct nlm_host *host)
203 if (!host->h_reclaiming)
204 interruptible_sleep_on_timeout(&host->h_gracewait, 10*HZ);
206 interruptible_sleep_on(&host->h_gracewait);
239 struct nlm_host *host = req->a_host;
248 nlm_procname(proc), host->h_name);
259 if (host->h_reclaiming && !argp->reclaim) {
260 interruptible_sleep_on(&host->h_gracewait);
265 if ((clnt = nlm_bind_host(host)) == NULL)
278 nlm_rebind_host(host);
301 interruptible_sleep_on_timeout(&host->h_gracewait, 15*HZ);
322 struct nlm_host *host = req->a_host;
330 nlm_procname(proc), host->h_name);
333 if ((clnt = nlm_bind_host(host)) == NULL)
349 struct nlm_host *host = req->a_host;
358 nlm_procname(proc), host->h_name);
361 if ((clnt = nlm_bind_host(host)) == NULL)
372 /* Increment host refcount */
373 nlm_get_host(host);
376 nlm_release_host(host);
407 nlm_get_host(fl->fl_u.nfs_fl.host);
412 if (fl->fl_u.nfs_fl.host) {
413 nlm_release_host(fl->fl_u.nfs_fl.host);
414 fl->fl_u.nfs_fl.host = NULL;
441 struct nlm_host *host = req->a_host;
445 if (!host->h_monitored && nsm_monitor(host) < 0) {
447 host->h_name);
455 status = nlmclnt_block(host, fl, &resp->status);
462 fl->fl_u.nfs_fl.state = host->h_state;
464 fl->fl_u.nfs_fl.host = host;
476 nlmclnt_reclaim(struct nlm_host *host, struct file_lock *fl)
485 req->a_host = host;
572 nlmclnt_cancel(struct nlm_host *host, struct file_lock *fl)
589 req->a_host = host;