Home
last modified time | relevance | path

Searched refs:serial (Results 1 – 25 of 180) sorted by relevance

12345678

/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_cpu.c41 char *serial; member
56 char *serial = NULL; in pi_enum_cpu() local
96 result = pi_enum_cpu_serial(mod, mdp, mde_node, &serial); in pi_enum_cpu()
97 if (result != 0 || serial == NULL) { in pi_enum_cpu()
109 cpumask, serial); in pi_enum_cpu()
110 topo_mod_strfree(mod, serial); in pi_enum_cpu()
136 char **serial) in pi_enum_cpu_serial() argument
144 args.serial = NULL; in pi_enum_cpu_serial()
156 *serial = args.serial; in pi_enum_cpu_serial()
173 args->serial = NULL; in pi_enum_cpu_serial_cb()
[all …]
H A Dpi_generic.c73 char *serial = NULL; in pi_enum_generic_impl() local
88 serial = pi_get_serial(mod, mdp, mde_node); in pi_enum_generic_impl()
91 inst, NULL, auth, NULL, NULL, serial); in pi_enum_generic_impl()
93 if (serial != NULL) in pi_enum_generic_impl()
94 topo_mod_strfree(mod, serial); in pi_enum_generic_impl()
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_mem.c46 gmem_mem_serdnm_create(fmd_hdl_t *hdl, const char *serdbase, const char *serial) in gmem_mem_serdnm_create() argument
49 size_t sz = snprintf(NULL, 0, fmt, serdbase, serial) + 1; in gmem_mem_serdnm_create()
51 (void) snprintf(nm, sz, fmt, serdbase, serial); in gmem_mem_serdnm_create()
137 const char *serdbase, const char *serial) in gmem_mem_case_restore() argument
140 serial)); in gmem_mem_case_restore()
144 gmem_mem_retirestat_create(fmd_hdl_t *hdl, fmd_stat_t *st, const char *serial, in gmem_mem_retirestat_create() argument
149 prefix, serial); in gmem_mem_retirestat_create()
151 "retirements for %s%s", prefix, serial); in gmem_mem_retirestat_create()
H A Dgmem_dimm.c48 char serial[100]; member
117 dimm_lookup_by_serial(const char *serial) in dimm_lookup_by_serial() argument
123 if (strcmp(dimm->dimm_serial, serial) == 0) in dimm_lookup_by_serial()
135 char *serial; in gmem_dimm_create() local
151 serial); in gmem_dimm_create()
163 serial); in gmem_dimm_create()
184 char *serial; in gmem_dimm_lookup() local
195 dimm = dimm_lookup_by_serial(serial); in gmem_dimm_lookup()
447 (void) strcpy(fru.serial, sn); in gmem_find_dimm_fru()
456 (void) strcpy(rsc.serial, sn); in gmem_find_dimm_rsc()
[all …]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Defiserialio.c44 static EFI_GUID serial = SERIAL_IO_PROTOCOL; variable
54 struct serial { struct
238 struct serial *port; in comc_probe()
344 struct serial *sp = cp->c_private; in comc_putchar()
362 struct serial *sp = cp->c_private; in comc_getchar()
379 struct serial *sp = cp->c_private; in comc_ischar()
400 struct serial *port = cp->c_private; in comc_devinfo()
424 comc_asprint_mode(struct serial *sp) in comc_asprint_mode()
611 struct serial *sp; in comc_cd_set()
638 struct serial *sp; in comc_rtsdtr_set()
[all …]
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/
H A Dexport.c115 if (serial != NULL) { in pk_export_file_objects()
117 KMF_BIGINT_ATTR, serial, in pk_export_file_objects()
201 if (serial != NULL) { in pk_export_pk12_nss()
323 if (serial != NULL) { in pk_export_nss_objects()
408 if (serial != NULL) { in pk_export_pk12_pk11()
633 if (serial != NULL) { in pk_export_pk11_objects()
859 serial.val = bytes; in pk_export()
860 serial.len = bytelen; in pk_export()
909 subject, &serial, in pk_export()
936 if (serial.val != NULL) in pk_export()
[all …]
H A Dlist.c52 serial = NULL; in pk_show_certs()
87 serial); in pk_show_certs()
108 kmf_free_str(serial); in pk_show_certs()
482 if (serial != NULL && serial->val != NULL) { in list_pk11_objects()
484 KMF_BIGINT_ATTR, serial, in list_pk11_objects()
636 if (serial != NULL && serial->val != NULL) { in list_file_objects()
821 if (serial != NULL) { in list_nss_objects()
1041 serial.val = bytes; in pk_list()
1042 serial.len = bytelen; in pk_list()
1087 if (serial.val != NULL) in pk_list()
[all …]
H A Dsigncsr.c106 KMF_BIGINT *serial, in build_cert_from_csr() argument
248 KMF_BIGINT *serial, in pk_signcsr_files() 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()
789 signkey, csrfile, &serial, certfile, issuer, subject, in pk_signcsr()
795 signkey, csrfile, &serial, certfile, issuer, subject, in pk_signcsr()
806 if (serial.val != NULL) in pk_signcsr()
[all …]
H A Dgencert.c52 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()
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()
944 &serial, kubits, kucrit, outcert, outkey, in pk_gencert()
959 if (serial.val != NULL) in pk_gencert()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip.c164 const char *serial = NULL; in create_node() local
174 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
332 topo_mod_strfree(mod, serial); in create_strand()
346 char *serial = NULL; in create_core() local
469 topo_mod_strfree(mod, serial); in create_core()
575 char *serial = NULL; in create_chip() local
[all …]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dcomconsole.c67 struct serial { struct
164 struct serial *port; in comc_probe()
272 struct serial *sp = cp->c_private; in comc_putchar()
284 struct serial *sp = cp->c_private; in comc_getchar()
291 struct serial *sp = cp->c_private; in comc_ischar()
446 struct serial *sp; in comc_cd_set()
473 struct serial *sp; in comc_rtsdtr_set()
552 struct serial *sp = cp->c_private; in comc_pcidev_handle()
578 struct serial *sp; in comc_pcidev_set()
607 struct serial *sp = cp->c_private; in comc_setup()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c68 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 Dtopo_transceiver.c49 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 Dregcache.c41 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/cmd/sh/
H A Dio.c190 "%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 Dmenu.lst16 # 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/lib/fm/topo/modules/sun4v/chip/
H A Dchip_sun4v.c123 const char *name, topo_instance_t i, char *serial, in chip_tnode_create() argument
161 NULL, auth, NULL, NULL, serial); in chip_tnode_create()
209 cpu_fmri_create(topo_mod_t *mod, uint32_t cpuid, char *serial, uint8_t cpumask) in cpu_fmri_create() argument
220 if (serial != NULL) in cpu_fmri_create()
221 err |= nvlist_add_string(fmri, FM_FMRI_CPU_SERIAL_ID, serial); in cpu_fmri_create()
234 uint64_t serial) in cpu_create() argument
253 if (mcmp->cpumap_serialno != serial) in cpu_create()
270 (void) snprintf(sbuf, sizeof (sbuf), "%llx", serial); in cpu_create()
278 mcmp->cpumap_serialno != serial) { in cpu_create()
/illumos-gate/usr/src/uts/common/io/zyd/
H A Dzyd.c1024 sc->serial.held = B_FALSE; in zyd_serial_init()
1043 mutex_enter(&sc->serial.lock); 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()
1067 mutex_enter(&sc->serial.lock); in zyd_serial_exit()
1068 sc->serial.held = B_FALSE; in zyd_serial_exit()
1069 cv_broadcast(&sc->serial.wait); in zyd_serial_exit()
1070 mutex_exit(&sc->serial.lock); in zyd_serial_exit()
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Ddriver-serial-usbser.p5m32 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 Ddriver-serial-usbsksp-usbs49_fw.p5m32 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 Ddriver-serial-usbsacm.p5m32 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 Ddriver-serial-usbsksp.p5m32 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 Ddriver-serial-usbsprl.p5m32 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"
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu.c92 cpu_read_serial(nvlist_t *in, uint64_t *serial) in cpu_read_serial() argument
105 *serial = int_serial; in cpu_read_serial()
110 *serial = (uint64_t)strtoull(str_serial, &end, 16); in cpu_read_serial()
321 frup->serial ? frup->serial : MD_STR_BLANK); in cpu_expand()
385 cpu_fmri_create(topo_mod_t *mod, uint32_t cpuid, char *serial, uint8_t cpumask) in cpu_fmri_create() argument
396 if (serial != NULL) in cpu_fmri_create()
397 err |= nvlist_add_string(fmri, FM_FMRI_CPU_SERIAL_ID, serial); in cpu_fmri_create()
409 const char *name, topo_instance_t i, char *serial, void *priv) in cpu_tnode_create() argument
415 fmri = cpu_fmri_create(mod, i, serial, cpu_mask); in cpu_tnode_create()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dcpu.c378 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()

12345678