nlm_host
struct nlm_host nh;
static void nlm_host_print(uintptr_t, const struct nlm_host *,
struct nlm_host nh;
nlm_host_print(uintptr_t addr, const struct nlm_host *nh,
const struct nlm_host *nh = data;
const struct nlm_host *nh = data;
struct nlm_host *hostp;
nlm_host_release(g, (struct nlm_host *)sysid);
return (((struct nlm_host *)lms)->nh_sysid);
sizeof (struct nlm_host),
offsetof(struct nlm_host, nh_by_addr));
nlm_register_lock_locally(vp, (struct nlm_host *)ls,
static int nlm_reclaim_lock(struct nlm_host *, vnode_t *,
nlm_call_unlock(struct flock64 *flp, struct nlm_host *hostp,
struct nlm_host *, struct netobj *,
nlm_call_test(struct flock64 *flp, struct nlm_host *hostp,
static int nlm_call_unlock(struct flock64 *, struct nlm_host *,
static int nlm_call_test(struct flock64 *, struct nlm_host *,
struct nlm_host *, int);
struct nlm_host *host = NULL;
static int nlm_call_share(struct shrlock *, struct nlm_host *,
static int nlm_call_unshare(struct shrlock *, struct nlm_host *,
nlm_reclaim_share(struct nlm_host *hostp, vnode_t *vp,
static int nlm_reclaim_share(struct nlm_host *, vnode_t *,
nlm_call_share(struct shrlock *shr, struct nlm_host *host,
nlm_call_unshare(struct shrlock *shr, struct nlm_host *host,
nlm_reclaim_client(struct nlm_globals *g, struct nlm_host *hostp)
struct nlm_host *, hostp, int, state);
struct nlm_host *hostp;
nlm_frlock_getlk(struct nlm_host *hostp, vnode_t *vp,
nlm_frlock_setlk(struct nlm_host *hostp, vnode_t *vp,
nlm_client_cancel_all(struct nlm_globals *g, struct nlm_host *hostp)
nlm_register_lock_locally(struct vnode *vp, struct nlm_host *hostp,
nlm_reclaim_lock(struct nlm_host *hostp, vnode_t *vp,
struct nlm_host *hostp, struct netobj *fhp,
static int nlm_frlock_getlk(struct nlm_host *, vnode_t *,
struct nlm_host *hostp, int vers)
static int nlm_frlock_setlk(struct nlm_host *, vnode_t *,
nlm_vhold_get(struct nlm_host *hostp, vnode_t *vp)
nlm_vhold_release(struct nlm_host *hostp, struct nlm_vhold *nvp)
nlm_vhold_destroy(struct nlm_host *hostp, struct nlm_vhold *nvp)
nlm_vhold_busy(struct nlm_host *hostp, struct nlm_vhold *nvp)
nlm_vhold_find_locked(struct nlm_host *hostp, const vnode_t *vp)
struct nlm_host *hostp = (struct nlm_host *)datap;
struct nlm_host *hostp = (struct nlm_host *)datap;
nlm_host_unregister(struct nlm_globals *g, struct nlm_host *hostp)
nlm_host_destroy(struct nlm_host *hostp)
nlm_host_notify_server(struct nlm_host *hostp, int32_t state)
nlm_host_notify_client(struct nlm_host *hostp, int32_t state)
nlm_host_wait_grace(struct nlm_host *hostp)
static struct nlm_host *
struct nlm_host *host;
nlm_host_cancel_slocks(struct nlm_globals *g, struct nlm_host *hostp)
nlm_host_gc_vholds(struct nlm_host *hostp)
nlm_host_has_srv_locks(struct nlm_host *hostp)
nlm_host_has_cli_locks(struct nlm_host *hostp)
nlm_host_has_locks(struct nlm_host *hostp)
struct nlm_host *h1 = (struct nlm_host *)p1;
struct nlm_host *h2 = (struct nlm_host *)p2;
static struct nlm_host *
struct nlm_host *hostp, key;
struct nlm_host *
struct nlm_host *hostp = NULL;
struct nlm_host *
struct nlm_host *host, *newhost = NULL;
struct nlm_host *
struct nlm_host *hostp = NULL;
nlm_host_release_locked(struct nlm_globals *g, struct nlm_host *hostp)
nlm_host_release(struct nlm_globals *g, struct nlm_host *hostp)
nlm_host_unmonitor(struct nlm_globals *g, struct nlm_host *host)
nlm_host_monitor(struct nlm_globals *g, struct nlm_host *host, int state)
nlm_host_get_state(struct nlm_host *hostp)
struct nlm_host *host,
struct nlm_host *hostp, struct nlm4_lock *alock)
nlm_slreq_register(struct nlm_host *hostp, struct nlm_vhold *nvp,
nlm_slreq_unregister(struct nlm_host *hostp, struct nlm_vhold *nvp,
nlm_slreq_find_locked(struct nlm_host *hostp, struct nlm_vhold *nvp,
static void nlm_reclaimer(struct nlm_host *);
nlm_shres_track(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp)
nlm_shres_untrack(struct nlm_host *hostp, vnode_t *vp, struct shrlock *shrp)
nlm_get_active_shres(struct nlm_host *hostp)
static void nlm_host_destroy(struct nlm_host *);
static struct nlm_host *nlm_host_create(char *, const char *,
static struct nlm_host *nlm_host_find_locked(struct nlm_globals *,
static void nlm_host_unregister(struct nlm_globals *, struct nlm_host *);
static void nlm_host_gc_vholds(struct nlm_host *);
static bool_t nlm_host_has_srv_locks(struct nlm_host *);
static bool_t nlm_host_has_cli_locks(struct nlm_host *);
static bool_t nlm_host_has_locks(struct nlm_host *);
struct nlm_host *hostp;
static void nlm_vhold_destroy(struct nlm_host *,
struct nlm_host *hostp;
static bool_t nlm_vhold_busy(struct nlm_host *, struct nlm_vhold *);
struct nlm_host *hostp;
struct nlm_slreq *nlm_slreq_find_locked(struct nlm_host *,
sizeof (struct nlm_host), 0, nlm_host_ctor, nlm_host_dtor,
struct nlm_host *hostp;
nlm_reclaimer(struct nlm_host *hostp)
struct nlm_host *hostp;
struct nlm_host *hostp, *h_next;
DTRACE_PROBE1(resume__host, struct nlm_host *, hostp);
struct nlm_host *nsl_host; /* (c) */
struct nlm_host {
TAILQ_ENTRY(nlm_host) nh_link; /* (z) */
struct nlm_host *nlm_host_findcreate(struct nlm_globals *, char *,
struct nlm_host *nlm_host_find(struct nlm_globals *,
struct nlm_host *nlm_host_find_by_sysid(struct nlm_globals *, sysid_t);
struct nlm_host;
set_bindsrcaddr(struct nlm_host *hostp, nlm_rpc_t *rpcp)
refresh_nlm_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp)
nlm_host_get_rpc(struct nlm_host *hostp, int vers, nlm_rpc_t **rpcpp)
DTRACE_PROBE2(end, struct nlm_host *, hostp,
nlm_host_rele_rpc(struct nlm_host *hostp, nlm_rpc_t *rpcp)
nlm_host_rele_rpc_locked(struct nlm_host *hostp, nlm_rpc_t *rpcp)
nlm_host_invalidate_binding(struct nlm_host *hostp)
nlm_rpc_cache_destroy(struct nlm_host *hostp)
static nlm_rpc_t *get_nlm_rpc_fromcache(struct nlm_host *, int);
static void update_host_rpcbinding(struct nlm_host *, int);
static int refresh_nlm_rpc(struct nlm_host *, nlm_rpc_t *);
static void nlm_host_rele_rpc_locked(struct nlm_host *, nlm_rpc_t *);
get_nlm_rpc_fromcache(struct nlm_host *hostp, int vers)
update_host_rpcbinding(struct nlm_host *hostp, int vers)
struct nlm_host *, host, nlm4_res *, resp);
struct nlm_host *host;
struct nlm_host *host,
struct nlm_host *hostp;
nlm4_share *nshare, struct nlm_host *host)
static struct nlm_vhold *nlm_fh_to_vhold(struct nlm_host *, struct netobj *);
static void nlm_init_shrlock(struct shrlock *, nlm4_share *, struct nlm_host *);
struct nlm_host *host;
struct nlm_host *, host, nlm4_shareargs *, argp);
struct nlm_host *, host, nlm4_shareres *, resp);
struct nlm_host *host;
struct nlm_host *host, rpcvers_t vers, short type)
struct nlm_host *, host, nlm4_shareargs *, argp);
struct nlm_host *, host, nlm4_shareres *, resp);
nlm_fh_to_vhold(struct nlm_host *hostp, struct netobj *fh)
struct nlm_host *host;
struct nlm_host *host;
struct nlm_host *host = NULL;
struct nlm_host *, host, nlm4_lockargs *, argp);
struct nlm_host *, host, nlm4_res *, resp);
struct nlm_host *host,
struct nlm_host *hostp;
struct nlm_host *host;
struct nlm_host *, host, nlm4_cancargs *, argp);
struct nlm_host *, host, nlm4_res *, resp);
struct nlm_host *host;
struct nlm_host *, host, nlm4_unlockargs *, argp);