topo_hdl_zalloc
extern void *topo_hdl_zalloc(topo_hdl_t *, size_t);
return (topo_hdl_zalloc(mod->tm_hdl, size));
if ((pathcomp = topo_hdl_zalloc(thp, sizeof (topo_path_component_t)))
pathnode = topo_hdl_zalloc(thp, sizeof (struct digraph_path));
if ((path = topo_hdl_zalloc(thp, sizeof (topo_path_t))) ==
if ((pathcomp = topo_hdl_zalloc(thp, sizeof (topo_path_component_t)))
*paths = topo_hdl_zalloc(thp, (*npaths) * sizeof (topo_path_t *));
if ((nvlarr = topo_hdl_zalloc(thp,
if ((arr = topo_hdl_zalloc(thp,
if ((arr = topo_hdl_zalloc(thp,
if ((arr = topo_hdl_zalloc(thp,
if ((arr = topo_hdl_zalloc(thp,
if ((mod = topo_hdl_zalloc(thp, sizeof (topo_mod_t))) == NULL)
if ((mhp = topo_hdl_zalloc(thp, sizeof (topo_modhash_t))) == NULL)
if ((mhp->mh_hash = topo_hdl_zalloc(thp,
if ((wp = topo_hdl_zalloc(thp, sizeof (topo_walk_t))) == NULL) {
if ((pvl = topo_hdl_zalloc(thp, sizeof (topo_proplist_t)))
if ((pg = topo_hdl_zalloc(thp, sizeof (topo_pgroup_t))) == NULL) {
if ((pip = topo_hdl_zalloc(thp, sizeof (topo_ipgroup_info_t)))
if ((pvl = topo_hdl_zalloc(thp, sizeof (topo_proplist_t)))
if ((pv = topo_hdl_zalloc(thp, sizeof (topo_propval_t)))
if ((pm = topo_hdl_zalloc(thp, sizeof (topo_propmethod_t))) == NULL)
if ((thp->th_uuid = topo_hdl_zalloc(thp, TOPO_UUID_SIZE)) == NULL) {