Lines Matching refs:tm_info
133 if (mod->tm_info->tmi_version != version) {
171 if (mod->tm_info != NULL)
192 if ((mod->tm_info = topo_mod_zalloc(mod, sizeof (topo_imodinfo_t)))
195 if ((mod->tm_info->tmi_ops = topo_mod_alloc(mod,
199 mod->tm_info->tmi_desc = topo_mod_strdup(mod, mip->tmi_desc);
200 if (mod->tm_info->tmi_desc == NULL)
203 mod->tm_info->tmi_scheme = topo_mod_strdup(mod, mip->tmi_scheme);
204 if (mod->tm_info->tmi_scheme == NULL)
208 mod->tm_info->tmi_version = (topo_version_t)mip->tmi_version;
209 mod->tm_info->tmi_ops->tmo_enum = mip->tmi_ops->tmo_enum;
210 mod->tm_info->tmi_ops->tmo_release = mip->tmi_ops->tmo_release;
223 if (mod->tm_info == NULL)
230 if (mod->tm_info == NULL)
233 if (mod->tm_info->tmi_ops != NULL)
234 topo_mod_free(mod, mod->tm_info->tmi_ops,
236 if (mod->tm_info->tmi_desc != NULL)
237 topo_mod_strfree(mod, mod->tm_info->tmi_desc);
238 if (mod->tm_info->tmi_scheme != NULL)
239 topo_mod_strfree(mod, mod->tm_info->tmi_scheme);
241 topo_mod_free(mod, mod->tm_info, sizeof (topo_imodinfo_t));
243 mod->tm_info = NULL;
268 err = enum_mod->tm_info->tmi_ops->tmo_enum(enum_mod, node, name, min,