Lines Matching refs:host
162 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks() argument
183 if (match(lockhost, host)) { in nlm_traverse_locks()
213 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument
215 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file()
216 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file()
217 return nlm_traverse_locks(host, file, match); in nlm_inspect_file()
332 struct nlm_host *host = data; in nlmsvc_mark_host() local
335 (host->net == hint->net)) in nlmsvc_mark_host()
336 host->h_inuse = 1; in nlmsvc_mark_host()
343 struct nlm_host *host = data; in nlmsvc_same_host() local
345 return host == other; in nlmsvc_same_host()
351 struct nlm_host *host = data; in nlmsvc_is_client() local
353 if (host->h_server) { in nlmsvc_is_client()
358 if (host->h_nsmhandle) in nlmsvc_is_client()
359 host->h_nsmhandle->sm_sticky = 1; in nlmsvc_is_client()
382 nlmsvc_free_host_resources(struct nlm_host *host) in nlmsvc_free_host_resources() argument
386 if (nlm_traverse_files(host, nlmsvc_same_host, NULL)) { in nlmsvc_free_host_resources()
389 host->h_name); in nlmsvc_free_host_resources()
437 nlmsvc_match_ip(void *datap, struct nlm_host *host) in nlmsvc_match_ip() argument
439 return rpc_cmp_addr(nlm_srcaddr(host), datap); in nlmsvc_match_ip()