Lines Matching defs:thp
173 do_slot_mapping_cb(topo_hdl_t *thp, tnode_t *node, void *arg)
185 if (topo_fmri_nvl2str(thp, rsrc, &fmri, &err) < 0)
234 topo_hdl_strfree(thp, didstr);
235 topo_hdl_strfree(thp, driver);
236 topo_hdl_strfree(thp, vidstr);
237 topo_hdl_strfree(thp, fmri);
243 do_slot_mapping(smbios_slot_t *s, topo_hdl_t *thp)
259 twp = topo_walk_init(thp, FM_FMRI_SCHEME_HC, do_slot_mapping_cb, pciex,
309 topo_hdl_t *thp;
354 if ((thp = topo_open(TOPO_VERSION, NULL, &err)) != NULL) {
355 if ((uuid = topo_snap_hold(thp, NULL, &err)) == NULL) {
356 topo_close(thp);
357 thp = NULL;
394 (void) smbios_iter(shp, do_slots, thp);
398 topo_hdl_strfree(thp, uuid);
399 if (thp != NULL) {
400 topo_snap_release(thp);
401 topo_close(thp);