Lines Matching defs:evctlp
250 md_event_ioctl_t *evctlp)
253 assert(evctlp);
255 (void) memset(evctlp, 0, sizeof (md_event_ioctl_t));
257 evctlp->mdn_magic = MD_EVENT_ID;
258 evctlp->mdn_rev = MD_NOTIFY_REVISION;
261 (void) strncpy(evctlp->mdn_name, qname, MD_NOTIFY_NAME_SIZE-1);
263 (void) memset(evctlp->mdn_name, 0, MD_NOTIFY_NAME_SIZE);
265 evctlp->mdn_tag = tag;
266 evctlp->mdn_event = ev;
267 evctlp->mdn_flags = flags;
268 evctlp->mdn_set = set;
269 evctlp->mdn_dev = dev;
270 evctlp->mdn_cmd = cmd;
271 evctlp->mdn_user = udata;
403 cook_ev(md_event_ioctl_t *evctlp, md_ev_t *evp, md_error_t *ep)
405 assert(evctlp);
408 evp->obj_type = tagdrv_2_objlib(evctlp->mdn_tag);
411 evp->obj_type = dev2tag(evctlp->mdn_dev, evctlp->mdn_set, ep);
414 evp->setno = evctlp->mdn_set;
415 evp->ev = evdrv_2_evlib(evctlp->mdn_event);
416 evp->obj = evctlp->mdn_dev;
417 evp->uev = evctlp->mdn_user;