Searched refs:dm_ctfp (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_open.c | 1100 if ((dmp->dm_ctfp = ctf_create(&dtp->dt_ctferr)) == NULL) in dt_vopen() 1104 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_vopen() 1106 (void) ctf_setmodel(dmp->dm_ctfp, dtp->dt_conf.dtc_ctfmodel); in dt_vopen() 1107 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_vopen() 1118 err = ctf_add_integer(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen() 1121 err = ctf_add_float(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen() 1128 ctf_errno(dmp->dm_ctfp))); in dt_vopen() 1133 if (ctf_update(dmp->dm_ctfp) != 0) { in dt_vopen() 1135 ctf_errmsg(ctf_errno(dmp->dm_ctfp))); in dt_vopen() 1143 (void) ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, NULL, 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() 706 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_enum() 708 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_enum() 801 if (dsp->ds_ctfp == dtp->dt_ddefs->dm_ctfp) { in dt_decl_enumerator() 971 if (tip->dtt_ctfp != dmp->dm_ctfp && in dt_decl_type() 972 tip->dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_decl_type() 974 tip->dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_decl_type() 976 tip->dtt_ctfp = dmp->dm_ctfp; in dt_decl_type() 996 tip->dtt_ctfp = dmp->dm_ctfp; in dt_decl_type() [all …]
|
H A D | dt_impl.h | 119 ctf_file_t *dm_ctfp; /* CTF container handle */ member 389 #define DT_FUNC_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 392 #define DT_FPTR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 395 #define DT_STR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 398 #define DT_DYN_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 401 #define DT_STACK_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 404 #define DT_SYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp) 407 #define DT_USYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
|
H A D | dt_module.c | 802 if (dmp->dm_ctfp != NULL || dt_module_load(dtp, dmp) != 0) in dt_module_getctf() 803 return (dmp->dm_ctfp); in dt_module_getctf() 826 dmp->dm_ctfp = ctf_bufopen(&dmp->dm_ctdata, in dt_module_getctf() 829 if (dmp->dm_ctfp == NULL) { in dt_module_getctf() 834 (void) ctf_setmodel(dmp->dm_ctfp, model); in dt_module_getctf() 835 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_module_getctf() 837 if ((parent = ctf_parent_name(dmp->dm_ctfp)) != NULL) { in dt_module_getctf() 845 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) { in dt_module_getctf() 846 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_module_getctf() 853 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_module_getctf() [all …]
|
H A D | dt_pcb.c | 156 (void) ctf_discard(dtp->dt_cdefs->dm_ctfp); in dt_pcb_pop() 157 (void) ctf_discard(dtp->dt_ddefs->dm_ctfp); in dt_pcb_pop()
|
H A D | dt_parser.c | 286 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && in dt_type_pointer() 287 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { in dt_type_pointer() 288 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer() 292 ptr = ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, NULL, type); in dt_type_pointer() 294 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_type_pointer() 295 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer() 300 tip->dtt_ctfp = dmp->dm_ctfp; in dt_type_pointer() 1385 if (dtt.dtt_ctfp == dtp->dt_cdefs->dm_ctfp || in dt_node_type() 1386 dtt.dtt_ctfp == dtp->dt_ddefs->dm_ctfp) in dt_node_type() 1404 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()
|