Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dlegacy_hc.c173 escc = topo_mod_alloc(mod, i + 1); in fmri_nvl2str()
194 (name = topo_mod_alloc(mod, len + 1)) == NULL || in legacy_hc_fmri_nvl2str()
H A Dtopo_alloc.c80 topo_mod_alloc(topo_mod_t *mod, size_t size) in topo_mod_alloc() function
H A Dhc.c566 (name = topo_mod_alloc(mod, len + 1)) == NULL || in hc_fmri_nvl2str()
1415 if ((hwp = topo_mod_alloc(mod, sizeof (struct hc_walk))) == NULL) { in hc_walk_init()
1494 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) in hc_fmri_prop_get()
1566 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) in hc_fmri_pgrp_get()
1625 if ((plp = topo_mod_alloc(mod, sizeof (struct prop_lookup))) == NULL) in hc_fmri_prop_set()
1755 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_present()
1873 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_replaced()
1938 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_unusable()
2032 if ((flp = topo_mod_alloc(mod, sizeof (struct fac_lookup))) == NULL) in hc_fmri_facility()
2136 if ((hap = topo_mod_alloc(mod, sizeof (struct hc_args))) == NULL) in hc_fmri_expand()
[all …]
H A Dtopo_rtld.c77 if ((rp = mod->tm_data = topo_mod_alloc(mod, sizeof (topo_rtld_t))) in rtld_init()
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 Dfmd.c138 (name = topo_mod_alloc(mod, len + 1)) == NULL || in fmd_fmri_nvl2str()
H A Dzfs.c208 (name = topo_mod_alloc(mod, len + 1)) == NULL || in zfs_fmri_nvl2str()
H A Dmapfile-vers105 topo_mod_alloc;
H A Dtopo_mod.h221 extern void *topo_mod_alloc(topo_mod_t *, size_t);
H A Dtopo_xml.c293 if ((arrbuf = topo_mod_alloc(mp, (nelems * sizeof (int32_t)))) in xlate_common()
311 if ((arrbuf = topo_mod_alloc(mp, (nelems * sizeof (uint32_t)))) in xlate_common()
329 if ((arrbuf = topo_mod_alloc(mp, (nelems * sizeof (int64_t)))) in xlate_common()
347 if ((arrbuf = topo_mod_alloc(mp, (nelems * sizeof (uint64_t)))) in xlate_common()
365 if ((strarrbuf = topo_mod_alloc(mp, (nelems * sizeof (char *)))) in xlate_common()
386 if ((nvlarrbuf = topo_mod_alloc(mp, (nelems * in xlate_common()
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 Dtopo_mod.map43 topo_mod_alloc { TYPE = FUNCTION; FLAGS = extern };
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()
H A Dsw.c498 if ((buf = topo_mod_alloc(mod, size + 1)) == NULL) in sw_fmri_nvl2str()
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_mptsas.c62 gdi.PtrDiskInfoArray = di = topo_mod_alloc(mod, disz); in get_sas_address()
H A Ddisk_common.c328 if ((buf = topo_mod_alloc(mod, count + 1)) == NULL) in disk_trim_whitespace()
491 if ((part = topo_mod_alloc(mod, len)) != NULL) in disk_tnode_create()
960 if ((minorpath = topo_mod_alloc(mod, mlen)) == NULL) in dev_di_node_add()
1184 if ((fullpath = topo_mod_alloc(mod, pathlen)) == NULL) in disk_status()
/illumos-gate/usr/src/lib/fm/topo/modules/common/xfp/
H A Dxfp.c160 label = topo_mod_alloc(mod, len); in xfp_label_set()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c140 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()
H A Dx86pi_subr.c585 obuf = topo_mod_alloc(mod, outsz); in x86pi_check_comp()
/illumos-gate/usr/src/lib/fm/topo/modules/common/ufm/
H A Dtopo_ufm.c241 report.ufmr_buf = topo_mod_alloc(mod, bufsz.ufbz_size); in topo_ufm_devinfo()
/illumos-gate/usr/src/lib/fm/topo/modules/common/fac_prov_ipmi/
H A Dfac_prov_ipmi.c1513 if ((entity_refs = topo_mod_alloc(mod, sizeof (char *))) == NULL) in make_sensor_node()
1886 if ((entity_refs = topo_mod_alloc(mod, (nelems * sizeof (char *)))) in ipmi_entity()
1963 if ((entity_refs = topo_mod_alloc(mod, (nelems * sizeof (char *)))) in dimm_ipmi_entity()
2026 if ((entity_refs = topo_mod_alloc(mod, (nelems * sizeof (char *)))) in cs_ipmi_entity()
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c400 if ((newpath = topo_mod_alloc(mp, need)) == NULL) { in dev_path_fix()
862 if ((tmpbuf = topo_mod_alloc(mp, sz + 1)) == NULL) in maybe_di_chars_copy()

12