topo_mod_strdup
if ((hc = topo_mod_strdup(mod, fmri + 5)) == NULL)
if ((cname = topo_mod_strdup(mod, startn)) == NULL)
if ((cid = topo_mod_strdup(mod, starti)) == NULL)
if ((cid = topo_mod_strdup(mod, starti)) == NULL)
if ((copy = topo_mod_strdup(mod, fmri + 5)) == NULL)
if ((aname = topo_mod_strdup(mod, startn)) == NULL)
if ((aid = topo_mod_strdup(mod, starti)) == NULL)
*serial = topo_mod_strdup(mod, aid);
*part = topo_mod_strdup(mod, aid);
*rev = topo_mod_strdup(mod, aid);
if ((copy = topo_mod_strdup(mod, fac)) == NULL)
preunum = topo_mod_strdup(mod, unum);
pkgver = topo_mod_strdup(mp, token);
pkgdir = topo_mod_strdup(mp, token);
pkgname = topo_mod_strdup(mp, findpkgname);
if ((tdg->tdg_scheme = topo_mod_strdup(mod, scheme)) == NULL) {
if ((tn->tn_name = topo_mod_strdup(mod, name)) == NULL) {
if ((imp->tim_name = topo_mod_strdup(mod, meth->tm_name))
if ((imp->tim_desc = topo_mod_strdup(mod, meth->tm_desc))
mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc);
mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme);
if ((*fmristr = topo_mod_strdup(mod, sp)) == NULL) {
return (topo_mod_strdup(mod, mod->tm_hdl->th_product));
return (topo_mod_strdup(mod, uts.nodename));
extern char *topo_mod_strdup(topo_mod_t *, const char *);
if ((nhp->th_name = topo_mod_strdup(mod, name)) == NULL)
if ((r->tf_scheme = topo_mod_strdup(mp, (char *)scheme)) == NULL) {
if ((r->rd_name = topo_mod_strdup(mp, (char *)name)) == NULL) {
pp = topo_mod_strdup(mod, sp);
if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL)
topo_mod_strdup(mp, (const char *)str);
if ((dnode->ddn_cap = topo_mod_strdup(mod, lentry)) == NULL)
dnode->ddn_lpath = topo_mod_strdup(mod, ctds ? ctds + 1 : devpath);
dnode->ddn_devid = topo_mod_strdup(mod, devid);
dnode->ddn_dpath = topo_mod_strdup(mod, path);
if ((dnode->ddn_ppath[0] = topo_mod_strdup(mod,
topo_mod_strdup(mod,
topo_mod_strdup(mod,
topo_mod_strdup(mod,
topo_mod_strdup(mod, path);
topo_mod_strdup(mod,
topo_mod_strdup(mod,
topo_mod_strdup(mod,
*sas_address = topo_mod_strdup(mod, sas);
(dlarg->dla_logical_disk = topo_mod_strdup(mod, devpath)) ==
entity_refs[0] = topo_mod_strdup(mod, sd->sd_entity_ref);
entity_refs[i] = topo_mod_strdup(mod, buf);
entity_refs[i] = topo_mod_strdup(mod, buf);
entity_refs[i] = topo_mod_strdup(mod, buf);
if ((*slotname = topo_mod_strdup(mp, slotbuf)) == NULL) {
p->snm_name = topo_mod_strdup(mp, str);
*devtype = topo_mod_strdup(mp, (char *)buf);
if ((newpath = topo_mod_strdup(mp, path)) == NULL) {
if ((path = topo_mod_strdup(mp, dnpath)) == NULL) {
if ((path = topo_mod_strdup(mp, dnpath)) == NULL) {
l = topo_mod_strdup(mod, l);
*serial = topo_mod_strdup(mp, s);
*part = topo_mod_strdup(mp, p);
if ((stp->set_devpath = topo_mod_strdup(mod, path)) == NULL) {
return (topo_mod_strdup(mod, TOPO_DIMM_SLOT_FORM_DIMM));
return (topo_mod_strdup(mod, TOPO_DIMM_SLOT_FORM_SODIMM));
return (topo_mod_strdup(mod, TOPO_DIMM_SLOT_FORM_FBDIMM));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR2));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR3));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR4));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_DDR5));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR2));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR3));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR4));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_LPDDR5));
return (topo_mod_strdup(mod, TOPO_DIMM_TYPE_UNKNOWN));
if ((parse->tp_cport->tmp_label = topo_mod_strdup(mod, line)) == NULL) {
if ((fspath = topo_mod_strdup(mod, line)) == NULL) {
serial = topo_mod_strdup(mod, val);
serial = topo_mod_strdup(mod, val);
pp = topo_mod_strdup(mod, buf);
*brandp = topo_mod_strdup(mod, ks->value.str.addr.ptr);
*sktp = topo_mod_strdup(mod,
bb_hcfmri.hc_name = topo_mod_strdup(mod, bbnp->name);
bb_hcfmri.hc_name = topo_mod_strdup(mod, "NULL");
ch_hcfmri.hc_name = topo_mod_strdup(mod, "chassis");
return (topo_mod_strdup(mod, hostname));
csn = val = topo_mod_strdup(mod, hcfmri->serial_number);
pp = topo_mod_strdup(mod, buf);