Lines Matching defs:host
163 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file,
183 lockhost = ((struct nlm_lockowner *)fl->fl_owner)->host;
184 if (match(lockhost, host)) {
214 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match)
216 nlmsvc_traverse_blocks(host, file, match);
217 nlmsvc_traverse_shares(host, file, match);
218 return nlm_traverse_locks(host, file, match);
323 * all resources bound to a specific host.
326 * returns 1 iff the host is a client.
333 struct nlm_host *host = data;
336 (host->net == hint->net))
337 host->h_inuse = 1;
344 struct nlm_host *host = data;
346 return host == other;
352 struct nlm_host *host = data;
354 if (host->h_server) {
359 if (host->h_nsmhandle)
360 host->h_nsmhandle->sm_sticky = 1;
383 nlmsvc_free_host_resources(struct nlm_host *host)
387 if (nlm_traverse_files(host, nlmsvc_same_host, NULL)) {
390 host->h_name);
438 nlmsvc_match_ip(void *datap, struct nlm_host *host)
440 return rpc_cmp_addr(nlm_srcaddr(host), datap);
447 * Release all locks held by clients accessing this host