Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 25 of 84) sorted by path

1234

/illumos-gate/usr/src/cmd/acpihpd/
H A Dacpihpd.c256 const char *subclass = ESC_DR_REQ; in acpihpd_init() local
265 if (sysevent_subscribe_event(s_acpihpd_hdl, EC_DR, &subclass, 1) != 0) { in acpihpd_init()
H A Dnotify.c269 char *class, *subclass; in notify_hotplug() local
287 subclass = sysevent_get_subclass_name(ev); in notify_hotplug()
289 "message_subclass = '%s'", subclass ? subclass : "unknown"); in notify_hotplug()
290 if (subclass == NULL || strcmp(subclass, ESC_DR_REQ) != 0) { in notify_hotplug()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c120 const char *subclass = ESC_NETWORK; in sysevent_initialization() local
135 if (sysevent_subscribe_event(sysevent_handle, EC_DEV_ADD, &subclass, 1) in sysevent_initialization()
137 sysevent_subscribe_event(sysevent_handle, EC_DEV_REMOVE, &subclass, in sysevent_initialization()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c2705 post_event(const char *subclass, nvlist_t *nvl) in post_event() argument
2724 logerr("cannot create `%s' event: %s", subclass, in post_event()
2729 errno = sysevent_evc_publish(evchp, EC_IPMP, subclass, "com.sun", in post_event()
2732 logerr("cannot send `%s' event: %s\n", subclass, in post_event()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c1627 char *subclass; in event_handler() local
1641 subclass = sysevent_get_subclass_name(ev); in event_handler()
1643 subclass, sysevent_get_seq(ev)); in event_handler()
1733 err_print(UNKNOWN_EVENT, subclass); in event_handler()
8235 if (strcmp(subclass, ESC_DISK) == 0) { in build_event_attributes()
8352 if (strcmp(subclass, ESC_LOFI) != 0) in build_event_attributes()
8387 tmp->subclass = s_strdup(subclass); in enqueue_sysevent()
8407 tmp->class, tmp->subclass); in process_syseventq()
8413 if (tmp->subclass != NULL) in process_syseventq()
8414 free(tmp->subclass); in process_syseventq()
[all …]
H A Ddevfsadm_impl.h356 char *subclass; member
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_door.c114 dlmgmt_post_sysevent(const char *subclass, datalink_id_t linkid, in dlmgmt_post_sysevent() argument
128 if (sysevent_post_event(EC_DATALINK, (char *)subclass, SUNW_VENDOR, in dlmgmt_post_sysevent()
/illumos-gate/usr/src/cmd/fm/eversholt/files/i386/i86pc/
H A Dgcpu_amd.esc37 * support, then memory ereports will surface in a more-specific subclass
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_dr.c77 const char *subclass = sysevent_get_subclass_name(sep); in fmd_dr_event() local
82 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) != 0 && in fmd_dr_event()
83 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) != 0) in fmd_dr_event()
97 if (strcmp(subclass, ESC_PLATFORM_SP_RESET) != 0) in fmd_dr_event()
101 if (strcmp(subclass, ESC_DISK) != 0) in fmd_dr_event()
H A Dfmd_protocol.c350 const char *class, uint8_t version, const char *subclass) in fmd_protocol_xprt_sub() argument
353 int err = nvlist_add_string(nvl, FM_RSRC_XPRT_SUBCLASS, subclass); in fmd_protocol_xprt_sub()
H A Dfmd_sysevent.c101 const char *subclass = sysevent_get_subclass_name(sep); in sysev_legacy() local
112 class, subclass); in sysev_legacy()
115 SYSEVENT_RSRC_CLASS, class, subclass); in sysev_legacy()
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c279 const char *class_name, *subclass; in disk_sysev_to_state() local
298 subclass = sysevent_get_subclass_name(evp); in disk_sysev_to_state()
301 if (strcmp(subclass, ESC_DEVFS_DEVI_ADD) == 0) { in disk_sysev_to_state()
305 } else if (strcmp(subclass, ESC_DEVFS_DEVI_REMOVE) == 0) { in disk_sysev_to_state()
312 ((strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) || in disk_sysev_to_state()
536 char *subclass = sysevent_get_subclass_name(evp); in match_sysevent_to_disk() local
552 strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) { in match_sysevent_to_disk()
562 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) == 0) { in match_sysevent_to_disk()
595 char *subclass = sysevent_get_subclass_name(dupev); in dm_process_sysevent() local
600 subclass, in dm_process_sysevent()
[all …]
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c88 char *subclass; in sysevent_dev_handler() local
98 if ((subclass = sysevent_get_subclass_name (ev)) == NULL) in sysevent_dev_handler()
102 (strcmp (subclass, ESC_DEV_EJECT_REQUEST) != 0)) in sysevent_dev_handler()
124 HAL_DEBUG (("sysevent_dev_handler %s %s", subclass, phys_path)); in sysevent_dev_handler()
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.c170 devinfo_brightness_hotkeys_event(char *subclass) in devinfo_brightness_hotkeys_event() argument
178 if (strcmp(subclass, ESC_PWRCTL_BRIGHTNESS_UP) == 0) { in devinfo_brightness_hotkeys_event()
205 devinfo_lid_event(char *subclass, gchar *udi) in devinfo_lid_event() argument
216 (strcmp(subclass, ESC_PWRCTL_REMOVE) == 0)); in devinfo_lid_event()
H A Ddevinfo_acpi.h39 void devinfo_brightness_hotkeys_event(char *subclass);
41 void devinfo_lid_event(char *subclass, gchar *udi);
H A Dsysevent.c162 char *subclass; in sysevent_dev_handler() local
187 class, subclass, phys_path); in sysevent_dev_handler()
255 gchar subclass[1024]; in sysevent_iochannel_data() local
282 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
283 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
285 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data()
289 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
290 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
298 sysevent_pwrctl(class, subclass, phys_path, in sysevent_iochannel_data()
496 devinfo_lid_event(subclass, udi); in sysevent_pwrctl()
[all …]
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c222 const char *subclass = ESC_DR_AP_STATE_CHANGE; in oplhpd_init() local
232 if (sysevent_subscribe_event(oplhpd_hdl, EC_DR, &subclass, 1) != 0) { in oplhpd_init()
/illumos-gate/usr/src/cmd/pcidr/etc/
H A DSUNW,EC_dr,ESC_dr_req,sysevent.conf26 EC_dr ESC_dr_req SUNW pcieb - - - /usr/lib/pci/pcidr class=$class subclass=$subclass publisher=$pub…
27 EC_dr ESC_dr_req SUNW pcieb_bcm - - - /usr/lib/pci/pcidr class=$class subclass=$subclass publisher=…
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.h64 char *subclass; member
H A Dpcidr_common.c260 val = drp->subclass; in pcidr_check_attrs()
317 r = nvlist_lookup_string(attrlistp, name, &drp->subclass); in pcidr_get_attrs()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/conf/
H A Dpsvcobj.conf37 * <Object Label> <class> <subclass> <instance> <feature> <feature> ...<feature>
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/conf/
H A Dpsvcobj.conf35 * <Object Label> <class> <subclass> <instance> <feature> <feature> ...<feature>
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/conf/
H A Dpsvcobj.conf35 * <Object Label> <class> <subclass> <instance> <feature> <feature> ...<feature>
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects_class.h45 int32_t subclass; member
H A Dpsvcobj.c2789 int32_t class, subclass; in i_psvc_get_obj() local
2834 if (i_psvc_value(buf, PSVC_SUBCLASS_ATTR, &subclass) in i_psvc_get_obj()
2837 ret = (*i_psvc_constructor[class][subclass])(hp, in i_psvc_get_obj()
3134 *(int32_t *)attrp = objp->subclass; in i_psvc_get_attr_generic()
4018 if (i_psvc_value(buf, PSVC_SUBCLASS_ATTR, &objp->subclass) != in i_psvc_load_generic()

1234