Lines Matching refs:th
71 topo_hdl_t th; in topo_handle() local
77 if (mdb_vread(&th, sizeof (th), addr) != sizeof (th)) { in topo_handle()
82 if (mdb_readstr(uuid, sizeof (uuid), (uintptr_t)th.th_uuid) < 0) { in topo_handle()
83 (void) mdb_snprintf(uuid, sizeof (uuid), "<%p>", th.th_uuid); in topo_handle()
85 if (mdb_readstr(root, sizeof (root), (uintptr_t)th.th_rootdir) < 0) { in topo_handle()
86 (void) mdb_snprintf(root, sizeof (root), "<%p>", th.th_rootdir); in topo_handle()
88 if (mdb_readstr(plat, sizeof (plat), (uintptr_t)th.th_platform) < 0) { in topo_handle()
90 th.th_platform); in topo_handle()
92 if (mdb_readstr(isa, sizeof (isa), (uintptr_t)th.th_isa) < 0) { in topo_handle()
93 (void) mdb_snprintf(isa, sizeof (isa), "<%p>", th.th_isa); in topo_handle()
95 if (mdb_readstr(machine, sizeof (machine), (uintptr_t)th.th_machine) in topo_handle()
99 th.th_machine); in topo_handle()
101 if (mdb_readstr(product, sizeof (product), (uintptr_t)th.th_product) in topo_handle()
105 th.th_product); in topo_handle()
128 mdb_printf("%-12s 0x%-34p %-30s\n", "th_di", th.th_di, in topo_handle()
130 mdb_printf("%-12s 0x%-34p %-30s\n", "th_pi", th.th_pi, in topo_handle()
132 mdb_printf("%-12s 0x%-34p %-30s\n", "th_modhash", th.th_modhash, in topo_handle()
136 mdb_printf(" %-12s 0x%-34p %-30s\n", "l_prev", th.th_trees.l_prev, in topo_handle()
138 mdb_printf(" %-12s 0x%-34p %-30s\n", "l_next", th.th_trees.l_next, in topo_handle()
140 mdb_printf("%-12s 0x%-34p %-30s\n", "th_alloc", th.th_alloc, in topo_handle()
142 mdb_printf("%-12s %-36d %-30s\n", "tm_ernno", th.th_errno, "errno"); in topo_handle()
143 mdb_printf("%-12s %-36d %-30s\n", "tm_debug", th.th_debug, in topo_handle()
145 mdb_printf("%-12s %-36d %-30s\n", "tm_dbout", th.th_dbout, in topo_handle()
514 topo_hdl_t th; in fmtopo() local
539 if (mdb_vread(&th, sizeof (th), addr) != sizeof (th)) { in fmtopo()
544 if (mdb_readstr(product, sizeof (product), (uintptr_t)th.th_product) in fmtopo()
548 th.th_product); in fmtopo()
574 topo_hdl_t th; in ttree_walk_init() local
581 if (mdb_vread(&th, sizeof (th), wsp->walk_addr) != sizeof (th)) { in ttree_walk_init()
586 wsp->walk_addr = (uintptr_t)th.th_trees.l_next; in ttree_walk_init()
629 topo_hdl_t th; in tmod_walk_init() local
636 if (mdb_vread(&th, sizeof (th), wsp->walk_addr) != sizeof (th)) { in tmod_walk_init()
641 if (mdb_vread(&tmh, sizeof (topo_modhash_t), (uintptr_t)th.th_modhash) in tmod_walk_init()