Home
last modified time | relevance | path

Searched refs:topo_mod_alloc (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dlegacy_hc.c175 escc = topo_mod_alloc(mod, i + 1); in fmri_nvl2str()
196 (name = topo_mod_alloc(mod, len + 1)) == NULL || in legacy_hc_fmri_nvl2str()
H A Dtopo_alloc.c82 topo_mod_alloc(topo_mod_t *mod, size_t size) in topo_mod_alloc() function
H A Dtopo_rtld.c79 if ((rp = mod->tm_data = topo_mod_alloc(mod, sizeof (topo_rtld_t))) in rtld_init()
H A Dhc.c620 (name = topo_mod_alloc(mod, len + 1)) == NULL || in hc_fmri_nvl2str()
1469 if ((hwp = topo_mod_alloc(mod, sizeof (struct hc_walk))) == NULL) { in hc_walk_init()
1548 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) in hc_fmri_prop_get()
1620 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) in hc_fmri_pgrp_get()
1679 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) in hc_fmri_prop_set()
1809 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_present()
1927 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_replaced()
1992 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_unusable()
2086 if ((flp = topo_mod_alloc(mod, sizeof (struct fac_lookup))) == NULL) in hc_fmri_facility()
2190 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_expand()
[all …]
H A Dfmd.c138 (name = topo_mod_alloc(mod, len + 1)) == NULL || in fmd_fmri_nvl2str()
H A Ddev.c211 (name = topo_mod_alloc(mod, len + 1)) == NULL || in dev_fmri_nvl2str()
407 path = topo_mod_alloc(mod, len); in dev_fmri_present()
487 path = topo_mod_alloc(mod, len); in dev_fmri_replaced()
H A Dzfs.c208 (name = topo_mod_alloc(mod, len + 1)) == NULL || in zfs_fmri_nvl2str()
H A Dtopo_mod.h213 extern void *topo_mod_alloc(topo_mod_t *, size_t);
H A Dmapfile-vers90 topo_mod_alloc;
H A Dtopo_mod.map36 topo_mod_alloc { TYPE = FUNCTION; FLAGS = extern };
H A Dmem.c244 escunum = topo_mod_alloc(mod, i + 1); in mem_nvl2str()
H A Dmod.c341 (name = topo_mod_alloc(mod, len + 1)) == NULL || in mod_fmri_nvl2str()
H A Dpkg.c313 (name = topo_mod_alloc(mod, len + 1)) == NULL || in pkg_fmri_nvl2str()
H A Dsvc.c388 if ((search = topo_mod_alloc(mod, len)) == NULL) in svc_fmri_prop_get()
487 if ((buf = topo_mod_alloc(mod, size + 1)) == NULL) in svc_fmri_nvl2str()
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/platform-mem/
H A Dmem_mdesc.c81 dm = topo_mod_alloc(mod, sizeof (mem_dimm_map_t)); in mdesc_init_n1()
298 sp = topo_mod_alloc(mod, ss); in mdesc_init_n2()
302 dm = topo_mod_alloc(mod, sizeof (mem_dimm_map_t)); in mdesc_init_n2()
307 unum = topo_mod_alloc(mod, ss); in mdesc_init_n2()
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_ldom.c127 return (topo_mod_alloc(Pi_mod, size)); in pi_alloc()
H A Dpi_subr.c188 dev_path[j] = (char *)topo_mod_alloc(mod, len); in pi_get_dipath()
199 path = (char *)topo_mod_alloc(mod, path_len); in pi_get_dipath()
569 buf = topo_mod_alloc(mod, bufsize); in pi_get_part()
611 buf = topo_mod_alloc(mod, buf_len); in pi_get_path()
648 dev_path[i] = (char *)topo_mod_alloc(mod, len); in pi_get_path()
656 path = (char *)topo_mod_alloc(mod, path_len); in pi_get_path()
H A Dpi_bay.c135 ap_path = topo_mod_alloc(mod, MAXPATHLEN); in pi_bay_pgroups()
375 phy = topo_mod_alloc(mod, (nphy * sizeof (uint8_t))); in pi_enum_bay()
/titanic_50/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_mptsas.c61 gdi.PtrDiskInfoArray = di = topo_mod_alloc(mod, disz); in get_sas_address()
H A Ddisk_common.c302 if ((buf = topo_mod_alloc(mod, count + 1)) == NULL) in disk_trim_whitespace()
357 if ((part = topo_mod_alloc(mod, len)) != NULL) in disk_tnode_create()
819 if ((minorpath = topo_mod_alloc(mod, mlen)) == NULL) in dev_di_node_add()
1024 if ((fullpath = topo_mod_alloc(mod, pathlen)) == NULL) in disk_status()
/titanic_50/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c161 label = topo_mod_alloc(mod, len); in xfp_label_set()
/titanic_50/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard.c79 return (topo_mod_alloc(cpuboard_mod_hdl, size)); in cpuboard_topo_alloc()
324 label = topo_mod_alloc(mod, len); in cpuboard_label_set()
/titanic_50/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c131 ap_path = topo_mod_alloc(mod, MAXPATHLEN); in bay_pgroups()
H A Dx86pi_bboard.c362 cont_hdl = topo_mod_alloc(mod, cont_cnt * in x86pi_bb_contains()
/titanic_50/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c1299 if ((entity_refs = topo_mod_alloc(mod, sizeof (char *))) == NULL) in make_sensor_node()
1572 if ((entity_refs = topo_mod_alloc(mod, (nelems * sizeof (char *)))) in ipmi_entity()
1649 if ((entity_refs = topo_mod_alloc(mod, (nelems * sizeof (char *)))) in dimm_ipmi_entity()
1712 if ((entity_refs = topo_mod_alloc(mod, (nelems * sizeof (char *)))) in cs_ipmi_entity()

12