/illumos-gate/usr/src/lib/fm/topo/modules/common/smbios/ |
H A D | smbios_enum.c | 59 return (topo_mod_strdup(mod, TOPO_DIMM_SLOT_FORM_DIMM)); in distill_dimm_form() 61 return (topo_mod_strdup(mod, TOPO_DIMM_SLOT_FORM_SODIMM)); in distill_dimm_form() 63 return (topo_mod_strdup(mod, TOPO_DIMM_SLOT_FORM_FBDIMM)); in distill_dimm_form() 76 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR)); in smbios2topotype() 79 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR2)); in smbios2topotype() 81 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR3)); in smbios2topotype() 83 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR4)); in smbios2topotype() 85 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR5)); in smbios2topotype() 87 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR)); in smbios2topotype() 89 return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR2)); in smbios2topotype() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_common.c | 707 dnode->ddn_lpath = topo_mod_strdup(mod, ctds ? ctds + 1 : devpath); in disk_devlink_callback() 792 dnode->ddn_devid = topo_mod_strdup(mod, devid); in dev_di_node_add() 803 dnode->ddn_dpath = topo_mod_strdup(mod, path); in dev_di_node_add() 838 if ((dnode->ddn_ppath[0] = topo_mod_strdup(mod, in dev_di_node_add() 858 topo_mod_strdup(mod, in dev_di_node_add() 868 topo_mod_strdup(mod, in dev_di_node_add() 878 topo_mod_strdup(mod, in dev_di_node_add() 914 topo_mod_strdup(mod, path); in dev_di_node_add() 922 topo_mod_strdup(mod, in dev_di_node_add() 931 topo_mod_strdup(mod, in dev_di_node_add() [all …]
|
H A D | disk_mptsas.c | 84 *sas_address = topo_mod_strdup(mod, sas); in get_sas_address()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | util.c | 82 *serial = topo_mod_strdup(mp, s); in get_pci_vpd_sn_pn() 86 *part = topo_mod_strdup(mp, p); in get_pci_vpd_sn_pn()
|
H A D | did.c | 64 p->snm_name = topo_mod_strdup(mp, str); in slotnm_create() 96 *devtype = topo_mod_strdup(mp, (char *)buf); in di_devtype_get() 265 if ((*slotname = topo_mod_strdup(mp, slotbuf)) == NULL) { in di_physlotinfo_get()
|
H A D | did_props.c | 443 if ((newpath = topo_mod_strdup(mp, path)) == NULL) { in dev_for_hostbridge() 482 if ((path = topo_mod_strdup(mp, dnpath)) == NULL) { in ASRU_set() 764 if ((path = topo_mod_strdup(mp, dnpath)) == NULL) { in DEVprop_set()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | pkg.c | 147 pkgver = topo_mod_strdup(mp, token); in construct_fru_fmri() 151 pkgdir = topo_mod_strdup(mp, token); in construct_fru_fmri() 213 pkgname = topo_mod_strdup(mp, findpkgname); in pkg_fmri_create()
|
H A D | topo_parse.c | 42 if ((r->tf_scheme = topo_mod_strdup(mp, (char *)scheme)) == NULL) { in tf_info_new() 78 if ((r->rd_name = topo_mod_strdup(mp, (char *)name)) == NULL) { in tf_rdata_new()
|
H A D | hc.c | 639 if ((hc = topo_mod_strdup(mod, fmri + 5)) == NULL) in make_hc_pairs() 700 if ((cname = topo_mod_strdup(mod, startn)) == NULL) in make_hc_pairs() 711 if ((cid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_pairs() 716 if ((cid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_pairs() 758 if ((copy = topo_mod_strdup(mod, fmri + 5)) == NULL) in make_hc_auth() 792 if ((aname = topo_mod_strdup(mod, startn)) == NULL) in make_hc_auth() 801 if ((aid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_auth() 808 *serial = topo_mod_strdup(mod, aid); in make_hc_auth() 810 *part = topo_mod_strdup(mod, aid); in make_hc_auth() 812 *rev = topo_mod_strdup(mod, aid); in make_hc_auth() [all …]
|
H A D | topo_mod.c | 194 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc); in topo_mod_register() 198 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme); in topo_mod_register() 659 if ((*fmristr = topo_mod_strdup(mod, sp)) == NULL) { in topo_mod_nvl2str() 775 return (topo_mod_strdup(mod, mod->tm_hdl->th_product)); in topo_mod_product() 784 return (topo_mod_strdup(mod, uts.nodename)); in topo_mod_server()
|
H A D | topo_tree.c | 92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL) in topo_tree_create()
|
H A D | topo_method.c | 162 if ((imp->tim_name = topo_mod_strdup(mod, meth->tm_name)) in topo_method_register() 167 if ((imp->tim_desc = topo_mod_strdup(mod, meth->tm_desc)) in topo_method_register()
|
H A D | topo_string.c | 70 topo_mod_strdup(topo_mod_t *mod, const char *s) in topo_mod_strdup() function
|
H A D | mapfile-vers | 144 topo_mod_strdup;
|
H A D | topo_mod.h | 224 extern char *topo_mod_strdup(topo_mod_t *, const char *);
|
H A D | mem.c | 231 preunum = topo_mod_strdup(mod, unum); in mem_nvl2str()
|
H A D | topo_mod.map | 52 topo_mod_strdup { TYPE = FUNCTION; FLAGS = extern };
|
H A D | topo_digraph.c | 170 if ((tdg->tdg_scheme = topo_mod_strdup(mod, scheme)) == NULL) { in topo_digraph_new() 274 if ((tn->tn_name = topo_mod_strdup(mod, name)) == NULL) { in topo_vertex_new()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_subr.c | 108 return (topo_mod_strdup(mod, hostname)); in x86pi_get_serverid() 310 csn = val = topo_mod_strdup(mod, hcfmri->serial_number); in x86pi_set_auth() 662 pp = topo_mod_strdup(mod, buf); in x86pi_cleanup_smbios_str()
|
H A D | x86pi_bboard.c | 158 bb_hcfmri.hc_name = topo_mod_strdup(mod, bbnp->name); in x86pi_gen_bboard() 160 bb_hcfmri.hc_name = topo_mod_strdup(mod, "NULL"); in x86pi_gen_bboard()
|
H A D | x86pi_chassis.c | 79 ch_hcfmri.hc_name = topo_mod_strdup(mod, "chassis"); in x86pi_gen_chassis()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/usb/ |
H A D | topo_usb_metadata.c | 272 if ((parse->tp_cport->tmp_label = topo_mod_strdup(mod, line)) == NULL) { in topo_usb_parse_label() 315 if ((fspath = topo_mod_strdup(mod, line)) == NULL) { in topo_usb_parse_path()
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 260 serial = topo_mod_strdup(mod, val); in create_strand() 381 serial = topo_mod_strdup(mod, val); in create_core()
|
H A D | chip_subr.c | 893 *brandp = topo_mod_strdup(mod, ks->value.str.addr.ptr); in get_chip_kstat_strs() 899 *sktp = topo_mod_strdup(mod, in get_chip_kstat_strs()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/ |
H A D | fac_prov_ipmi.c | 1516 entity_refs[0] = topo_mod_strdup(mod, sd->sd_entity_ref); in make_sensor_node() 1915 entity_refs[i] = topo_mod_strdup(mod, buf); in ipmi_entity() 1978 entity_refs[i] = topo_mod_strdup(mod, buf); in dimm_ipmi_entity() 2050 entity_refs[i] = topo_mod_strdup(mod, buf); in cs_ipmi_entity()
|