Home
last modified time | relevance | path

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

12

/titanic_53/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_subr.c174 bus_addr[depth] = topo_mod_strdup(mod, in pi_get_dipath()
253 return (topo_mod_strdup(mod, id)); in pi_get_productsn()
298 return (topo_mod_strdup(mod, id)); in pi_get_productsn()
336 return (topo_mod_strdup(mod, id)); in pi_get_chassisid()
387 return (topo_mod_strdup(mod, id)); in pi_get_chassisid()
485 return (topo_mod_strdup(mod, lp)); in pi_get_label()
623 dev_addr[i] = topo_mod_strdup(mod, token); in pi_get_path()
626 dev_addr[i] = topo_mod_strdup(mod, token); in pi_get_path()
724 return (topo_mod_strdup(mod, id)); in pi_get_productid()
826 return (topo_mod_strdup(mod, rp)); in pi_get_revision()
[all …]
/titanic_53/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c323 if ((buf = topo_mod_strdup(mod, str)) == NULL) in disk_auth_clean()
566 dnode->ddn_lpath = topo_mod_strdup(mod, ctds ? ctds + 1 : devpath); in disk_devlink_callback()
651 dnode->ddn_devid = topo_mod_strdup(mod, devid); in dev_di_node_add()
662 dnode->ddn_dpath = topo_mod_strdup(mod, path); in dev_di_node_add()
697 if ((dnode->ddn_ppath[0] = topo_mod_strdup(mod, in dev_di_node_add()
717 topo_mod_strdup(mod, in dev_di_node_add()
727 topo_mod_strdup(mod, in dev_di_node_add()
737 topo_mod_strdup(mod, in dev_di_node_add()
773 topo_mod_strdup(mod, path); in dev_di_node_add()
781 topo_mod_strdup(mod, in dev_di_node_add()
[all …]
H A Ddisk_mptsas.c83 *sas_address = topo_mod_strdup(mod, sas); in get_sas_address()
/titanic_53/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/
H A Dcpu_mdesc.c315 frup->nac = topo_mod_strdup(mod, str); in cpu_n2_mdesc_init()
317 frup->nac = topo_mod_strdup(mod, MD_FRU_DEF); in cpu_n2_mdesc_init()
319 frup->part = topo_mod_strdup(mod, str); in cpu_n2_mdesc_init()
322 frup->serial = topo_mod_strdup(mod, str); in cpu_n2_mdesc_init()
324 frup->dash = topo_mod_strdup(mod, str); in cpu_n2_mdesc_init()
/titanic_53/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c84 *serial = topo_mod_strdup(mp, s); in get_pci_vpd_sn_pn()
88 *part = topo_mod_strdup(mp, p); in get_pci_vpd_sn_pn()
H A Ddid.c63 p->snm_name = topo_mod_strdup(mp, str); in slotnm_create()
95 *devtype = topo_mod_strdup(mp, (char *)buf); in di_devtype_get()
200 if ((*slotname = topo_mod_strdup(mp, slotbuf)) == NULL) in di_physlotinfo_get()
H A Ddid_props.c404 if ((newpath = topo_mod_strdup(mp, path)) == NULL) { in dev_for_hostbridge()
443 if ((path = topo_mod_strdup(mp, dnpath)) == NULL) { in ASRU_set()
725 if ((path = topo_mod_strdup(mp, dnpath)) == NULL) { in DEVprop_set()
/titanic_53/usr/src/lib/fm/topo/modules/sun4v/motherboard/
H A Dmotherboard.c224 *serialp = topo_mod_strdup(mod, sn); in mb_get_pri_info()
229 *partp = topo_mod_strdup(mod, pstr); in mb_get_pri_info()
232 *csnp = topo_mod_strdup(mod, csn); in mb_get_pri_info()
233 *psnp = topo_mod_strdup(mod, psn); in mb_get_pri_info()
/titanic_53/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c82 dm->dm_label = topo_mod_strdup(mod, unum); in mdesc_init_n1()
83 dm->dm_serid = topo_mod_strdup(mod, serial); in mdesc_init_n1()
84 dm->dm_part = topo_mod_strdup(mod, part); in mdesc_init_n1()
313 dm->dm_label = topo_mod_strdup(mod, unum); in mdesc_init_n2()
316 dm->dm_serid = topo_mod_strdup(mod, serial); in mdesc_init_n2()
/titanic_53/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 Dtopo_mod.c188 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc); in topo_mod_register()
192 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme); in topo_mod_register()
654 if ((*fmristr = topo_mod_strdup(mod, sp)) == NULL) { in topo_mod_nvl2str()
759 return (topo_mod_strdup(mod, mod->tm_hdl->th_product)); in topo_mod_product()
768 return (topo_mod_strdup(mod, uts.nodename)); in topo_mod_server()
H A Dhc.c693 if ((hc = topo_mod_strdup(mod, fmri + 5)) == NULL) in make_hc_pairs()
754 if ((cname = topo_mod_strdup(mod, startn)) == NULL) in make_hc_pairs()
765 if ((cid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_pairs()
770 if ((cid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_pairs()
812 if ((copy = topo_mod_strdup(mod, fmri + 5)) == NULL) in make_hc_auth()
846 if ((aname = topo_mod_strdup(mod, startn)) == NULL) in make_hc_auth()
855 if ((aid = topo_mod_strdup(mod, starti)) == NULL) in make_hc_auth()
862 *serial = topo_mod_strdup(mod, aid); in make_hc_auth()
864 *part = topo_mod_strdup(mod, aid); in make_hc_auth()
866 *rev = topo_mod_strdup(mod, aid); in make_hc_auth()
[all …]
H A Dtopo_string.c59 topo_mod_strdup(topo_mod_t *mod, const char *s) in topo_mod_strdup() function
H A Dtopo_tree.c92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL) in topo_tree_create()
H A Dtopo_method.c158 if ((imp->tim_name = topo_mod_strdup(mod, meth->tm_name)) in topo_method_register()
163 if ((imp->tim_desc = topo_mod_strdup(mod, meth->tm_desc)) in topo_method_register()
H A Dtopo_mod.h216 extern char *topo_mod_strdup(topo_mod_t *, const char *);
H A Dmapfile-vers119 topo_mod_strdup;
H A Dtopo_mod.map42 topo_mod_strdup { TYPE = FUNCTION; FLAGS = extern };
/titanic_53/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_chassis.c79 ch_hcfmri.hc_name = topo_mod_strdup(mod, "chassis"); in x86pi_gen_chassis()
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()
/titanic_53/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c198 return (topo_mod_strdup(mod, (char *)buf)); in xaui_trans_str()
367 *labelp = topo_mod_strdup(mod, pstr); in xaui_get_pri_label()
/titanic_53/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c191 cpubs[id].sn = topo_mod_strdup(mod, sn); in cpuboard_get_pri_info()
202 cpubs[id].pn = topo_mod_strdup(mod, pstr); in cpuboard_get_pri_info()
/titanic_53/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.c231 (bac = topo_mod_strdup(mod, ba)) == NULL) in split_bus_address()

12