Home
last modified time | relevance | path

Searched refs:subclass (Results 1 – 25 of 86) sorted by relevance

1234

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dsysevent.c161 char *subclass; in sysevent_dev_handler() local
186 class, subclass, phys_path); in sysevent_dev_handler()
254 gchar subclass[1024]; in sysevent_iochannel_data() local
281 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
282 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
284 } else if (strcmp(subclass, ESC_LOFI) == 0) { in sysevent_iochannel_data()
288 if ((strcmp(subclass, ESC_DISK) == 0) || in sysevent_iochannel_data()
289 (strcmp(subclass, ESC_PRINTER) == 0)) { in sysevent_iochannel_data()
297 sysevent_pwrctl(class, subclass, phys_path, in sysevent_iochannel_data()
495 devinfo_lid_event(subclass, udi); in sysevent_pwrctl()
[all …]
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);
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtemplate.c345 CK_ULONG subclass, in template_add_default_attributes() argument
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()
486 switch (subclass) { in template_check_required_attributes()
494 switch (subclass) { in template_check_required_attributes()
502 switch (subclass) { in template_check_required_attributes()
953 CK_ULONG subclass; in template_check_exportability() local
[all …]
H A Dobject.c316 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()
495 subclass, MODE_COPY); in object_copy()
714 CK_ULONG class, subclass; in object_set_attribute_values() local
739 subclass, MODE_MODIFY); in object_set_attribute_values()
[all …]
H A Dkey_mgr.c72 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()
/illumos-gate/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c144 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()
432 rc = (sysevent_evc_publish(evc, class, subclass, ruleset, "", in do_publish()
453 if ((rc = vrfy(&ruleset, &class, &subclass, &pri)) != FMEV_OK) in _i_fmev_publish_nvl()
457 ruleset, class, subclass, in _i_fmev_publish_nvl()
471 if ((rc = vrfy(&ruleset, &class, &subclass, &pri)) != FMEV_OK) in _i_fmev_publish()
478 ruleset, class, subclass, in _i_fmev_publish()
498 if ((rc = vrfy(NULL, &class, &subclass, &pri)) != FMEV_OK) in _fmev_publish()
505 FMEV_RULESET_DEFAULT, class, subclass, in _fmev_publish()
[all …]
/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()
/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/common/ficl/softcore/
H A Dclasses.fr10 \ REF subclass holds a pointer to an object. It's
13 object subclass c-ref
23 object subclass c-byte
30 object subclass c-2byte
37 object subclass c-4byte
45 object subclass c-cell
65 object subclass c-ptr
118 c-ptr subclass c-cellPtr
132 c-ptr subclass c-4bytePtr
145 c-ptr subclass c-2bytePtr
[all …]
H A Dficlclass.fr10 object subclass c-word
44 object subclass c-wordlist
71 object subclass c-ficlstack
H A Dforml.fr47 object subclass c-led
65 object subclass c-switch
/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/test/zfs-tests/tests/functional/resilver/
H A Dsysevent.c45 char *subclass = NULL; in process_event() local
49 subclass = sysevent_get_subclass_name(ev); in process_event()
51 if (class == NULL || subclass == NULL) in process_event()
57 (void) fprintf(out, "Received %s.%s event\n", class, subclass); in process_event()
/illumos-gate/usr/src/cmd/syseventd/modules/zfs_mod/
H A Dzfs_mod.c735 const char *subclass = sysevent_get_subclass_name(ev); in zfs_deliver_event() local
746 if (strcmp(subclass, ESC_DISK) == 0) in zfs_deliver_event()
748 else if (strcmp(subclass, ESC_LOFI) == 0) in zfs_deliver_event()
755 if (strcmp(subclass, ESC_ZFS_VDEV_CHECK) == 0) { in zfs_deliver_event()
762 } else if ((strcmp(subclass, ESC_ZFS_VDEV_ADD) == 0) || in zfs_deliver_event()
763 (strcmp(subclass, ESC_ZFS_VDEV_ATTACH) == 0) || in zfs_deliver_event()
764 (strcmp(subclass, ESC_ZFS_VDEV_CLEAR) == 0) || in zfs_deliver_event()
765 (strcmp(subclass, ESC_ZFS_VDEV_ONLINE) == 0) || in zfs_deliver_event()
766 (strcmp(subclass, ESC_ZFS_POOL_CREATE) == 0) || in zfs_deliver_event()
767 (strcmp(subclass, ESC_ZFS_POOL_IMPORT) == 0)) { in zfs_deliver_event()
[all …]
/illumos-gate/usr/src/cmd/acpihpd/
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/syseventd/etc/
H A DREADME36 <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.
/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, 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()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_fm.c111 const char *subclass, spa_t *spa, vdev_t *vd, const zbookmark_phys_t *zb, in zfs_ereport_start() argument
119 if (!zfs_ereport_is_valid(subclass, spa, vd, zio)) in zfs_ereport_start()
157 ZFS_ERROR_CLASS, subclass); in zfs_ereport_start()
615 zfs_ereport_is_valid(const char *subclass, spa_t *spa, vdev_t *vd, zio_t *zio) in zfs_ereport_is_valid() argument
674 strcmp(subclass, FM_EREPORT_ZFS_PROBE_FAILURE) == 0 && in zfs_ereport_is_valid()
679 if ((strcmp(subclass, FM_EREPORT_ZFS_DELAY) == 0) && in zfs_ereport_is_valid()
692 zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd, in zfs_ereport_post() argument
701 if (!zfs_ereport_start(&ereport, &detector, subclass, spa, vd, in zfs_ereport_post()
/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/uts/common/os/
H A Dpool.c489 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()
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()
1133 switch (subclass) { in pool_propget()
[all …]
/illumos-gate/usr/src/common/ficl/test/
H A Dooptest.fr6 object subclass c-aggregate
40 object subclass c-list
/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c116 const char *subclass = sysevent_get_subclass_name(ev); in datalink_deliver_event() local
121 strcmp(subclass, ESC_DATALINK_PHYS_ADD) != 0) { in datalink_deliver_event()
/illumos-gate/usr/src/test/util-tests/tests/pcidb/
H A Dpcidbtest.ksh109 pcidb_match "I2O" -S -p -o subclass pciexclass,0e
216 pcidb_bad_args -p -o subclass -v

1234