/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | export.c | 85 char *issuer, char *subject, KMF_BIGINT *serial, in pk_export_file_objects() argument 115 if (serial != NULL) { in pk_export_file_objects() 117 KMF_BIGINT_ATTR, serial, in pk_export_file_objects() 162 KMF_BIGINT *serial, KMF_CREDENTIAL *tokencred, in pk_export_pk12_nss() argument 201 if (serial != NULL) { in pk_export_pk12_nss() 203 KMF_BIGINT_ATTR, serial, sizeof (KMF_BIGINT)); in pk_export_pk12_nss() 282 KMF_BIGINT *serial, KMF_ENCODE_FORMAT kfmt, char *dir, in pk_export_nss_objects() argument 323 if (serial != NULL) { in pk_export_nss_objects() 325 KMF_BIGINT_ATTR, serial, in pk_export_nss_objects() 372 KMF_BIGINT *serial, KMF_CREDENTIAL *tokencred, char *filename) in pk_export_pk12_pk11() argument [all …]
|
H A D | list.c | 46 char *subject, *issuer, *serial, *id, *altname; in pk_show_certs() local 52 serial = NULL; in pk_show_certs() 85 &certs[i].certificate, &serial) == KMF_OK) in pk_show_certs() 87 serial); in pk_show_certs() 108 kmf_free_str(serial); in pk_show_certs() 304 char *objlabel, KMF_BIGINT *serial, char *issuer, char *subject, in list_pk11_objects() argument 482 if (serial != NULL && serial->val != NULL) { in list_pk11_objects() 484 KMF_BIGINT_ATTR, serial, in list_pk11_objects() 540 char *dir, char *filename, KMF_BIGINT *serial, in list_file_objects() argument 636 if (serial != NULL && serial->val != NULL) { in list_file_objects() [all …]
|
H A D | signcsr.c | 106 KMF_BIGINT *serial, in build_cert_from_csr() argument 128 SET_VALUE(kmf_set_cert_serial(signedCert, serial), "serial number"); in build_cert_from_csr() 248 KMF_BIGINT *serial, in pk_signcsr_files() argument 294 rv = build_cert_from_csr(&csrdata, &signedCert, serial, ltime, in pk_signcsr_files() 357 KMF_BIGINT *serial, char *certfile, char *issuer, char *subject, in pk_signcsr_pk11_nss() argument 404 &signedCert, serial, ltime, in pk_signcsr_pk11_nss() 546 KMF_BIGINT serial = { NULL, 0 }; in pk_signcsr() local 716 serial.val = bytes; in pk_signcsr() 717 serial.len = bytelen; in pk_signcsr() 779 signkey, csrfile, &serial, certfile, issuer, subject, in pk_signcsr() [all …]
|
H A D | gencert.c | 52 int keylen, uint32_t ltime, KMF_BIGINT *serial, in gencert_pkcs11() argument 109 SET_VALUE(kmf_set_cert_serial(&signedCert, serial), in gencert_pkcs11() 251 KMF_BIGINT *serial, uint16_t kubits, int kucrit, in gencert_file() argument 315 SET_VALUE(kmf_set_cert_serial(&signedCert, serial), in gencert_file() 416 uint32_t ltime, KMF_BIGINT *serial, uint16_t kubits, in gencert_nss() argument 467 SET_VALUE(kmf_set_cert_serial(&signedCert, serial), in gencert_nss() 594 KMF_BIGINT serial = { NULL, 0 }; in pk_gencert() local 864 serial.val = bytes; in pk_gencert() 865 serial.len = bytelen; in pk_gencert() 930 trust, ltime, &serial, kubits, kucrit, &tokencred, in pk_gencert() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 164 const char *serial = NULL; in create_node() local 169 serial = chip_serial_smbios_get(mod, phys_cpu_smbid); in create_node() 174 serial); in create_node() 184 topo_mod_strfree(mod, (char *)serial); in create_node() 188 char *serial = NULL; in create_node() local 191 &serial) == 0) { in create_node() 193 serial) != 0) { in create_node() 219 char *serial = NULL; in create_strand() local 260 serial = topo_mod_strdup(mod, val); in create_strand() 270 FM_FMRI_HC_SERIAL_ID, serial); in create_strand() [all …]
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | comconsole.c | 68 struct serial { struct 88 static char *comc_asprint_mode(struct serial *); argument 89 static int comc_parse_mode(struct serial *, const char *); 98 struct serial *port = cp->c_private; in comc_devinfo() 126 struct serial *port; in comc_ini() 228 struct serial *port; in comc_probe() 315 struct serial *sp = cp->c_private; in comc_putchar() 327 struct serial *sp = cp->c_private; in comc_getchar() 334 struct serial *sp = cp->c_private; in comc_ischar() 345 comc_asprint_mode(struct serial *sp) in comc_asprint_mode() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | util.c | 68 get_pci_vpd_sn_pn(topo_mod_t *mp, di_node_t dn, char **serial, char **part) in get_pci_vpd_sn_pn() argument 82 *serial = topo_mod_strdup(mp, s); in get_pci_vpd_sn_pn() 98 char *serial = NULL, *part = NULL; in tnode_create() local 107 (void) get_pci_vpd_sn_pn(mp, priv, &serial, &part); in tnode_create() 110 auth, part, NULL, serial); in tnode_create() 112 topo_mod_strfree(mp, serial); in tnode_create()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/ |
H A D | topo_transceiver.c | 49 const char *serial) in transceiver_create_common() argument 68 TRANSCEIVER, inst, NULL, auth, part, rev, serial)) == NULL) { in transceiver_create_common() 126 const char *serial, tnode_t **nodep) in transceiver_create_sff() argument 132 TOPO_PROP_PORT_TYPE_SFF, useable, part, rev, serial)) == NULL) { in transceiver_create_sff() 170 if (serial != NULL && topo_prop_set_string(tn, in transceiver_create_sff() 172 TOPO_PROP_IMMUTABLE, serial, &err) != 0) { in transceiver_create_sff()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regcache.c | 41 unsigned long serial; member 50 unsigned long serial; member 147 else if (!matchstate.cache[old] || matchstate.cache[old]->serial > matchstate.cache[i]->serial) in regcache() 194 cp->serial = ++matchstate.serial; in regcache()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efiisaio.c | 89 static char *efi_isa_asprint_mode(struct serial *); 90 static int efi_isa_parse_mode(struct serial *, const char *); 98 efi_isa_port_is_present(struct serial *sp) in efi_isa_port_is_present() 121 efi_isa_should_append(const char *name, struct serial *port) in efi_isa_should_append() 168 struct serial *port = tty->c_private; in efi_isa_setup_env() 253 efi_check_and_set_condev(struct serial *port, const char *name) in efi_check_and_set_condev() 307 struct serial *port; in efi_isa_create_port() 411 struct serial *port; in efi_isa_create_io_ports() 473 struct serial *port; in efi_isa_probe_ports() 514 struct serial *port; in efi_isa_ini() [all …]
|
H A D | efiserialio.c | 64 static char *efi_serial_asprint_mode(struct serial *); 65 static int efi_serial_parse_mode(struct serial *, const char *); 73 efi_serial_should_append(struct serial *port) in efi_serial_should_append() 127 struct serial *port = tty->c_private; in efi_serial_setup_env() 212 efi_check_and_set_condev(struct serial *port, const char *name) in efi_check_and_set_condev() 531 struct serial *p, *port = tty->c_private; in efi_set_serial_name() 604 struct serial *port; in efi_serial_create_port() 736 struct serial *sp = cp->c_private; in efi_serial_putchar() 754 struct serial *sp = cp->c_private; in efi_serial_getchar() 779 struct serial *sp = cp->c_private; in efi_serial_ischar() [all …]
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | io.c | 190 "%u", serial); in tmpfil() 192 serial++; in tmpfil() 193 if ((serial >= UINT_MAX) || (len >= size_left)) { in tmpfil() 200 serial = 0; in tmpfil() 350 size_left, "%u", serial); in link_iodocs() 351 serial++; in link_iodocs() 353 if ((serial >= UINT_MAX) || (len >= size_left)) { in link_iodocs() 359 serial = 0; in link_iodocs()
|
/illumos-gate/usr/src/grub/ |
H A D | menu.lst | 16 # To enable grub serial console to ttya uncomment the following lines 18 # WARNING: do not enable grub serial console when BIOS console serial 20 # serial --unit=0 --speed=9600 21 # terminal serial
|
/illumos-gate/usr/src/uts/common/io/zyd/ |
H A D | zyd.c | 1020 mutex_init(&sc->serial.lock, NULL, MUTEX_DRIVER, in zyd_serial_init() 1022 cv_init(&sc->serial.wait, NULL, CV_DRIVER, NULL); in zyd_serial_init() 1024 sc->serial.held = B_FALSE; in zyd_serial_init() 1025 sc->serial.initialized = B_TRUE; in zyd_serial_init() 1043 mutex_enter(&sc->serial.lock); in zyd_serial_enter() 1047 while (sc->serial.held != B_FALSE) { in zyd_serial_enter() 1049 res = cv_wait_sig(&sc->serial.wait, &sc->serial.lock); in zyd_serial_enter() 1051 cv_wait(&sc->serial.wait, &sc->serial.lock); in zyd_serial_enter() 1054 sc->serial.held = B_TRUE; in zyd_serial_enter() 1056 mutex_exit(&sc->serial.lock); in zyd_serial_enter() [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | driver-serial-usbser.p5m | 32 set name=pkg.fmri value=pkg:/driver/serial/usbser@$(PKGVERS) 33 set name=pkg.summary value="USB generic serial module" 34 set name=pkg.description value="USB generic serial module" 41 legacy pkg=SUNWusbs desc="USB generic serial module" \ 42 name="USB generic serial module"
|
H A D | driver-serial-usbsksp-usbs49_fw.p5m | 32 set name=pkg.fmri value=pkg:/driver/serial/usbsksp/usbs49_fw@$(PKGVERS) 33 set name=pkg.summary value="USA49WLC firmware for USB Keyspan serial driver" 34 set name=pkg.description value="USA49WLC firmware for USB Keyspan serial driver" 42 legacy pkg=SUNWukspfw desc="USA49WLC firmware for USB Keyspan serial driver" \ 43 name="USA49WLC firmware for USB Keyspan serial driver"
|
H A D | driver-serial-usbsacm.p5m | 32 set name=pkg.fmri value=pkg:/driver/serial/usbsacm@$(PKGVERS) 33 set name=pkg.summary value="CDC ACM USB-to-serial driver" 34 set name=pkg.description value="CDC ACM USB-to-serial driver" 49 legacy pkg=SUNWuacm desc="CDC ACM USB-to-serial driver" \ 50 name="CDC ACM USB-to-serial driver"
|
H A D | driver-serial-usbsksp.p5m | 32 set name=pkg.fmri value=pkg:/driver/serial/usbsksp@$(PKGVERS) 33 set name=pkg.summary value="USB Keyspan serial driver" 34 set name=pkg.description value="USB Keyspan serial driver" 49 legacy pkg=SUNWuksp desc="USB Keyspan serial driver" \ 50 name="USB Keyspan serial driver"
|
H A D | driver-serial-usbsprl.p5m | 32 set name=pkg.fmri value=pkg:/driver/serial/usbsprl@$(PKGVERS) 33 set name=pkg.summary value="Prolific PL2303 USB-to-serial driver" 34 set name=pkg.description value="Prolific PL2303 USB-to-serial driver" 51 legacy pkg=SUNWuprl desc="Prolific PL2303 USB-to-serial driver" \ 52 name="Prolific PL2303 USB-to-serial driver"
|
H A D | driver-serial-usbser_edge.p5m | 32 set name=pkg.fmri value=pkg:/driver/serial/usbser_edge@$(PKGVERS) 33 set name=pkg.summary value="USB Digi Edgeport serial driver" 34 set name=pkg.description value="USB Digi Edgeport serial driver" 75 legacy pkg=SUNWuedg desc="USB Digi Edgeport serial driver" \ 76 name="USB Digi Edgeport serial driver"
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | cpu.c | 378 char *serial = NULL; in cpu_str2nvl() local 405 serial = s; in cpu_str2nvl() 459 if (serial != NULL) in cpu_str2nvl() 461 serial); in cpu_str2nvl() 516 char *serial = NULL; in cpu_fmri_asru() local 525 (void) nvlist_lookup_string(in, FM_FMRI_CPU_SERIAL_ID, &serial); in cpu_fmri_asru() 528 *out = fmri_create(mod, cpu_id, cpumask, serial); in cpu_fmri_asru() 542 char *serial = NULL; in cpu_fmri_create_meth() local 557 if (nvlist_lookup_string(args, FM_FMRI_CPU_SERIAL_ID, &serial) != 0 || in cpu_fmri_create_meth() 563 *out = fmri_create(mod, cpu_id, cpumask, serial); in cpu_fmri_create_meth()
|
/illumos-gate/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 177 *uri = NULL, *sn, *serial; in add_network_printer() local 179 sn = serial = pseudo_serialno_from_addr(hostaddr); in add_network_printer() 186 network_device_name_to_udi(udi, sizeof (udi), base, serial, NULL); in add_network_printer() 195 &description, &serial, NULL, &uri); in add_network_printer() 219 if (serial != NULL) in add_network_printer() 221 "printer.serial", serial, &error); in add_network_printer() 240 NP(manufacturer), NP(model), NP(description), NP(serial), in add_network_printer()
|
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 80 char serial[17]; in sun_loki_parse_node() local 126 (void) snprintf(serial, sizeof (serial), "%llx", in sun_loki_parse_node() 128 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, serial); in sun_loki_parse_node()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_nvme.c | 262 char *devid, *mfg, *model, *rev, *serial, *log, *path; in disk_nvme_make_ns_di_props() local 274 &serial) != 1) { in disk_nvme_make_ns_di_props() 288 TOPO_STORAGE_SERIAL_NUM, TOPO_PROP_IMMUTABLE, serial, &err) != 0 || in disk_nvme_make_ns_di_props() 344 char serial[64], capstr[64]; in disk_nvme_make_ns() local 371 if (!disk_nvme_make_ns_serial(mod, ns_info, serial, sizeof (serial))) { in disk_nvme_make_ns() 375 DISK, inst, NULL, auth, NULL, NULL, serial); in disk_nvme_make_ns() 512 char *model = NULL, *serial = NULL, *vers = NULL; in make_nvme_node() local 526 serial = topo_mod_clean_str(mod, nvme_ctrl_info_serial(info)); in make_nvme_node() 530 NVME, 0, NULL, auth, model, NULL, serial); in make_nvme_node() 696 topo_mod_strfree(mod, serial); in make_nvme_node()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ttymon.c | 667 static struct Gdef serial = { 0 }; in get_speed() local 689 if (serial.g_id == NULL) { in get_speed() 694 serial.g_id = strsave(sp->g_id); in get_speed() 695 serial.g_iflags = merge_flags(sp->g_iflags, pmptr->p_ttymode); in get_speed() 696 serial.g_fflags = merge_flags(sp->g_fflags, pmptr->p_ttymode); in get_speed() 697 serial.g_autobaud = sp->g_autobaud; in get_speed() 698 serial.g_nextid = strsave(sp->g_nextid); in get_speed() 700 return (&serial); in get_speed()
|