Home
last modified time | relevance | path

Searched refs:topo_hdl_zalloc (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_alloc.c64 topo_hdl_zalloc(topo_hdl_t *thp, size_t size) in topo_hdl_zalloc() function
88 return (topo_hdl_zalloc(mod->tm_hdl, size)); in topo_mod_zalloc()
H A Dtopo_module.c232 if ((mod = topo_hdl_zalloc(thp, sizeof (topo_mod_t))) == NULL) in topo_mod_create()
265 if ((mhp = topo_hdl_zalloc(thp, sizeof (topo_modhash_t))) == NULL) in topo_modhash_create()
269 if ((mhp->mh_hash = topo_hdl_zalloc(thp, in topo_modhash_create()
H A Dtopo_digraph.c567 if ((pathcomp = topo_hdl_zalloc(thp, sizeof (topo_path_component_t))) in visit_vertex()
577 pathnode = topo_hdl_zalloc(thp, sizeof (struct digraph_path)); in visit_vertex()
579 if ((path = topo_hdl_zalloc(thp, sizeof (topo_path_t))) == in visit_vertex()
653 if ((pathcomp = topo_hdl_zalloc(thp, sizeof (topo_path_component_t))) in topo_digraph_paths()
683 *paths = topo_hdl_zalloc(thp, (*npaths) * sizeof (topo_path_t *)); in topo_digraph_paths()
H A Dtopo_prop.c547 if ((pvl = topo_hdl_zalloc(thp, sizeof (topo_proplist_t))) in prop_create()
551 if ((pv = topo_hdl_zalloc(thp, sizeof (topo_propval_t))) in prop_create()
883 if ((pm = topo_hdl_zalloc(thp, sizeof (topo_propmethod_t))) == NULL) in prop_method_register()
1114 if ((pvl = topo_hdl_zalloc(thp, sizeof (topo_proplist_t))) in topo_prop_inherit()
1208 if ((pg = topo_hdl_zalloc(thp, sizeof (topo_pgroup_t))) == NULL) { in topo_pgroup_create()
1214 if ((pip = topo_hdl_zalloc(thp, sizeof (topo_ipgroup_info_t))) in topo_pgroup_create()
H A Dtopo_digraph_xml.c1113 if ((nvlarr = topo_hdl_zalloc(thp, in deserialize_nvpair()
1165 if ((arr = topo_hdl_zalloc(thp, in deserialize_nvpair()
1206 if ((arr = topo_hdl_zalloc(thp, in deserialize_nvpair()
1246 if ((arr = topo_hdl_zalloc(thp, in deserialize_nvpair()
1287 if ((arr = topo_hdl_zalloc(thp, in deserialize_nvpair()
H A Dmapfile-vers93 topo_hdl_zalloc;
H A Dlibtopo.h433 extern void *topo_hdl_zalloc(topo_hdl_t *, size_t);
H A Dtopo_snap.c326 if ((thp->th_uuid = topo_hdl_zalloc(thp, TOPO_UUID_SIZE)) == NULL) { in topo_snap_create()
H A Dtopo_node.c819 if ((wp = topo_hdl_zalloc(thp, sizeof (topo_walk_t))) == NULL) { in topo_node_walk_init()