evch_bind_t
evch_chbind(const char *chnam, evch_bind_t **scpp, uint32_t flags)
evch_bind_t *bp;
bp = kmem_alloc(sizeof (evch_bind_t), KM_SLEEP);
evch_chunbind(evch_bind_t *bp)
kmem_free(bp, sizeof (evch_bind_t));
evch_chsubscribe(evch_bind_t *bp, int dtype, const char *sid, const char *class,
evch_chunsubscribe(evch_bind_t *bp, const char *sid, uint32_t flags)
evch_chpublish(evch_bind_t *bp, sysevent_impl_t *ev, int flags)
DTRACE_SYSEVENT2(post, evch_bind_t *, bp, sysevent_impl_t *, ev);
evch_chsetpropnvl(evch_bind_t *bp, nvlist_t *nvl)
evch_chgetpropnvl(evch_bind_t *bp, nvlist_t **nvlp, int64_t *genp)
return (evch_chbind(ch_name, (evch_bind_t **)scpp, flags));
evch_bind_t *bp = (evch_bind_t *)scp;
return (evch_chsubscribe((evch_bind_t *)scp, EVCH_DELKERN, sid, class,
evch_chunsubscribe((evch_bind_t *)scp, sid, 0);
return (evch_chpublish((evch_bind_t *)scp, evp, flags));
chp = ((evch_bind_t *)scp)->bd_channel;
evch_chsetpropnvl((evch_bind_t *)scp, nvlcp);
return (evch_chgetpropnvl((evch_bind_t *)scp, nvlp, NULL));
return (evch_chrdevent_init(((evch_bind_t *)scp)->bd_channel, subscr));
evch_bind_t *bp = NULL;
evch_chunbind((evch_bind_t *)cbp);
return (evch_chpublish((evch_bind_t *)bp, ev, flags));
if ((rv = evch_chsubscribe((evch_bind_t *)bp, EVCH_DELDOOR, sid, class,
evch_chunsubscribe((evch_bind_t *)bp, subid, flags);
evch_chan_t *chp = ((evch_bind_t *)bp)->bd_channel;
evch_chan_t *chp = ((evch_bind_t *)bp)->bd_channel;
evch_chsetpropnvl((evch_bind_t *)bp, nvl);
return (evch_chgetpropnvl((evch_bind_t *)bp, nvlp, genp));
DTRACE_SYSEVENT2(post, evch_bind_t *, NULL, sysevent_impl_t *, ev);