topo_hdl_alloc
extern void *topo_hdl_alloc(topo_hdl_t *, size_t);
return (topo_hdl_alloc(mod->tm_hdl, size));
if ((elem_copy = topo_hdl_alloc(thp, elem_sz)) == NULL) {
if ((info = topo_hdl_alloc(thp,
if ((a1 = topo_hdl_alloc(thp, sizeof (int32_t) *
if ((a1 = topo_hdl_alloc(thp, sizeof (uint32_t) *
if ((a1 = topo_hdl_alloc(thp, sizeof (int64_t) *
if ((a1 = topo_hdl_alloc(thp, sizeof (uint64_t) *
if ((a1 = topo_hdl_alloc(thp, sizeof (char *) *
if ((a1 = topo_hdl_alloc(thp, sizeof (nvlist_t *) *
p = topo_hdl_alloc(thp, strlen(s) + 1);
*str = topo_hdl_alloc(thp, len);