Lines Matching defs:evname
2910 ldi_native_event(const char *evname)
2914 LDI_EVTRC((CE_NOTE, "ldi_native_event: entered: ev=%s", evname));
2917 if (strcmp(ldi_ev_cookies[i].ck_evname, evname) == 0)
2925 ldi_ev_sync_event(const char *evname)
2929 ASSERT(ldi_native_event(evname));
2931 LDI_EVTRC((CE_NOTE, "ldi_ev_sync_event: entered: %s", evname));
2934 if (strcmp(ldi_ev_cookies[i].ck_evname, evname) == 0)
2944 cmn_err(CE_PANIC, "Unknown LDI event: %s", evname);
2950 ldi_contract_event(const char *evname)
2954 ASSERT(ldi_native_event(evname));
2956 LDI_EVTRC((CE_NOTE, "ldi_contract_event: entered: %s", evname));
2959 if (strcmp(ldi_ev_cookies[i].ck_evname, evname) == 0)
2969 cmn_err(CE_PANIC, "Unknown LDI event: %s", evname);
3014 ldi_get_native_cookie(const char *evname)
3019 if (strcmp(ldi_ev_cookies[i].ck_evname, evname) == 0) {
3076 ldi_ev_get_cookie(ldi_handle_t lh, char *evname, ldi_ev_cookie_t *cookiep)
3086 LDI_EVDBG((CE_NOTE, "ldi_ev_get_cookie: entered: evname=%s",
3087 evname ? evname : "<NULL>"));
3089 if (lh == NULL || evname == NULL ||
3090 strlen(evname) == 0 || cookiep == NULL) {
3100 tcookie = ldi_get_native_cookie(evname);
3128 (void *)dip, evname));
3130 res = ddi_get_eventcookie(dip, evname, &ddi_cookie);
3479 char *evname = ldi_ev_get_type(cookie);
3491 evname, (void *)dip));
3493 if (!ldi_ev_sync_event(evname)) {
3495 "negotiatable event", evname);
3515 ct_evtype = ldi_contract_event(evname);
3523 retl = ldi_invoke_notify(dip, dev, spec_type, evname, ev_data);
3650 char *evname;
3673 evname = ldi_ev_get_type(cookie);
3676 ct_evtype = ldi_contract_event(evname);
3680 ldi_invoke_finalize(dip, dev, spec_type, evname, ldi_result, ev_data);