Home
last modified time | relevance | path

Searched refs:dm_ctfp (Results 1 – 7 of 7) sorted by relevance

/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_open.c1398 if ((dmp->dm_ctfp = ctf_create(&dtp->dt_ctferr)) == NULL) in dt_vopen()
1402 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_vopen()
1404 (void) ctf_setmodel(dmp->dm_ctfp, dtp->dt_conf.dtc_ctfmodel); in dt_vopen()
1405 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_vopen()
1416 err = ctf_add_integer(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen()
1419 err = ctf_add_float(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen()
1426 ctf_errno(dmp->dm_ctfp))); in dt_vopen()
1431 if (ctf_update(dmp->dm_ctfp) != 0) { in dt_vopen()
1433 ctf_errmsg(ctf_errno(dmp->dm_ctfp))); in dt_vopen()
1441 (void) ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen()
[all …]
H A Ddt_decl.c469 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_sou()
471 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_sou()
666 ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_decl_enum()
668 ctfp = yypcb->pcb_hdl->dt_ddefs->dm_ctfp; in dt_decl_enum()
762 if (dsp->ds_ctfp == dtp->dt_ddefs->dm_ctfp) { in dt_decl_enumerator()
932 if (tip->dtt_ctfp != dmp->dm_ctfp && in dt_decl_type()
933 tip->dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_decl_type()
935 tip->dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_decl_type()
937 tip->dtt_ctfp = dmp->dm_ctfp; in dt_decl_type()
957 tip->dtt_ctfp = dmp->dm_ctfp; in dt_decl_type()
[all …]
H A Ddt_impl.h127 ctf_file_t *dm_ctfp; /* CTF container handle */ member
434 #define DT_FUNC_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
437 #define DT_FPTR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
440 #define DT_STR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
443 #define DT_DYN_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
446 #define DT_STACK_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
449 #define DT_SYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
452 #define DT_USYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
H A Ddt_module.c868 if (dmp->dm_ctfp != NULL || dt_module_load(dtp, dmp) != 0) in dt_module_getctf()
869 return (dmp->dm_ctfp); in dt_module_getctf()
892 dmp->dm_ctfp = ctf_bufopen(&dmp->dm_ctdata, in dt_module_getctf()
895 if (dmp->dm_ctfp == NULL) { in dt_module_getctf()
900 (void) ctf_setmodel(dmp->dm_ctfp, model); in dt_module_getctf()
901 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_module_getctf()
903 if ((parent = ctf_parent_name(dmp->dm_ctfp)) != NULL) { in dt_module_getctf()
911 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) { in dt_module_getctf()
912 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_module_getctf()
919 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_module_getctf()
[all...]
H A Ddt_pcb.c158 (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 Ddt_parser.c290 if (ctfp != dmp->dm_ctfp && ctfp != ctf_parent_file(dmp->dm_ctfp) && in dt_type_pointer()
291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) { in dt_type_pointer()
292 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer()
296 ptr = ctf_add_pointer(dmp->dm_ctfp, CTF_ADD_ROOT, type); in dt_type_pointer()
298 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_type_pointer()
299 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_type_pointer()
304 tip->dtt_ctfp = dmp->dm_ctfp; in dt_type_pointer()
1402 if (dtt.dtt_ctfp == dtp->dt_cdefs->dm_ctfp || in dt_node_type()
1403 dtt.dtt_ctfp == dtp->dt_ddefs->dm_ctfp) in dt_node_type()
1421 dnp->dn_ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_node_vatype()
[all …]
H A Ddt_cc.c2576 ctf_write(dtp->dt_cdefs->dm_ctfp, dtp->dt_cdefs_fd) == CTF_ERR)) in dt_compile()
2581 ctf_write(dtp->dt_ddefs->dm_ctfp, dtp->dt_ddefs_fd) == CTF_ERR)) in dt_compile()