Lines Matching refs:hostp
81 struct nlm_host *hostp; member
231 nlm_fh_to_vhold(struct nlm_host *hostp, struct netobj *fh) in nlm_fh_to_vhold() argument
241 nvp = nlm_vhold_get(hostp, vp); in nlm_fh_to_vhold()
742 cb_data.hostp = host; in nlm_block()
824 (void) nlm_slreq_unregister(cb_data->hostp, in nlm_block_callback()
1092 struct nlm_host *hostp; in nlm_do_free_all() local
1105 for (hostp = avl_first(&g->nlm_hosts_tree); hostp != NULL; in nlm_do_free_all()
1106 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp)) { in nlm_do_free_all()
1107 if (strcasecmp(hostp->nh_name, argp->name) == 0) { in nlm_do_free_all()
1112 if (hostp->nh_flags & NLM_NH_INIDLE) { in nlm_do_free_all()
1113 TAILQ_REMOVE(&g->nlm_idle_hosts, hostp, in nlm_do_free_all()
1115 hostp->nh_flags &= ~NLM_NH_INIDLE; in nlm_do_free_all()
1117 hostp->nh_refs++; in nlm_do_free_all()
1119 TAILQ_INSERT_TAIL(&host_list, hostp, nh_link); in nlm_do_free_all()
1126 hostp = TAILQ_FIRST(&host_list); in nlm_do_free_all()
1127 TAILQ_REMOVE(&host_list, hostp, nh_link); in nlm_do_free_all()
1134 nlm_host_notify_server(hostp, argp->state); in nlm_do_free_all()
1135 nlm_host_release(g, hostp); in nlm_do_free_all()