Lines Matching refs:ev
122 #define SYSEVENT_IMPL(ev) ((sysevent_impl_t *)(void *)(ev))
123 #define SE_VERSION(ev) (SYSEVENT_IMPL(ev)->seh_version)
124 #define SE_CLASS(ev) (SYSEVENT_IMPL(ev)->seh_class)
125 #define SE_SUBCLASS(ev) (SYSEVENT_IMPL(ev)->seh_subclass)
126 #define SE_SEQ(ev) (SYSEVENT_IMPL(ev)->seh_seq)
127 #define SE_TIME(ev) (SYSEVENT_IMPL(ev)->seh_time)
128 #define SE_SUBCLASS_OFF(ev) (SYSEVENT_IMPL(ev)->seh_subclass_off)
129 #define SE_PUB_OFF(ev) (SYSEVENT_IMPL(ev)->seh_pub_off)
130 #define SE_PAYLOAD_SZ(ev) (SYSEVENT_IMPL(ev)->seh_payload_sz)
131 #define SE_FLAG(ev) (SYSEVENT_IMPL(ev)->seh_flag)
132 #define SE_SIZE(ev) (sizeof (sysevent_impl_t) + SE_PAYLOAD_SZ(ev))
133 #define SE_CLASS_NAME(ev) ((char *)&(SYSEVENT_IMPL(ev)->se_class_name))
134 #define SE_SUBCLASS_NAME(ev) ((char *)((caddr_t)(ev) + SE_SUBCLASS_OFF(ev)))
135 #define SE_PUB_NAME(ev) ((char *)((caddr_t)(ev) + SE_PUB_OFF(ev)))
148 #define SE_ATTR_PTR(ev) (SYSEVENT_IMPL(ev)->seh_attr_off)
151 #define SE_ATTR_OFF(ev) SE_PUB_OFF(ev) + SE_ALIGN(strlen(SE_PUB_NAME(ev)) + 1)
323 kmutex_t eq_queuemx; /* Protect. of this struct and ev q */
414 evch_eventq_t *sn_queue; /* Event queue with snapshot of ev's */
422 extern void evch_usrfreeev(sysevent_impl_t *ev);
423 extern int evch_usrpostevent(evchan_t *bp, sysevent_impl_t *ev, uint32_t flags);
471 uint32_t cd_nevents; /* current no of events in main ev q */
549 sev_box_t ev;