Lines Matching refs:host
163 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks() argument
183 lockhost = ((struct nlm_lockowner *)fl->fl_owner)->host; in nlm_traverse_locks()
184 if (match(lockhost, host)) { in nlm_traverse_locks()
214 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument
216 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file()
217 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file()
218 return nlm_traverse_locks(host, file, match); in nlm_inspect_file()
333 struct nlm_host *host = data; in nlmsvc_mark_host() local
336 (host->net == hint->net)) in nlmsvc_mark_host()
337 host->h_inuse = 1; in nlmsvc_mark_host()
344 struct nlm_host *host = data; in nlmsvc_same_host() local
346 return host == other; in nlmsvc_same_host()
352 struct nlm_host *host = data; in nlmsvc_is_client() local
354 if (host->h_server) { in nlmsvc_is_client()
359 if (host->h_nsmhandle) in nlmsvc_is_client()
360 host->h_nsmhandle->sm_sticky = 1; in nlmsvc_is_client()
383 nlmsvc_free_host_resources(struct nlm_host *host) in nlmsvc_free_host_resources() argument
387 if (nlm_traverse_files(host, nlmsvc_same_host, NULL)) { in nlmsvc_free_host_resources()
390 host->h_name); in nlmsvc_free_host_resources()
438 nlmsvc_match_ip(void *datap, struct nlm_host *host) in nlmsvc_match_ip() argument
440 return rpc_cmp_addr(nlm_srcaddr(host), datap); in nlmsvc_match_ip()