/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | xnu_uuid.c | 1 /* xnu_uuid.c - transform 64-bit serial number 40 together with volume serial. */ 49 grub_uint64_t serial; local 66 serial = grub_cpu_to_be64 (grub_strtoull (args[0], 0, 16)); 70 GRUB_MD_MD5->write (&ctx, &serial, sizeof (serial));
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/ |
H A D | pi_generic.c | 72 char *serial = NULL; local 87 serial = pi_get_serial(mod, mdp, mde_node); 90 inst, NULL, auth, NULL, NULL, serial); 92 if (serial != NULL) 93 topo_mod_strfree(mod, serial);
|
H A D | pi_cpu.c | 40 char *serial; member in struct:cpuwalk_s 55 char *serial = NULL; local 101 * Find the serial number, which is on the "chip" node, not the 104 result = pi_enum_cpu_serial(mod, mdp, mde_node, &serial); 105 if (result != 0 || serial == NULL) { 107 "%s node_0x%llx failed to find serial number.\n", 117 cpumask, serial); 118 topo_mod_strfree(mod, serial); 145 char **serial) 153 args.serial 144 pi_enum_cpu_serial(topo_mod_t *mod, md_t *mdp, mde_cookie_t mde_node, char **serial) argument [all...] |
H A D | pi_meth.c | 439 mem_fmri_create(topo_mod_t *mod, char *serial, char *label) argument 448 if (serial != NULL) 450 &serial, 1); 513 char *serial = NULL, *label = NULL; local 526 &serial); 527 if (serial == NULL && 530 &serial); 534 asru = mem_fmri_create(mod, serial, label);
|
/osnet-11/usr/src/lib/libast/common/misc/ |
H A D | conformance.c | 114 static uint32_t serial = ~(uint32_t)0; local 116 if (!(p = ids) || serial != ast.env_serial) 118 serial = ast.env_serial;
|
H A D | translate.c | 307 static uint32_t serial; local 368 if (serial != ast.env_serial) 370 serial = ast.env_serial;
|
/osnet-11/usr/src/lib/libast/common/regex/ |
H A D | regcache.c | 41 unsigned long serial; member in struct:Cache_s 50 unsigned long serial; member in struct:State_s 147 else if (!matchstate.cache[old] || matchstate.cache[old]->serial > matchstate.cache[i]->serial) 194 cp->serial = ++matchstate.serial;
|
/osnet-11/usr/src/lib/scsi/plugins/ses/SUN-Storage-J4500/common/ |
H A D | loki.c | 79 char serial[17]; local 125 (void) snprintf(serial, sizeof (serial), "%llx", 127 SES_NV_ADD(string, nverr, props, LIBSES_EN_PROP_CSN, serial);
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_auth.c | 50 char *mfg, char *name, char *part, char *serial) 62 { FM_FMRI_AUTH_V1_SYSTEM_SN, serial }, 83 { FM_FMRI_AUTH_V1_SYS_COMP_SN, serial }, 105 { FM_FMRI_AUTH_V1_CHASSIS_SN, serial }, 147 /* we only have the chassis serial, so use it */ 49 topo_auth_set_nvl(topo_hdl_t *thp, nvlist_t **th_nvl, int auth_type, char *mfg, char *name, char *part, char *serial) argument
|
H A D | cpu.c | 319 /* If we have a serial string and no cache info */ 400 char *serial = NULL; local 423 /* If there is a serial #, then there might also be cache data */ 427 serial = s; 431 /* Now terminate the serial string */ 481 if (serial != NULL) 483 serial); 538 char *serial = NULL; local 547 (void) nvlist_lookup_string(in, FM_FMRI_CPU_SERIAL_ID, &serial); 550 *out = fmri_create(mod, cpu_id, cpumask, serial); 564 char *serial = NULL; local [all...] |
H A D | topo_fmri.c | 515 topo_fmri_serial(topo_hdl_t *thp, nvlist_t *nvl, char **serial, int *err) argument 521 * If the serial number is in the resource fmri, then use that. 522 * Otherwise fall back to looking for the serial number property 527 if ((*serial = topo_hdl_strdup(thp, sp)) == NULL) 544 if ((*serial = topo_hdl_strdup(thp, sp)) == NULL)
|
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | util.c | 70 get_pci_vpd_sn_pn(topo_mod_t *mp, di_node_t dn, char **serial, char **part) argument 82 if ((di_prom_prop_lookup_bytes(promtree, dn, "vpd-serial-number", 84 *serial = topo_mod_strdup(mp, s); 100 char *serial = NULL, *part = NULL; local 109 (void) get_pci_vpd_sn_pn(mp, priv, &serial, &part); 112 auth, part, NULL, serial); 114 topo_mod_strfree(mp, serial);
|
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/common/ |
H A D | cpu_mdesc.h | 40 #define MD_STR_CPU_SERIAL "serial#" 58 uint64_t cpumap_serialno; /* cpu serial number */ 64 char *serial; /* FRU serial */ member in struct:md_fru 71 uint64_t serialno; /* processor serial number */
|
H A D | cpu.c | 89 cpu_read_serial(nvlist_t *in, uint64_t *serial) argument 102 *serial = int_serial; 107 *serial = (uint64_t)strtoull(str_serial, &end, 16); 187 * If the input nvl contains a serial number, the cpu is identified 270 /* fru serial */ 273 frup->serial ? frup->serial : MD_STR_BLANK); 338 cpu_fmri_create(topo_mod_t *mod, uint32_t cpuid, char *serial, uint8_t cpumask) argument 349 if (serial != NULL) 350 err |= nvlist_add_string(fmri, FM_FMRI_CPU_SERIAL_ID, serial); 361 cpu_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, char *serial, void *priv) argument [all...] |
/osnet-11/usr/src/lib/libast/common/tm/ |
H A D | tminit.c | 443 static uint32_t serial = ~(uint32_t)0; local 445 if (serial != ast.env_serial) 447 serial = ast.env_serial;
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_intel.c | 173 char *serial = NULL; local 198 (void) nvpair_value_string(nvp, &serial); 217 if (serial == NULL) 218 serial = (char *)chip_serial_smbios_get(mod, 229 DIMM, dimm_number, NULL, auth, part, rev, serial);
|
H A D | chip.c | 161 const char *serial = NULL; local 166 serial = chip_serial_smbios_get(mod, phys_cpu_smbid); 171 serial); 181 topo_mod_strfree(mod, (char *)serial); 205 char *serial = NULL; local 246 serial = topo_mod_strdup(mod, val); 256 FM_FMRI_HC_V1_FRU_SN, serial); 265 if ((fmri = cpu_fmri_create(mod, cpuid, serial, 0)) 307 FM_FMRI_HC_V1_FRU_SN, TOPO_PROP_IMMUTABLE, serial, &perr); 318 topo_mod_strfree(mod, serial); 332 char *serial = NULL; local 533 char *serial = NULL; local [all...] |
H A D | chip_amd.c | 265 const char *serial; local 275 serial = chip_serial_smbios_get(mod, 285 serial, &err); 478 const char *serial; local 509 serial = chip_serial_smbios_get(mod, smbid); 513 serial); 557 serial, &err); 736 char *serial = NULL; local 753 (void) nvlist_lookup_string(rfmri, "serial", &serial); [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/chip/common/ |
H A D | chip_sun4v.c | 122 const char *name, topo_instance_t i, char *serial, 182 NULL, auth, NULL, NULL, serial); 233 cpu_fmri_create(topo_mod_t *mod, uint32_t cpuid, char *serial, uint8_t cpumask) argument 244 if (serial != NULL) 245 err |= nvlist_add_string(fmri, FM_FMRI_CPU_SERIAL_ID, serial); 258 uint64_t serial) 277 if (mcmp->cpumap_serialno != serial) 294 (void) snprintf(sbuf, sizeof (sbuf), "%llx", serial); 302 mcmp->cpumap_serialno != serial) { 390 * by the serial numbe 121 chip_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, char *serial, nvlist_t *fru, char *label, void *priv) argument 257 cpu_create(topo_mod_t *mod, tnode_t *rnode, const char *name, md_info_t *chip, uint64_t serial) argument [all...] |
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/dimm/common/ |
H A D | dimm_sun4v.c | 117 const char *name, topo_instance_t i, char *serial, 126 NULL, auth, NULL, NULL, serial); 116 mem_tnode_create(topo_mod_t *mod, tnode_t *parent, const char *name, topo_instance_t i, char *serial, nvlist_t *fru, char *label, void *priv) argument
|
/osnet-11/usr/src/cmd/hal/addons/network-devices/ |
H A D | common.c | 176 *uri = NULL, *sn, *serial; local 178 sn = serial = pseudo_serialno_from_addr(hostaddr); 185 network_device_name_to_udi(udi, sizeof (udi), base, serial, NULL); 194 &description, &serial, NULL, &uri); 218 if (serial != NULL) 220 "printer.serial", serial, &error); 239 NP(manufacturer), NP(model), NP(description), NP(serial),
|
/osnet-11/usr/src/lib/libcryptoutil/common/ |
H A D | cryptoutil.h | 163 * Token, manufacturer, serial and model are of fixed size length in 175 CK_CHAR_PTR serial; member in struct:pkcs11_uri_t
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/ |
H A D | x86pi_subr.c | 392 const char *serial = NULL; local 463 "mfg(%s) product(%s) part(%s) serial(%s)\n", 493 serial = x86pi_cleanup_smbios_str(mod, 511 "name(%s) part(%s) serial(%s)\n", f, 517 part ? part : "NULL", serial ? serial : "NULL"); 533 if (serial == NULL || *serial == '\0') 534 serial = topo_mod_strdup(mod, TOPO_AUTH_UNKNOWN); 538 (char *)name, (char *)part, (char *)serial); [all...] |
/osnet-11/usr/src/lib/libkmf/include/ |
H A D | kmfpolicy.h | 37 char *serial; member in struct:__anon1838 106 #define VAL_OCSP_RESP_CERT_SERIAL VAL_OCSP_RESP_CERT.serial 139 #define KMF_POLICY_TA_SERIAL_ATTR "ta-serial" 153 #define KMF_CERT_SERIAL_ATTR "serial"
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_audit.c | 309 char *stdvals = "|serial|part|state|status|"; 420 * Adds name, id, serial, part, revision, path, state, status & 429 char *serial = NULL, *part = NULL, *revision = NULL; local 465 (void) nvlist_lookup_string(std, "serial", &serial); 466 err |= asr_buf_append_xml_nv(out, PAD_ITEM, "serial", serial);
|