/titanic_44/usr/src/cmd/hal/hald/solaris/ |
H A D | sysevent.c | 161 char *subclass; in sysevent_dev_handler() local 174 if ((subclass = sysevent_get_subclass_name(ev)) == NULL) in sysevent_dev_handler() 186 class, subclass, phys_path); in sysevent_dev_handler() 235 class, subclass, phys_path, dev_name, dev_hid, dev_uid, dev_index); in sysevent_dev_handler() 254 gchar subclass[1024]; in sysevent_iochannel_data() local 269 class[0] = subclass[0] = phys_path[0] = dev_name[0] = in sysevent_iochannel_data() 271 matches = sscanf(s, "%s %s %s %s %s %s %d", class, subclass, in sysevent_iochannel_data() 278 HAL_INFO (("sysevent: class=%s, sub=%s", class, subclass)); in sysevent_iochannel_data() 281 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data() 282 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data() [all …]
|
H A D | devinfo_acpi.c | 170 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 D | devinfo_acpi.h | 39 void devinfo_brightness_hotkeys_event(char *subclass); 41 void devinfo_lid_event(char *subclass, gchar *udi);
|
/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | template.c | 345 CK_ULONG subclass, in template_add_default_attributes() argument 362 if (subclass == CKC_X_509) in template_add_default_attributes() 367 switch (subclass) { in template_add_default_attributes() 376 switch (subclass) { in template_add_default_attributes() 385 switch (subclass) { in template_add_default_attributes() 394 switch (subclass) { in template_add_default_attributes() 406 switch (subclass) { in template_add_default_attributes() 472 CK_ULONG subclass, in template_check_required_attributes() argument 479 if (subclass == CKC_X_509) in template_check_required_attributes() 486 switch (subclass) { in template_check_required_attributes() [all …]
|
H A D | object.c | 316 CK_ULONG class = 0xFFFFFFFF, subclass = 0xFFFFFFFF; in object_create() local 333 subclass = *(CK_CERTIFICATE_TYPE *)attr->pValue; in object_create() 338 subclass = *(CK_KEY_TYPE *)attr->pValue; in object_create() 343 subclass = *(CK_HW_FEATURE_TYPE *)attr->pValue; in object_create() 356 MODE_CREATE, class, subclass, &o); in object_create() 433 CK_ULONG class, subclass; in object_copy() local 471 found = template_get_class(tmpl, &class, &subclass); in object_copy() 484 rc = template_validate_attributes(new_tmpl, class, subclass, in object_copy() 495 subclass, MODE_COPY); in object_copy() 714 CK_ULONG class, subclass; in object_set_attribute_values() local [all …]
|
H A D | key_mgr.c | 72 CK_ULONG i, keyclass, subclass = 0; in key_mgr_generate_key_pair() local 95 subclass = *(CK_ULONG *)publ_tmpl[i].pValue; in key_mgr_generate_key_pair() 109 if (temp != subclass) { in key_mgr_generate_key_pair() 118 if (subclass != 0 && subclass != CKK_RSA) { in key_mgr_generate_key_pair() 122 subclass = CKK_RSA; in key_mgr_generate_key_pair() 132 CKO_PUBLIC_KEY, subclass, &publ_key_obj); in key_mgr_generate_key_pair() 139 CKO_PRIVATE_KEY, subclass, &priv_key_obj); in key_mgr_generate_key_pair()
|
/titanic_44/usr/src/lib/fm/libfmevent/common/ |
H A D | fmev_publish.c | 144 vrfy_subclass(const char *subclass) in vrfy_subclass() argument 146 if (subclass == NULL || *subclass == '\0') in vrfy_subclass() 149 if (strnlen(subclass, FMEV_PUB_MAXSUBCLASSLEN) == in vrfy_subclass() 358 const char *ruleset, const char *class, const char *subclass, in do_publish() argument 432 rc = (sysevent_evc_publish(evc, class, subclass, ruleset, "", in do_publish() 448 const char *ruleset, const char *class, const char *subclass, in _i_fmev_publish_nvl() argument 453 if ((rc = vrfy(&ruleset, &class, &subclass, &pri)) != FMEV_OK) in _i_fmev_publish_nvl() 457 ruleset, class, subclass, in _i_fmev_publish_nvl() 464 const char *ruleset, const char *class, const char *subclass, in _i_fmev_publish() argument 471 if ((rc = vrfy(&ruleset, &class, &subclass, &pri)) != FMEV_OK) in _i_fmev_publish() [all …]
|
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dr.c | 77 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()
|
/titanic_44/usr/src/cmd/pcidr/etc/ |
H A D | SUNW,EC_dr,ESC_dr_req,sysevent.conf | 26 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=…
|
/titanic_44/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | hotplug_mgr.c | 279 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() 313 (strcmp(subclass, ESC_DR_TARGET_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 [all …]
|
/titanic_44/usr/src/cmd/acpihpd/ |
H A D | notify.c | 269 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()
|
H A D | acpihpd.c | 256 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()
|
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | sysevent_events.c | 120 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()
|
/titanic_44/usr/src/cmd/syseventd/etc/ |
H A D | README | 36 <vendor>,[<publisher>,][<class>,[<subclass>,]]sysevent.conf 48 <class> <subclass> <vendor> <publisher> <user> <reserved1> 51 <class>, <subclass>, <vendor> or <publisher> may be "-" to 52 match any class, subclass, vendor or publisher, respectively.
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 234 pmcs_smhba_log_sysevent(pmcs_hw_t *pwp, char *subclass, char *etype, in pmcs_smhba_log_sysevent() argument 254 if ((strcmp(subclass, ESC_SAS_PHY_EVENT) == 0) || in pmcs_smhba_log_sysevent() 255 (strcmp(subclass, ESC_SAS_HBA_PORT_BROADCAST) == 0)) { in pmcs_smhba_log_sysevent() 265 if (strcmp(subclass, ESC_SAS_HBA_PORT_BROADCAST) == 0) { in pmcs_smhba_log_sysevent() 297 (void) ddi_log_sysevent(pwp->dip, DDI_VENDOR_SUNW, EC_HBA, subclass, in pmcs_smhba_log_sysevent()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | pool.c | 489 pool_create(int class, int subclass, id_t *id) in pool_create() argument 501 switch (subclass) { in pool_create() 522 pool_destroy(int class, int subclass, id_t id) in pool_destroy() argument 534 switch (subclass) { in pool_destroy() 1032 pool_propput(int class, int subclass, id_t id, nvpair_t *pair) in pool_propput() argument 1047 switch (subclass) { in pool_propput() 1059 switch (subclass) { in pool_propput() 1074 pool_proprm(int class, int subclass, id_t id, char *name) in pool_proprm() argument 1089 switch (subclass) { in pool_proprm() 1101 switch (subclass) { in pool_proprm() [all …]
|
/titanic_44/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 87 char *subclass; in sysevent_dev_handler() local 97 if ((subclass = sysevent_get_subclass_name (ev)) == NULL) in sysevent_dev_handler() 101 (strcmp (subclass, ESC_DEV_EJECT_REQUEST) != 0)) in sysevent_dev_handler() 123 HAL_DEBUG (("sysevent_dev_handler %s %s", subclass, phys_path)); in sysevent_dev_handler()
|
/titanic_44/usr/src/cmd/syseventd/modules/datalink_mod/ |
H A D | datalink_mod.c | 114 const char *subclass = sysevent_get_subclass_name(ev); in datalink_deliver_event() local 119 strcmp(subclass, ESC_DATALINK_PHYS_ADD) != 0) { in datalink_deliver_event()
|
/titanic_44/usr/src/cmd/syseventd/modules/zfs_mod/ |
H A D | zfs_mod.c | 622 const char *subclass = sysevent_get_subclass_name(ev); in zfs_deliver_event() local 632 if (strcmp(subclass, ESC_DISK) == 0) in zfs_deliver_event() 634 else if (strcmp(subclass, ESC_LOFI) == 0) in zfs_deliver_event() 641 strcmp(subclass, ESC_ZFS_VDEV_CHECK) == 0) { in zfs_deliver_event() 649 strcmp(subclass, ESC_DEV_DLE) == 0) { in zfs_deliver_event()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_smhba.c | 230 mptsas_smhba_log_sysevent(mptsas_t *mpt, char *subclass, char *etype, in mptsas_smhba_log_sysevent() argument 248 if ((strcmp(subclass, ESC_SAS_PHY_EVENT) == 0) || in mptsas_smhba_log_sysevent() 249 (strcmp(subclass, ESC_SAS_HBA_PORT_BROADCAST) == 0)) { in mptsas_smhba_log_sysevent() 259 if (strcmp(subclass, ESC_SAS_HBA_PORT_BROADCAST) == 0) { in mptsas_smhba_log_sysevent() 291 (void) ddi_log_sysevent(mpt->m_dip, DDI_VENDOR_SUNW, EC_HBA, subclass, in mptsas_smhba_log_sysevent()
|
/titanic_44/usr/src/cmd/oplhpd/ |
H A D | oplhpd.c | 224 const char *subclass = ESC_DR_AP_STATE_CHANGE; in oplhpd_init() local 234 if (sysevent_subscribe_event(oplhpd_hdl, EC_DR, &subclass, 1) != 0) { in oplhpd_init()
|
/titanic_44/usr/src/lib/libds/common/ |
H A D | libds.c | 225 char *subclass; in ds_recv() local 230 subclass = sysevent_get_subclass_name(sep); in ds_recv() 236 if (strcmp(subclass, ESC_VLDS_REGISTER) == 0) { in ds_recv() 262 } else if (strcmp(subclass, ESC_VLDS_UNREGISTER) == 0) { in ds_recv() 275 } else if (strcmp(subclass, ESC_VLDS_DATA) == 0) { in ds_recv()
|
/titanic_44/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus.c | 168 uint_t class, subclass; in pciexfn_declare() local 183 (void) pci_classcode_get(mod, dn, &class, &subclass); in pciexfn_declare() 206 if (class == PCI_CLASS_BRIDGE && subclass == PCI_BRIDGE_PCI) { in pciexfn_declare() 436 uint_t class, subclass; in declare_dev_and_fn() local 462 if (pci_classcode_get(mod, din, &class, &subclass) < 0) { in declare_dev_and_fn() 474 if (class == PCI_CLASS_BRIDGE && subclass == PCI_BRIDGE_PCI) { in declare_dev_and_fn()
|
/titanic_44/usr/src/cmd/syseventd/modules/sysevent_conf_mod/ |
H A D | sysevent_conf_mod.c | 500 char *class, *subclass; in parse_conf_file() local 537 if ((subclass = next_field(&lp)) == NULL) in parse_conf_file() 631 sep->se_subclass = sc_strdup(subclass); in parse_conf_file() 1115 if (strcopys(replacement, hdr->subclass)) { in find_macro_definition() 1741 cmd_event = sysevent_alloc_event(hdr->class, hdr->subclass, hdr->vendor, in queue_event() 2017 char *subclass; in sysevent_conf_event() local 2076 subclass = sysevent_get_subclass_name(ev); in sysevent_conf_event() 2091 publisher, class, subclass); in sysevent_conf_event() 2107 if (strcmp(sep->se_subclass, subclass) != 0) in sysevent_conf_event() 2113 hdr.subclass = subclass; in sysevent_conf_event() [all …]
|
/titanic_44/usr/src/lib/efcode/pci/ |
H A D | pci.c | 300 uint8_t basclass, subclass, progclass; in do_class_id() local 312 subclass = POP(DS); in do_class_id() 316 sprintf(buf, "pciclass%02x%02x%02x", basclass, subclass, progclass); in do_class_id()
|