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

12

/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_alloc.c82 topo_mod_alloc(topo_mod_t *mod, size_t size) function
H A Dlegacy_hc.c175 escc = topo_mod_alloc(mod, i + 1);
196 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
H A Dtopo_rtld.c79 if ((rp = mod->tm_data = topo_mod_alloc(mod, sizeof (topo_rtld_t)))
H A Dfmd.c138 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
H A Dpkg.c177 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
H A Dtopo_mod.c195 if ((mod->tm_info->tmi_ops = topo_mod_alloc(mod,
824 path_addr = topo_mod_alloc(mod, MAXPATHLEN);
825 new_path_addr = topo_mod_alloc(mod, MAXPATHLEN);
826 wwn_path = topo_mod_alloc(mod, MAXPATHLEN);
923 devices_path = topo_mod_alloc(mod, path_len);
937 query = topo_mod_alloc(mod, query_len);
H A Dtopo_mod.h228 extern void *topo_mod_alloc(topo_mod_t *, size_t);
H A Dhc.c602 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
1476 if ((hwp = topo_mod_alloc(mod, sizeof (struct hc_walk))) == NULL) {
1555 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL)
1627 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL)
1686 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL)
1842 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL)
1936 if ((flp = topo_mod_alloc(mod, sizeof (struct fac_lookup))) == NULL)
2020 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL)
2249 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL)
H A Dsvc.c379 if ((search = topo_mod_alloc(mod, len)) == NULL)
478 if ((buf = topo_mod_alloc(mod, size + 1)) == NULL)
H A Dmem.c251 escunum = topo_mod_alloc(mod, i + 1);
H A Dmod.c339 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
H A Ddev.c211 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
H A Dsw.c504 if ((buf = topo_mod_alloc(mod, size + 1)) == NULL)
H A Dzfs.c220 (name = topo_mod_alloc(mod, len + 1)) == NULL ||
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_ldom.c139 return (topo_mod_alloc(Pi_mod, size));
H A Dpi_bay.c146 ap_path = topo_mod_alloc(mod, MAXPATHLEN);
460 phy = topo_mod_alloc(mod, (nphy * sizeof (uint8_t)));
558 bp = topo_mod_alloc(mod, sizeof (bay_t));
H A Dpi_subr.c201 dev_path[j] = (char *)topo_mod_alloc(mod, len);
214 path = (char *)topo_mod_alloc(mod, path_len);
595 buf = topo_mod_alloc(mod, bufsize);
637 buf = topo_mod_alloc(mod, buf_len);
686 dev_path[i] = (char *)topo_mod_alloc(mod, len);
701 path = (char *)topo_mod_alloc(mod, path_len);
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_subr.c73 tgt_port = topo_mod_alloc(mod, MAXNAMELEN);
276 target_port = topo_mod_alloc(mod, MAXNAMELEN);
356 char *ndevid = topo_mod_alloc(mod, MAXNAMELEN);
388 char *s = topo_mod_alloc(mod, MAXNAMELEN);
515 cbs.label = topo_mod_alloc(mod, MAXNAMELEN);
H A Dbay.c193 mpxd = topo_mod_alloc(mod, MAXNAMELEN);
236 mpxd = topo_mod_alloc(mod, MAXNAMELEN);
312 tgt = topo_mod_alloc(mod, MAXNAMELEN);
785 conf_fnm = topo_mod_alloc(mod, MAXNAMELEN);
786 prod = topo_mod_alloc(mod, MAXNAMELEN);
787 ch_sn = topo_mod_alloc(mod, MAXNAMELEN);
/osnet-11/usr/src/lib/fm/topo/modules/common/xfp/common/
H A Dxfp.c163 label = topo_mod_alloc(mod, len);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/platform-mem/common/
H A Dmem_mdesc.c80 dm = topo_mod_alloc(mod, sizeof (mem_dimm_map_t));
297 sp = topo_mod_alloc(mod, ss);
301 dm = topo_mod_alloc(mod, sizeof (mem_dimm_map_t));
306 unum = topo_mod_alloc(mod, ss);
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_dev.c76 if ((buf = topo_mod_alloc(mod, count + 1)) == NULL)
231 if ((minorpath = topo_mod_alloc(mod, i)) == NULL)
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/cpuboard/common/
H A Dcpuboard.c79 return (topo_mod_alloc(cpuboard_mod_hdl, size));
327 label = topo_mod_alloc(mod, len);
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bboard.c361 cont_hdl = topo_mod_alloc(mod, cont_cnt *
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk_common.c374 if ((buf = topo_mod_alloc(mod, count + 1)) == NULL)
815 if ((part = topo_mod_alloc(mod, i)) == NULL)
878 if ((minorpath = topo_mod_alloc(mod, i)) == NULL)

Completed in 105 milliseconds

12