Lines Matching refs:dm_ctfp
803 if (dmp->dm_ctfp != NULL || dt_module_load(dtp, dmp) != 0) in dt_module_getctf()
804 return (dmp->dm_ctfp); in dt_module_getctf()
827 dmp->dm_ctfp = ctf_bufopen(&dmp->dm_ctdata, in dt_module_getctf()
830 if (dmp->dm_ctfp == NULL) { in dt_module_getctf()
835 (void) ctf_setmodel(dmp->dm_ctfp, model); in dt_module_getctf()
836 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_module_getctf()
838 if ((parent = ctf_parent_name(dmp->dm_ctfp)) != NULL) { in dt_module_getctf()
846 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) { in dt_module_getctf()
847 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_module_getctf()
854 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_module_getctf()
856 return (dmp->dm_ctfp); in dt_module_getctf()
859 ctf_close(dmp->dm_ctfp); in dt_module_getctf()
860 dmp->dm_ctfp = NULL; in dt_module_getctf()
870 ctf_close(dmp->dm_ctfp); in dt_module_unload()
871 dmp->dm_ctfp = NULL; in dt_module_unload()
1437 id = ctf_lookup_by_name(dmp->dm_ctfp, name); in dtrace_lookup_by_type()
1438 fp = dmp->dm_ctfp; in dtrace_lookup_by_type()
1508 tip->dtt_ctfp = dmp->dm_ctfp; in dtrace_symbol_type()
1509 tip->dtt_type = ctf_lookup_by_symbol(dmp->dm_ctfp, sip->dts_id); in dtrace_symbol_type()