Lines Matching refs:nlm_host

220 static void nlm_reclaimer(struct nlm_host *);
239 static void nlm_host_destroy(struct nlm_host *);
240 static struct nlm_host *nlm_host_create(char *, const char *,
242 static struct nlm_host *nlm_host_find_locked(struct nlm_globals *,
244 static void nlm_host_unregister(struct nlm_globals *, struct nlm_host *);
245 static void nlm_host_gc_vholds(struct nlm_host *);
246 static bool_t nlm_host_has_srv_locks(struct nlm_host *);
247 static bool_t nlm_host_has_cli_locks(struct nlm_host *);
248 static bool_t nlm_host_has_locks(struct nlm_host *);
255 static void nlm_vhold_destroy(struct nlm_host *,
257 static bool_t nlm_vhold_busy(struct nlm_host *, struct nlm_vhold *);
263 struct nlm_slreq *nlm_slreq_find_locked(struct nlm_host *,
276 sizeof (struct nlm_host), 0, nlm_host_ctor, nlm_host_dtor, in nlm_init()
347 struct nlm_host *hostp; in nlm_gc()
502 nlm_reclaimer(struct nlm_host *hostp) in nlm_reclaimer()
603 struct nlm_host *hostp; in nlm_suspend_zone()
665 struct nlm_host *hostp, *h_next; in nlm_resume_zone()
686 DTRACE_PROBE1(resume__host, struct nlm_host *, hostp); in nlm_resume_zone()
1003 nlm_vhold_get(struct nlm_host *hostp, vnode_t *vp) in nlm_vhold_get()
1048 nlm_vhold_release(struct nlm_host *hostp, struct nlm_vhold *nvp) in nlm_vhold_release()
1086 nlm_vhold_destroy(struct nlm_host *hostp, struct nlm_vhold *nvp) in nlm_vhold_destroy()
1113 nlm_vhold_busy(struct nlm_host *hostp, struct nlm_vhold *nvp) in nlm_vhold_busy()
1154 nlm_vhold_find_locked(struct nlm_host *hostp, const vnode_t *vp) in nlm_vhold_find_locked()
1187 struct nlm_host *hostp = (struct nlm_host *)datap; in nlm_host_ctor()
1197 struct nlm_host *hostp = (struct nlm_host *)datap; in nlm_host_dtor()
1202 nlm_host_unregister(struct nlm_globals *g, struct nlm_host *hostp) in nlm_host_unregister()
1220 nlm_host_destroy(struct nlm_host *hostp) in nlm_host_destroy()
1261 nlm_host_notify_server(struct nlm_host *hostp, int32_t state) in nlm_host_notify_server()
1317 nlm_host_notify_client(struct nlm_host *hostp, int32_t state) in nlm_host_notify_client()
1350 nlm_host_wait_grace(struct nlm_host *hostp) in nlm_host_wait_grace()
1383 static struct nlm_host *
1387 struct nlm_host *host; in nlm_host_create()
1419 nlm_host_cancel_slocks(struct nlm_globals *g, struct nlm_host *hostp) in nlm_host_cancel_slocks()
1443 nlm_host_gc_vholds(struct nlm_host *hostp) in nlm_host_gc_vholds()
1469 nlm_host_has_srv_locks(struct nlm_host *hostp) in nlm_host_has_srv_locks()
1494 nlm_host_has_cli_locks(struct nlm_host *hostp) in nlm_host_has_cli_locks()
1536 nlm_host_has_locks(struct nlm_host *hostp) in nlm_host_has_locks()
1601 struct nlm_host *h1 = (struct nlm_host *)p1; in nlm_host_cmp()
1602 struct nlm_host *h2 = (struct nlm_host *)p2; in nlm_host_cmp()
1617 static struct nlm_host *
1621 struct nlm_host *hostp, key; in nlm_host_find_locked()
1654 struct nlm_host *
1658 struct nlm_host *hostp = NULL; in nlm_host_find()
1680 struct nlm_host *
1685 struct nlm_host *host, *newhost = NULL; in nlm_host_findcreate()
1754 struct nlm_host *
1757 struct nlm_host *hostp = NULL; in nlm_host_find_by_sysid()
1800 nlm_host_release_locked(struct nlm_globals *g, struct nlm_host *hostp) in nlm_host_release_locked()
1826 nlm_host_release(struct nlm_globals *g, struct nlm_host *hostp) in nlm_host_release()
1841 nlm_host_unmonitor(struct nlm_globals *g, struct nlm_host *host) in nlm_host_unmonitor()
1864 nlm_host_monitor(struct nlm_globals *g, struct nlm_host *host, int state) in nlm_host_monitor()
1923 nlm_host_get_state(struct nlm_host *hostp) in nlm_host_get_state()
1946 struct nlm_host *host, in nlm_slock_register()
2056 struct nlm_host *hostp, struct nlm4_lock *alock) in nlm_slock_grant()
2092 nlm_slreq_register(struct nlm_host *hostp, struct nlm_vhold *nvp, in nlm_slreq_register()
2133 nlm_slreq_unregister(struct nlm_host *hostp, struct nlm_vhold *nvp, in nlm_slreq_unregister()
2156 nlm_slreq_find_locked(struct nlm_host *hostp, struct nlm_vhold *nvp, in nlm_slreq_find_locked()
2190 nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_track()
2226 nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp) in nlm_shres_untrack()
2261 nlm_get_active_shres(struct nlm_host *hostp) in nlm_get_active_shres()
2466 struct nlm_host *hostp; in nlm_svc_stopping()
2536 struct nlm_host *hostp; in nlm_vp_active()
2575 struct nlm_host *hostp; in nlm_zone_unexport()