Lines Matching defs:mcp
91 const struct modctl *mcp = (const struct modctl *)data;
95 (uintptr_t)mcp->mod_filename) == -1)
98 if (mcp->mod_busy)
100 if (mcp->mod_want)
102 if (mcp->mod_prim)
104 if (mcp->mod_loaded)
106 if (mcp->mod_installed)
111 (uintptr_t)addr, (uintptr_t)mcp->mod_mp, bits, mcp->mod_loadflags,
112 mcp->mod_ref, name);
262 const struct modctl *mcp = (const struct modctl *)data;
279 if (mcp->mod_mp != NULL)
280 (void) mdb_vread(&mod, sizeof (mod), (uintptr_t)mcp->mod_mp);
282 if (mcp->mod_linkage != NULL) {
284 (uintptr_t)mcp->mod_linkage);
294 if (mdb_readstr(name, sizeof (name), (uintptr_t)mcp->mod_modname) == -1)
298 mcp->mod_id, mod.text, mod.text_size + mod.data_size,
331 ctfinfo_format(uintptr_t addr, const struct modctl *mcp, void *private)
336 if (mcp->mod_mp == NULL)
339 if (mdb_vread(&mod, sizeof (mod), (uintptr_t)mcp->mod_mp) == -1) {
341 mcp->mod_mp, addr);
345 if (mdb_readstr(name, sizeof (name), (uintptr_t)mcp->mod_modname) == -1)
346 (void) mdb_snprintf(name, sizeof (name), "%a", mcp->mod_mp);