Searched refs:subclass (Results 1 - 25 of 74) sorted by relevance

123

/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=$publisher dr_request_type=$dr_request_type dr_ap_id=$dr_ap_id
27 EC_dr ESC_dr_req SUNW pcieb_bcm - - - /usr/lib/pci/pcidr class=$class subclass=$subclass publisher=$publisher dr_request_type=$dr_request_type dr_ap_id=$dr_ap_id
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_dr.c77 const char *subclass = sysevent_get_subclass_name(sep); local
82 if (strcmp(subclass, ESC_DR_AP_STATE_CHANGE) != 0 &&
83 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) != 0)
97 if (strcmp(subclass, ESC_PLATFORM_SP_RESET) != 0)
101 if (strcmp(subclass, ESC_DISK) != 0)
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c161 char *subclass; local
174 if ((subclass = sysevent_get_subclass_name(ev)) == NULL)
186 class, subclass, phys_path);
235 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index);
254 gchar subclass[1024]; local
269 class[0] = subclass[0] = phys_path[0] = dev_name[0] =
271 matches = sscanf(s, "%s %s %s %s %s %s %d", class, subclass,
278 HAL_INFO (("sysevent: class=%s, sub=%s", class, subclass));
281 if ((strcmp(subclass, ESC_DISK) == 0) ||
282 (strcmp(subclass, ESC_PRINTE
481 sysevent_pwrctl(gchar *class, gchar *subclass, gchar *phys_path, gchar *dev_name, gchar *dev_hid, gchar *dev_uid, uint_t dev_index) argument
[all...]
H A Ddevinfo_acpi.h39 void devinfo_brightness_hotkeys_event(char *subclass);
41 void devinfo_lid_event(char *subclass, gchar *udi);
H A Ddevinfo_acpi.c170 devinfo_brightness_hotkeys_event(char *subclass) argument
178 if (strcmp(subclass, ESC_PWRCTL_BRIGHTNESS_UP) == 0) {
205 devinfo_lid_event(char *subclass, gchar *udi) argument
216 (strcmp(subclass, ESC_PWRCTL_REMOVE) == 0));
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c144 vrfy_subclass(const char *subclass) argument
146 if (subclass == NULL || *subclass == '\0')
149 if (strnlen(subclass, FMEV_PUB_MAXSUBCLASSLEN) ==
358 const char *ruleset, const char *class, const char *subclass,
389 * class and subclass), we are going to add some detector
427 * const char *subclass Raw subclass
432 rc = (sysevent_evc_publish(evc, class, subclass, ruleset, "",
448 const char *ruleset, const char *class, const char *subclass,
357 do_publish(const char *file, const char *func, int64_t line, const char *ruleset, const char *class, const char *subclass, fmev_pri_t pri, nvlist_t *nvl, uint_t ntuples, va_list ap) argument
446 _i_fmev_publish_nvl( const char *file, const char *func, int64_t line, const char *ruleset, const char *class, const char *subclass, fmev_pri_t pri, nvlist_t *attr) argument
462 _i_fmev_publish( const char *file, const char *func, int64_t line, const char *ruleset, const char *class, const char *subclass, fmev_pri_t pri, uint_t ntuples, ...) argument
492 _fmev_publish(const char *class, const char *subclass, fmev_pri_t pri, uint_t ntuples, ...) argument
515 _fmev_rspublish(const char *ruleset, const char *class, const char *subclass, fmev_pri_t pri, uint_t ntuples, ...) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dsysevent_events.c52 * subclass ESC_NETWORK. These signify hotplug addition/removal.
76 /* Make sure sysevent is of expected class/subclass */
81 "class/subclass %s/%s", event_class, event_subclass);
120 const char *subclass = ESC_NETWORK; local
131 * Subscribe to ESC_NETWORK subclass of EC_DEV_ADD and EC_DEV_REMOVE
135 if (sysevent_subscribe_event(sysevent_handle, EC_DEV_ADD, &subclass, 1)
137 sysevent_subscribe_event(sysevent_handle, EC_DEV_REMOVE, &subclass,
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dobject.c316 CK_ULONG class = 0xFFFFFFFF, subclass = 0xFFFFFFFF; local
323 // extract the object class and subclass
333 subclass = *(CK_CERTIFICATE_TYPE *)attr->pValue;
338 subclass = *(CK_KEY_TYPE *)attr->pValue;
343 subclass = *(CK_HW_FEATURE_TYPE *)attr->pValue;
356 MODE_CREATE, class, subclass, &o);
433 CK_ULONG class, subclass; local
471 found = template_get_class(tmpl, &class, &subclass);
484 rc = template_validate_attributes(new_tmpl, class, subclass,
495 subclass, MODE_COP
714 CK_ULONG class, subclass; local
814 object_create_skel(CK_ATTRIBUTE * pTemplate, CK_ULONG ulCount, CK_ULONG mode, CK_ULONG class, CK_ULONG subclass, OBJECT ** obj) argument
[all...]
H A Dtemplate.c345 CK_ULONG subclass,
362 if (subclass == CKC_X_509)
367 switch (subclass) {
376 switch (subclass) {
385 switch (subclass) {
394 switch (subclass) {
406 switch (subclass) {
472 CK_ULONG subclass,
479 if (subclass == CKC_X_509)
486 switch (subclass) {
343 template_add_default_attributes(TEMPLATE * tmpl, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument
470 template_check_required_attributes(TEMPLATE * tmpl, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument
847 template_get_class(TEMPLATE * tmpl, CK_ULONG * class, CK_ULONG * subclass) argument
953 CK_ULONG subclass; local
1105 template_validate_attribute(TEMPLATE * tmpl, CK_ATTRIBUTE * attr, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument
1167 template_validate_attributes(TEMPLATE * tmpl, CK_ULONG class, CK_ULONG subclass, CK_ULONG mode) argument
[all...]
H A Dkey_mgr.c72 CK_ULONG i, keyclass, subclass = 0; local
95 subclass = *(CK_ULONG *)publ_tmpl[i].pValue;
109 if (temp != subclass) {
118 if (subclass != 0 && subclass != CKK_RSA) {
122 subclass = CKK_RSA;
132 CKO_PUBLIC_KEY, subclass, &publ_key_obj);
139 CKO_PRIVATE_KEY, subclass, &priv_key_obj);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/resilver/
H A Dsysevent.c45 char *subclass = NULL; local
49 subclass = sysevent_get_subclass_name(ev);
51 if (class == NULL || subclass == NULL)
57 (void) fprintf(out, "Received %s.%s event\n", class, subclass);
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.h55 #define ATTRNM_SUBCLASS "subclass"
66 char *subclass; member in struct:__anon1089
/illumos-gate/usr/src/cmd/acpihpd/
H A Dnotify.c269 char *class, *subclass; local
287 subclass = sysevent_get_subclass_name(ev);
289 "message_subclass = '%s'", subclass ? subclass : "unknown");
290 if (subclass == NULL || strcmp(subclass, ESC_DR_REQ) != 0) {
292 "subclass of message is not '%s'", ESC_DR_REQ);
352 /* No need to free class & subclass. */
H A Dacpihpd.c256 const char *subclass = ESC_DR_REQ; local
265 if (sysevent_subscribe_event(s_acpihpd_hdl, EC_DR, &subclass, 1) != 0) {
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c279 const char *class_name, *subclass; local
298 subclass = sysevent_get_subclass_name(evp);
301 if (strcmp(subclass, ESC_DEVFS_DEVI_ADD) == 0) {
305 } else if (strcmp(subclass, ESC_DEVFS_DEVI_REMOVE) == 0) {
312 ((strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) ||
313 (strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) == 0))) {
536 char *subclass = sysevent_get_subclass_name(evp); local
552 strcmp(subclass, ESC_DR_AP_STATE_CHANGE) == 0) {
562 strcmp(subclass, ESC_DR_TARGET_STATE_CHANGE) == 0) {
595 char *subclass local
[all...]
/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c116 const char *subclass = sysevent_get_subclass_name(ev); local
121 strcmp(subclass, ESC_DATALINK_PHYS_ADD) != 0) {
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c735 const char *subclass = sysevent_get_subclass_name(ev); local
746 if (strcmp(subclass, ESC_DISK) == 0)
748 else if (strcmp(subclass, ESC_LOFI) == 0)
755 if (strcmp(subclass, ESC_ZFS_VDEV_CHECK) == 0) {
762 } else if ((strcmp(subclass, ESC_ZFS_VDEV_ADD) == 0) ||
763 (strcmp(subclass, ESC_ZFS_VDEV_ATTACH) == 0) ||
764 (strcmp(subclass, ESC_ZFS_VDEV_CLEAR) == 0) ||
765 (strcmp(subclass, ESC_ZFS_VDEV_ONLINE) == 0) ||
766 (strcmp(subclass, ESC_ZFS_POOL_CREATE) == 0) ||
767 (strcmp(subclass, ESC_ZFS_POOL_IMPOR
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_smhba.h71 void mptsas_smhba_log_sysevent(mptsas_t *mpt, char *subclass, char *etype,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c234 pmcs_smhba_log_sysevent(pmcs_hw_t *pwp, char *subclass, char *etype, argument
254 if ((strcmp(subclass, ESC_SAS_PHY_EVENT) == 0) ||
255 (strcmp(subclass, ESC_SAS_HBA_PORT_BROADCAST) == 0)) {
265 if (strcmp(subclass, ESC_SAS_HBA_PORT_BROADCAST) == 0) {
297 (void) ddi_log_sysevent(pwp->dip, DDI_VENDOR_SUNW, EC_HBA, subclass,
/illumos-gate/usr/src/cmd/oplhpd/
H A Doplhpd.c224 const char *subclass = ESC_DR_AP_STATE_CHANGE; local
234 if (sysevent_subscribe_event(oplhpd_hdl, EC_DR, &subclass, 1) != 0) {
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c88 char *subclass; local
98 if ((subclass = sysevent_get_subclass_name (ev)) == NULL)
102 (strcmp (subclass, ESC_DEV_EJECT_REQUEST) != 0))
124 HAL_DEBUG (("sysevent_dev_handler %s %s", subclass, phys_path));
/illumos-gate/usr/src/uts/common/os/
H A Dpool.c489 pool_create(int class, int subclass, id_t *id) argument
501 switch (subclass) {
522 pool_destroy(int class, int subclass, id_t id) argument
534 switch (subclass) {
1032 pool_propput(int class, int subclass, id_t id, nvpair_t *pair) argument
1047 switch (subclass) {
1059 switch (subclass) {
1074 pool_proprm(int class, int subclass, id_t id, char *name) argument
1089 switch (subclass) {
1101 switch (subclass) {
1116 pool_propget(char *name, int class, int subclass, id_t id, nvlist_t **nvlp) argument
[all...]
/illumos-gate/usr/src/lib/efcode/pci/
H A Dpci.c298 uint8_t basclass, subclass, progclass; local
310 subclass = POP(DS);
314 sprintf(buf, "pciclass%02x%02x%02x", basclass, subclass, progclass);
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvc_objects_class.h47 int32_t subclass; member in struct:__anon1215
/illumos-gate/usr/src/cmd/syseventd/modules/sysevent_conf_mod/
H A Dsysevent_conf_mod.h74 char *se_subclass; /* event subclass */
87 char *subclass; member in struct:sysevent_hdr_info

Completed in 98 milliseconds

123