Home
last modified time | relevance | path

Searched refs:topo_mod_strdup (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/lib/fm/topo/modules/common/smbios/
H A Dsmbios_enum.c59 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 Ddisk_common.c707 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 Ddisk_mptsas.c84 *sas_address = topo_mod_strdup(mod, sas); in get_sas_address()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c82 *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 Ddid.c64 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 Ddid_props.c443 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 Dpkg.c147 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 Dtopo_parse.c42 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 Dhc.c639 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 Dtopo_mod.c194 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 Dtopo_tree.c92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL) in topo_tree_create()
H A Dtopo_method.c162 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 Dtopo_string.c70 topo_mod_strdup(topo_mod_t *mod, const char *s) in topo_mod_strdup() function
H A Dmapfile-vers144 topo_mod_strdup;
H A Dtopo_mod.h224 extern char *topo_mod_strdup(topo_mod_t *, const char *);
H A Dmem.c231 preunum = topo_mod_strdup(mod, unum); in mem_nvl2str()
H A Dtopo_mod.map52 topo_mod_strdup { TYPE = FUNCTION; FLAGS = extern };
H A Dtopo_digraph.c170 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 Dx86pi_subr.c108 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 Dx86pi_bboard.c158 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 Dx86pi_chassis.c79 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 Dtopo_usb_metadata.c272 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 Dchip.c260 serial = topo_mod_strdup(mod, val); in create_strand()
381 serial = topo_mod_strdup(mod, val); in create_core()
H A Dchip_subr.c893 *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 Dfac_prov_ipmi.c1516 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()

12