Lines Matching defs:host
208 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file,
228 lockhost = ((struct nlm_lockowner *)fl->fl_owner)->host;
229 if (match(lockhost, host)) {
252 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match)
254 nlmsvc_traverse_blocks(host, file, match);
255 nlmsvc_traverse_shares(host, file, match);
256 return nlm_traverse_locks(host, file, match);
369 * all resources bound to a specific host.
372 * returns 1 iff the host is a client.
379 struct nlm_host *host = data;
382 (host->net == hint->net))
383 host->h_inuse = 1;
390 struct nlm_host *host = data;
392 return host == other;
398 struct nlm_host *host = data;
400 if (host->h_server) {
405 if (host->h_nsmhandle)
406 host->h_nsmhandle->sm_sticky = 1;
429 nlmsvc_free_host_resources(struct nlm_host *host)
433 if (nlm_traverse_files(host, nlmsvc_same_host, NULL)) {
436 host->h_name);
485 nlmsvc_match_ip(void *datap, struct nlm_host *host)
487 return rpc_cmp_addr(nlm_srcaddr(host), datap);
494 * Release all locks held by clients accessing this host