Lines Matching refs:host
163 nlm_traverse_locks(struct nlm_host *host, struct nlm_file *file, in nlm_traverse_locks() argument
180 if (match(lockhost, host)) { in nlm_traverse_locks()
208 nlm_inspect_file(struct nlm_host *host, struct nlm_file *file, nlm_host_match_fn_t match) in nlm_inspect_file() argument
210 nlmsvc_traverse_blocks(host, file, match); in nlm_inspect_file()
211 nlmsvc_traverse_shares(host, file, match); in nlm_inspect_file()
212 return nlm_traverse_locks(host, file, match); in nlm_inspect_file()
318 struct nlm_host *host = data; in nlmsvc_mark_host() local
320 host->h_inuse = 1; in nlmsvc_mark_host()
327 struct nlm_host *host = data; in nlmsvc_same_host() local
329 return host == other; in nlmsvc_same_host()
335 struct nlm_host *host = data; in nlmsvc_is_client() local
337 if (host->h_server) { in nlmsvc_is_client()
342 if (host->h_nsmhandle) in nlmsvc_is_client()
343 host->h_nsmhandle->sm_sticky = 1; in nlmsvc_is_client()
363 nlmsvc_free_host_resources(struct nlm_host *host) in nlmsvc_free_host_resources() argument
367 if (nlm_traverse_files(host, nlmsvc_same_host, NULL)) { in nlmsvc_free_host_resources()
370 host->h_name); in nlmsvc_free_host_resources()
418 nlmsvc_match_ip(void *datap, struct nlm_host *host) in nlmsvc_match_ip() argument
420 return nlm_cmp_addr(nlm_srcaddr(host), datap); in nlmsvc_match_ip()