sysevent_impl_t
sysevent_impl_t *ev;
size = SE_SIZE((sysevent_impl_t *)&evh);
ev = calloc(1, sizeof (sysevent_impl_t) + payload_sz);
SE_SUBCLASS_OFF(ev) = SE_ALIGN(offsetof(sysevent_impl_t, se_class_name))
sysevent_impl_t *ev;
evch_chpublish(evch_bind_t *bp, sysevent_impl_t *ev, int flags)
DTRACE_SYSEVENT2(post, evch_bind_t *, bp, sysevent_impl_t *, ev);
static sysevent_impl_t *evch_curev;
static sysevent_impl_t *
if ((evch_curev = (sysevent_impl_t *)
if ((evch_curev = (sysevent_impl_t *)
snp->sn_nxtev = (sysevent_impl_t *)evch_evq_evnext(snp->sn_queue,
static sysevent_impl_t *
sysevent_impl_t *ev;
if ((ev = evch_evq_evzalloc(sizeof (sysevent_impl_t) +
SE_SUBCLASS_OFF(ev) = SE_ALIGN(offsetof(sysevent_impl_t,
sysevent_impl_t *evp;
sysevent_impl_t *
return ((sysevent_impl_t *)evch_evq_evzalloc(evsize, flags));
evch_usrfreeev(sysevent_impl_t *ev)
evch_usrpostevent(evchan_t *bp, sysevent_impl_t *ev, uint32_t flags)
sysevent_impl_t *ev = (sysevent_impl_t *)evp;
sysevent_impl_t *ev = (sysevent_impl_t *)evp;
size = sizeof (sysevent_impl_t) + SE_PAYLOAD_SZ(ev);
DTRACE_SYSEVENT2(post, evch_bind_t *, NULL, sysevent_impl_t *, ev);
SE_SUBCLASS_OFF(ev) = SE_ALIGN(offsetof(sysevent_impl_t, se_class_name))
#define SYSEVENT_IMPL(ev) ((sysevent_impl_t *)(void *)(ev))
#define SE_SIZE(ev) (sizeof (sysevent_impl_t) + SE_PAYLOAD_SZ(ev))
sysevent_impl_t buf;
sysevent_impl_t *sn_nxtev; /* Pointer to find next event */
extern sysevent_impl_t *evch_usrallocev(size_t evsize, uint32_t flags);
extern void evch_usrfreeev(sysevent_impl_t *ev);
extern int evch_usrpostevent(evchan_t *bp, sysevent_impl_t *ev, uint32_t flags);