Lines Matching defs:eventp
190 ddi_hp_cn_async_event_entry_t *eventp;
236 eventp = kmem_zalloc(sizeof (ddi_hp_cn_async_event_entry_t),
238 if (eventp == NULL)
241 eventp->cn_name = ddi_strdup(cn_name, KM_NOSLEEP);
242 if (eventp->cn_name == NULL) {
243 kmem_free(eventp, sizeof (ddi_hp_cn_async_event_entry_t));
246 eventp->dip = dip;
247 eventp->target_state = state;
255 if (!taskq_dispatch(system_taskq, ddihp_cn_run_event, eventp,
340 ddi_hp_cn_async_event_entry_t *eventp =
342 dev_info_t *dip = eventp->dip;
349 hdlp = ddihp_cn_name_to_handle(dip, eventp->cn_name);
351 (void) ddihp_cn_req_handler(hdlp, eventp->target_state);
356 eventp->cn_name, (void *)dip, eventp->target_state));
363 kmem_free(eventp->cn_name, strlen(eventp->cn_name) + 1);
364 kmem_free(eventp, sizeof (ddi_hp_cn_async_event_entry_t));