Lines Matching refs:dtt
1348 dtrace_typeinfo_t dtt; in dt_node_type() local
1360 err = dt_decl_type(ddp, &dtt); in dt_node_type()
1372 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, dtt.dtt_flags); in dt_node_type()
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()
1416 dtrace_typeinfo_t dtt; in dt_node_decl() local
1422 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl()
1459 if (ctf_type_kind(dtt.dtt_ctfp, dtt.dtt_type) == CTF_K_FUNCTION && in dt_node_decl()
1480 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1485 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1490 dsp->ds_ident, &dtt) == NULL) { in dt_node_decl()
1497 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1520 if (dtt.dtt_ctfp != dmp->dm_ctfp && in dt_node_decl()
1521 dtt.dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_node_decl()
1523 dtt.dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_node_decl()
1524 dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1525 dtt.dtt_ctfp = dmp->dm_ctfp; in dt_node_decl()
1527 if (dtt.dtt_type == CTF_ERR || in dt_node_decl()
1528 ctf_update(dtt.dtt_ctfp) == CTF_ERR) { in dt_node_decl()
1531 ctf_errmsg(ctf_errno(dtt.dtt_ctfp))); in dt_node_decl()
1536 CTF_ADD_ROOT, dsp->ds_ident, dtt.dtt_type); in dt_node_decl()
1628 if (dt_decl_type(ddp->dd_next, &dtt) != 0) in dt_node_decl()
1633 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1638 dt_type_name(dtt.dtt_ctfp, in dt_node_decl()
1639 dtt.dtt_type, n1, sizeof (n1)), in dt_node_decl()
1675 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1683 type = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1684 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_decl()
1688 if (ctf_type_encoding(dtt.dtt_ctfp, type, in dt_node_decl()
1696 if (ctf_type_size(dtt.dtt_ctfp, type) != 0) in dt_node_decl()
1702 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1725 dt_ident_type_assign(idp, dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1794 dtrace_typeinfo_t dtt; in dt_node_offsetof() local
1806 err = dt_decl_type(ddp, &dtt); in dt_node_offsetof()
1812 type = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_node_offsetof()
1813 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_offsetof()
1820 if (ctf_member_info(dtt.dtt_ctfp, type, name, &ctm) == CTF_ERR) { in dt_node_offsetof()
1822 name, ctf_errmsg(ctf_errno(dtt.dtt_ctfp))); in dt_node_offsetof()
1826 dt_node_type_assign(&dn, dtt.dtt_ctfp, ctm.ctm_type, B_FALSE); in dt_node_offsetof()
2230 dtrace_typeinfo_t dtt; in dt_node_inline() local
2236 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_inline()
2270 if (dt_decl_type(ddp->dd_next, &dtt) != 0) in dt_node_inline()
2280 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, B_FALSE); in dt_node_inline()
2393 dt_ident_type_assign(idp, dtt.dtt_ctfp, dtt.dtt_type); in dt_node_inline()
2418 dtrace_typeinfo_t dtt; in dt_node_member() local
2423 err = dt_decl_type(ddp, &dtt); in dt_node_member()
2435 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_node_member()
2436 dtt.dtt_flags); in dt_node_member()
2738 dtrace_typeinfo_t dtt; in dt_xcook_ident() local
2747 if (dtrace_symbol_type(dtp, &sym, &dts, &dtt) != 0) { in dt_xcook_ident()
2783 idp->di_ctfp = dtt.dtt_ctfp; in dt_xcook_ident()
2784 idp->di_type = dtt.dtt_type; in dt_xcook_ident()
2792 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_xcook_ident()
2793 dtt.dtt_flags); in dt_xcook_ident()
2916 dtrace_typeinfo_t dtt; in dt_cook_op1() local
2940 if (dt_type_lookup("int64_t", &dtt) != 0) in dt_cook_op1()
2943 dt_ident_type_assign(cp->dn_ident, dtt.dtt_ctfp, dtt.dtt_type); in dt_cook_op1()
2944 dt_node_type_assign(cp, dtt.dtt_ctfp, dtt.dtt_type, in dt_cook_op1()
2945 dtt.dtt_flags); in dt_cook_op1()
3066 dtt.dtt_object = NULL; in dt_cook_op1()
3067 dtt.dtt_ctfp = cp->dn_ctfp; in dt_cook_op1()
3068 dtt.dtt_type = cp->dn_type; in dt_cook_op1()
3070 if (dt_type_pointer(&dtt) == -1) { in dt_cook_op1()
3075 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_cook_op1()
3732 dtrace_typeinfo_t dtt; in dt_cook_op2() local
3734 if (tag != NULL && dt_type_lookup(tag, &dtt) == 0 && in dt_cook_op2()
3735 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) { in dt_cook_op2()
3736 ctfp = dtt.dtt_ctfp; in dt_cook_op2()
3737 type = ctf_type_resolve(ctfp, dtt.dtt_type); in dt_cook_op2()