Lines Matching defs:cip
590 struct fmevt_chaninfo *cip = &chaninfo[i];
591 char *channel = fmd_prop_get_string(hdl, cip->ci_propname);
594 if (sysevent_evc_bind(channel, &cip->ci_binding,
599 (void) snprintf(cip->ci_sid, sizeof (cip->ci_sid),
601 cip->ci_cbarg & CBF_USER ? 'u' : 'k',
602 cip->ci_cbarg & CBF_PRIV ? 'p' : 'n',
603 cip->ci_cbarg & CBF_HV ? 'h' : 'l');
605 err = sysevent_evc_xsubscribe(cip->ci_binding, cip->ci_sid,
606 EC_ALL, fmevt_cb, (void *)cip->ci_cbarg,
607 cip->ci_sflags, subattr);
628 struct fmevt_chaninfo *cip = &chaninfo[i];
630 if (cip->ci_binding) {
631 (void) sysevent_evc_unsubscribe(cip->ci_binding,
632 cip->ci_sid);
633 (void) sysevent_evc_unbind(cip->ci_binding);
634 cip->ci_binding = NULL;