Searched refs:topo_mod_strdup (Results 1 - 25 of 39) sorted by relevance

12

/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dutil.c84 *serial = topo_mod_strdup(mp, s);
88 *part = topo_mod_strdup(mp, p);
H A Ddid.c63 p->snm_name = topo_mod_strdup(mp, str);
95 *devtype = topo_mod_strdup(mp, (char *)buf);
200 if ((*slotname = topo_mod_strdup(mp, slotbuf)) == NULL)
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_subr.c175 return (topo_mod_strdup(mod, path));
206 node_name = topo_mod_strdup(mod, di_node_name(hba_node));
227 return (topo_mod_strdup(mod, g_label));
304 return (topo_mod_strdup(mod, path));
369 return (topo_mod_strdup(mod, buf));
375 return (topo_mod_strdup(mod, devid));
673 bp->hba_nm = topo_mod_strdup(mod, drv_name);
675 bp->ch_prod = topo_mod_strdup(mod, prod);
676 bp->ch_label = topo_mod_strdup(mod, ch_l);
677 bp->ch_serial = topo_mod_strdup(mo
[all...]
H A Dbay.c204 *ap_path = topo_mod_strdup(mod, path);
260 *oc_path = topo_mod_strdup(mod, path);
513 ch_serial = topo_mod_strdup(mod, (const char *)bayp->ch_serial);
514 ch_label = topo_mod_strdup(mod, (const char *)bayp->ch_label);
515 ch_name = topo_mod_strdup(mod, (const char *)bayp->ch_prod);
878 topo_mod_strdup(mod, drv_nm) :
879 topo_mod_strdup(mod, "unknown");
881 bp->ch_prod = topo_mod_strdup(mod, prod);
882 bp->ch_label = topo_mod_strdup(mod, "SYS");
883 bp->ch_serial = topo_mod_strdup(mo
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_subr.c175 bus_addr[depth] = topo_mod_strdup(mod,
279 return (topo_mod_strdup(mod, id));
324 return (topo_mod_strdup(mod, id));
362 return (topo_mod_strdup(mod, id));
413 return (topo_mod_strdup(mod, id));
511 return (topo_mod_strdup(mod, lp));
670 dev_addr[i] = topo_mod_strdup(mod, token);
673 dev_addr[i] = topo_mod_strdup(mod, token);
772 *name = topo_mod_strdup(mod, id);
884 return (topo_mod_strdup(mo
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_subr.c108 return (topo_mod_strdup(mod, hostname));
498 product_id = topo_mod_strdup(mod,
524 name = topo_mod_strdup(mod, (char *)product_id);
528 mfg = topo_mod_strdup(mod, TOPO_AUTH_UNKNOWN);
530 name = topo_mod_strdup(mod, TOPO_AUTH_UNKNOWN);
532 part = topo_mod_strdup(mod, TOPO_AUTH_UNKNOWN);
534 serial = topo_mod_strdup(mod, TOPO_AUTH_UNKNOWN);
674 pp = topo_mod_strdup(mod, buf);
H A Dx86pi_chassis.c79 ch_hcfmri.hc_name = topo_mod_strdup(mod, "chassis");
H A Dx86pi_bboard.c157 bb_hcfmri.hc_name = topo_mod_strdup(mod, bbnp->name);
159 bb_hcfmri.hc_name = topo_mod_strdup(mod, "NULL");
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_dev.c105 aps[n] = new ? topo_mod_strdup(mod, new) : NULL;
151 pathdev->spd_lpath = topo_mod_strdup(mod, link);
209 topo_mod_strdup(mod, dpath);
229 topo_mod_strdup(mod, mname);
408 dnode->sdn_devid = topo_mod_strdup(mod, devid);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-cpu/common/
H A Dcpu_mdesc.c314 frup->nac = topo_mod_strdup(mod, str);
316 frup->nac = topo_mod_strdup(mod, MD_FRU_DEF);
318 frup->part = topo_mod_strdup(mod, str);
321 frup->serial = topo_mod_strdup(mod, str);
323 frup->dash = topo_mod_strdup(mod, str);
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c199 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc);
203 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme);
594 if ((*fmristr = topo_mod_strdup(mod, sp)) == NULL) {
718 return (topo_mod_strdup(mod, str));
730 return (topo_mod_strdup(mod, str));
742 return (topo_mod_strdup(mod, str));
754 return (topo_mod_strdup(mod, str));
766 return (topo_mod_strdup(mod, str));
882 return (topo_mod_strdup(mod, ocpath));
964 *alias_id = topo_mod_strdup(mo
[all...]
H A Dtopo_file.c100 tfp->tf_filenm = topo_mod_strdup(mod, fp);
H A Dtopo_parse.c43 if ((r->tf_scheme = topo_mod_strdup(mp, (char *)scheme)) == NULL) {
80 if ((r->rd_name = topo_mod_strdup(mp, (char *)name)) == NULL) {
H A Dtopo_string.c70 topo_mod_strdup(topo_mod_t *mod, const char *s) function
H A Dtopo_tree.c92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL)
H A Dhc.c681 if ((hc = topo_mod_strdup(mod, fmri + 5)) == NULL)
742 if ((cname = topo_mod_strdup(mod, startn)) == NULL)
753 if ((cid = topo_mod_strdup(mod, starti)) == NULL)
758 if ((cid = topo_mod_strdup(mod, starti)) == NULL)
806 if ((copy = topo_mod_strdup(mod, fmri + 5)) == NULL)
840 if ((aname = topo_mod_strdup(mod, startn)) == NULL)
849 if ((aid = topo_mod_strdup(mod, starti)) == NULL)
858 *serial = topo_mod_strdup(mod, aid);
860 *devid = topo_mod_strdup(mod, aid);
863 *parent_serial = topo_mod_strdup(mo
[all...]
H A Dtopo_method.c158 if ((imp->tim_name = topo_mod_strdup(mod, meth->tm_name))
163 if ((imp->tim_desc = topo_mod_strdup(mod, meth->tm_desc))
H A Dtopo_mod.h231 extern char *topo_mod_strdup(topo_mod_t *, const char *);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/motherboard/common/
H A Dmotherboard.c223 *serialp = topo_mod_strdup(mod, sn);
228 *partp = topo_mod_strdup(mod, pstr);
231 *csnp = topo_mod_strdup(mod, csn);
232 *psnp = topo_mod_strdup(mod, psn);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/
H A Dmem_mdesc.c81 dm->dm_label = topo_mod_strdup(mod, unum);
82 dm->dm_serid = topo_mod_strdup(mod, serial);
83 dm->dm_part = topo_mod_strdup(mod, part);
312 dm->dm_label = topo_mod_strdup(mod, unum);
315 dm->dm_serid = topo_mod_strdup(mod, serial);
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk.c126 method = topo_mod_strdup(mod, PATH_BINDING);
H A Ddisk_common.c300 product = topo_mod_strdup(mod, "unknown");
303 chassis = topo_mod_strdup(mod, "unknown");
395 if ((buf = topo_mod_strdup(mod, str)) == NULL)
712 aps[n] = new ? topo_mod_strdup(mod, new) : NULL;
845 if ((dnode->ddn_cap = topo_mod_strdup(mod, capbuf)) == NULL)
1027 dnode->ddn_devid = topo_mod_strdup(mod, devid);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/xaui/common/
H A Dxaui.c200 return (topo_mod_strdup(mod, (char *)buf));
372 *labelp = topo_mod_strdup(mod, pstr);
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/
H A Dchip.c246 serial = topo_mod_strdup(mod, val);
367 serial = topo_mod_strdup(mod, val);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/
H A Dcpuboard.c191 cpubs[id].sn = topo_mod_strdup(mod, sn);
202 cpubs[id].pn = topo_mod_strdup(mod, pstr);

Completed in 50 milliseconds

12