Home
last modified time | relevance | path

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

/netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_open.c1450 if ((dmp->dm_ctfp = ctf_create(&dtp->dt_ctferr)) == NULL) in dt_vopen()
1454 dmp->dm_name, (void *)dmp->dm_ctfp); in dt_vopen()
1456 (void) ctf_setmodel(dmp->dm_ctfp, dtp->dt_conf.dtc_ctfmodel); in dt_vopen()
1457 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_vopen()
1468 err = ctf_add_integer(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen()
1471 err = ctf_add_float(dmp->dm_ctfp, CTF_ADD_ROOT, in dt_vopen()
1478 ctf_errno(dmp->dm_ctfp))); in dt_vopen()
1483 if (ctf_update(dmp->dm_ctfp) != 0) { in dt_vopen()
1485 ctf_errmsg(ctf_errno(dmp->dm_ctfp))); in dt_vopen()
1493 (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
430 #define DT_FUNC_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
433 #define DT_FPTR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
436 #define DT_STR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
439 #define DT_DYN_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
442 #define DT_STACK_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
445 #define DT_SYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
448 #define DT_USYMADDR_CTFP(dtp) ((dtp)->dt_ddefs->dm_ctfp)
H A Ddt_module.c878 if (dmp->dm_ctfp != NULL || dt_module_load(dtp, dmp) != 0) in dt_module_getctf()
879 return (dmp->dm_ctfp); in dt_module_getctf()
902 dmp->dm_ctfp = ctf_bufopen(&dmp->dm_ctdata, in dt_module_getctf()
905 if (dmp->dm_ctfp == NULL) { in dt_module_getctf()
910 (void) ctf_setmodel(dmp->dm_ctfp, model); in dt_module_getctf()
911 ctf_setspecific(dmp->dm_ctfp, dmp); in dt_module_getctf()
913 if ((parent = ctf_parent_name(dmp->dm_ctfp)) != NULL) { in dt_module_getctf()
921 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) { in dt_module_getctf()
922 dtp->dt_ctferr = ctf_errno(dmp->dm_ctfp); in dt_module_getctf()
929 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()
1379 if (dtt.dtt_ctfp == dtp->dt_cdefs->dm_ctfp || in dt_node_type()
1380 dtt.dtt_ctfp == dtp->dt_ddefs->dm_ctfp) in dt_node_type()
1398 dnp->dn_ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp; in dt_node_vatype()
[all …]
H A Ddt_cc.c2566 ctf_write(dtp->dt_cdefs->dm_ctfp, dtp->dt_cdefs_fd) == CTF_ERR)) in dt_compile()
2571 ctf_write(dtp->dt_ddefs->dm_ctfp, dtp->dt_ddefs_fd) == CTF_ERR)) in dt_compile()