Home
last modified time | relevance | path

Searched refs:nlm_host (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.h69 struct nlm_host;
230 struct nlm_host *nsl_host; /* (c) */
350 struct nlm_host { struct
353 TAILQ_ENTRY(nlm_host) nh_link; /* (z) */ argument
373 TAILQ_HEAD(nlm_host_list, nlm_host); argument
503 extern void nlm_register_lock_locally(struct vnode *, struct nlm_host *,
529 void nlm_rpc_cache_destroy(struct nlm_host *);
537 void nlm_reclaim_client(struct nlm_globals *, struct nlm_host *);
538 void nlm_client_cancel_all(struct nlm_globals *, struct nlm_host *);
572 struct nlm_host *nlm_host_findcreate(struct nlm_globals *, char *,
[all …]
H A Dnlm_rpc_handle.c65 static nlm_rpc_t *get_nlm_rpc_fromcache(struct nlm_host *, int);
66 static void update_host_rpcbinding(struct nlm_host *, int);
67 static int refresh_nlm_rpc(struct nlm_host *, nlm_rpc_t *);
68 static void nlm_host_rele_rpc_locked(struct nlm_host *, nlm_rpc_t *);
71 get_nlm_rpc_fromcache(struct nlm_host *hostp, int vers) in get_nlm_rpc_fromcache()
99 update_host_rpcbinding(struct nlm_host *hostp, int vers) in update_host_rpcbinding()
131 refresh_nlm_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp) in refresh_nlm_rpc()
199 nlm_host_get_rpc(struct nlm_host *hostp, int vers, nlm_rpc_t **rpcpp) in nlm_host_get_rpc()
278 DTRACE_PROBE2(end, struct nlm_host *, hostp, in nlm_host_get_rpc()
290 nlm_host_rele_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp) in nlm_host_rele_rpc()
[all …]
H A Dnlm_impl.c220 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 *,
[all …]
H A Dnlm_service.c81 struct nlm_host *hostp;
109 struct nlm_host *host,
116 static struct nlm_vhold *nlm_fh_to_vhold(struct nlm_host *, struct netobj *);
117 static void nlm_init_shrlock(struct shrlock *, nlm4_share *, struct nlm_host *);
128 struct nlm_host *host, rpcvers_t vers, short type) in nlm_init_flock()
231 nlm_fh_to_vhold(struct nlm_host *hostp, struct netobj *fh) in nlm_fh_to_vhold()
284 struct nlm_host *host; in nlm_do_notify1()
329 struct nlm_host *host; in nlm_do_test()
480 struct nlm_host *host = NULL; in nlm_do_lock()
507 struct nlm_host *, host, nlm4_lockargs *, argp); in nlm_do_lock()
[all …]
H A Dnlm_client.c95 static int nlm_frlock_getlk(struct nlm_host *, vnode_t *,
98 static int nlm_frlock_setlk(struct nlm_host *, vnode_t *,
102 static int nlm_reclaim_lock(struct nlm_host *, vnode_t *,
110 struct nlm_host *, struct netobj *,
112 static int nlm_call_unlock(struct flock64 *, struct nlm_host *,
114 static int nlm_call_test(struct flock64 *, struct nlm_host *,
117 struct nlm_host *, int);
126 static int nlm_call_share(struct shrlock *, struct nlm_host *,
128 static int nlm_call_unshare(struct shrlock *, struct nlm_host *,
130 static int nlm_reclaim_share(struct nlm_host *, vnode_t *,
[all …]
H A Dklmmod.c78 sizeof (struct nlm_host), in lm_zone_init()
79 offsetof(struct nlm_host, nh_by_addr)); in lm_zone_init()
432 struct nlm_host *hostp; in lm_get_sysid()
457 nlm_host_release(g, (struct nlm_host *)sysid); in lm_rel_sysid()
486 return (((struct nlm_host *)lms)->nh_sysid); in lm_sysidt()
H A Dklmops.c132 nlm_register_lock_locally(vp, (struct nlm_host *)ls, in lm_register_lock_locally()
/illumos-gate/usr/src/cmd/mdb/common/modules/klmmod/
H A Dklmmod.c289 struct nlm_host nh; in nlm_host_walk_step()
306 static void nlm_host_print(uintptr_t, const struct nlm_host *,
318 struct nlm_host nh; in nlm_host_dcmd()
373 nlm_host_print(uintptr_t addr, const struct nlm_host *nh, in nlm_host_print()
782 const struct nlm_host *nh = data; in nlm_list_host_cb()
979 const struct nlm_host *nh = data; in nlm_locks_host_cb()