Searched refs:dm_ctfp (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | dt_open.c | 1096 if ((dmp->dm_ctfp = ctf_create(&dtp->dt_ctferr)) == NULL) in dt_vopen() 1100 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_vopen() 1102 (void) ctf_setmodel(dmp->dm_ctfp, dtp->dt_conf.dtc_ctfmodel); in dt_vopen() 1103 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_vopen() 1114 err = ctf_add_integer(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen() 1117 err = ctf_add_float(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen() 1124 ctf_errno(dmp->dm_ctfp))); in dt_vopen() 1129 if (ctf_update(dmp->dm_ctfp) != 0) { in dt_vopen() 1131 ctf_errmsg(ctf_errno(dmp->dm_ctfp))); in dt_vopen() 1139 (void) ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen() [all …]
|
H A D | dt_decl.c | 486 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_sou() 488 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_sou() 683 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_enum() 685 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_enum() 778 if (dsp->ds_ctfp == dtp->dt_ddefs->dm_ctfp) { in dt_decl_enumerator() 948 if (tip->dtt_ctfp != dmp->dm_ctfp && in dt_decl_type() 949 tip->dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_decl_type() 951 tip->dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_decl_type() 953 tip->dtt_ctfp = dmp->dm_ctfp; in dt_decl_type() 973 tip->dtt_ctfp = dmp->dm_ctfp; in dt_decl_type() [all …]
|
H A D | dt_impl.h | 118 ctf_file_t *dm_ctfp; /* CTF container handle */ member 388 #define DT_FUNC_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 391 #define DT_FPTR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 394 #define DT_STR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 397 #define DT_DYN_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 400 #define DT_STACK_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 403 #define DT_SYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 406 #define DT_USYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
|
H A D | dt_module.c | 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() [all …]
|
H A D | dt_pcb.c | 158 (void) ctf_discard(dtp->dt_cdefs->dm_ctfp); in dt_pcb_pop() 159 (void) ctf_discard(dtp->dt_ddefs->dm_ctfp); in dt_pcb_pop()
|
H A D | dt_parser.c | 285 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && in dt_type_pointer() 286 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { in dt_type_pointer() 287 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer() 291 ptr = ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, type); in dt_type_pointer() 293 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_type_pointer() 294 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer() 299 tip->dtt_ctfp = dmp->dm_ctfp; in dt_type_pointer() 1374 if (dtt.dtt_ctfp == dtp->dt_cdefs->dm_ctfp || in dt_node_type() 1375 dtt.dtt_ctfp == dtp->dt_ddefs->dm_ctfp) in dt_node_type() 1393 dnp->dn_ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_node_vatype() [all …]
|
H A D | dt_cc.c | 2509 ctf_write(dtp->dt_cdefs->dm_ctfp, dtp->dt_cdefs_fd) == CTF_ERR)) in dt_compile() 2514 ctf_write(dtp->dt_ddefs->dm_ctfp, dtp->dt_ddefs_fd) == CTF_ERR)) in dt_compile()
|