Lines Matching refs:dtt
1376 dtrace_typeinfo_t dtt; in dt_node_type() local
1388 err = dt_decl_type(ddp, &dtt); in dt_node_type()
1400 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, dtt.dtt_flags); in dt_node_type()
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()
1444 dtrace_typeinfo_t dtt; in dt_node_decl() local
1450 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl()
1487 if (ctf_type_kind(dtt.dtt_ctfp, dtt.dtt_type) == CTF_K_FUNCTION && in dt_node_decl()
1508 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1513 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1518 dsp->ds_ident, &dtt) == NULL) { in dt_node_decl()
1525 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1548 if (dtt.dtt_ctfp != dmp->dm_ctfp && in dt_node_decl()
1549 dtt.dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_node_decl()
1551 dtt.dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_node_decl()
1552 dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1553 dtt.dtt_ctfp = dmp->dm_ctfp; in dt_node_decl()
1555 if (dtt.dtt_type == CTF_ERR || in dt_node_decl()
1556 ctf_update(dtt.dtt_ctfp) == CTF_ERR) { in dt_node_decl()
1559 ctf_errmsg(ctf_errno(dtt.dtt_ctfp))); in dt_node_decl()
1564 CTF_ADD_ROOT, dsp->ds_ident, dtt.dtt_type); in dt_node_decl()
1656 if (dt_decl_type(ddp->dd_next, &dtt) != 0) in dt_node_decl()
1661 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1666 dt_type_name(dtt.dtt_ctfp, in dt_node_decl()
1667 dtt.dtt_type, n1, sizeof (n1)), in dt_node_decl()
1703 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1711 type = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1712 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_decl()
1716 if (ctf_type_encoding(dtt.dtt_ctfp, type, in dt_node_decl()
1724 if (ctf_type_size(dtt.dtt_ctfp, type) != 0) in dt_node_decl()
1730 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1753 dt_ident_type_assign(idp, dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1822 dtrace_typeinfo_t dtt; in dt_node_offsetof() local
1835 err = dt_decl_type(ddp, &dtt); in dt_node_offsetof()
1841 type = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_node_offsetof()
1842 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_offsetof()
1849 if (ctf_member_info(dtt.dtt_ctfp, type, name, &ctm) == CTF_ERR) { in dt_node_offsetof()
1851 name, ctf_errmsg(ctf_errno(dtt.dtt_ctfp))); in dt_node_offsetof()
1855 dt_node_type_assign(&dn, dtt.dtt_ctfp, ctm.ctm_type, B_FALSE); in dt_node_offsetof()
2259 dtrace_typeinfo_t dtt; in dt_node_inline() local
2265 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_inline()
2299 if (dt_decl_type(ddp->dd_next, &dtt) != 0) in dt_node_inline()
2309 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, B_FALSE); in dt_node_inline()
2422 dt_ident_type_assign(idp, dtt.dtt_ctfp, dtt.dtt_type); in dt_node_inline()
2447 dtrace_typeinfo_t dtt; in dt_node_member() local
2452 err = dt_decl_type(ddp, &dtt); in dt_node_member()
2464 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_node_member()
2465 dtt.dtt_flags); in dt_node_member()
2767 dtrace_typeinfo_t dtt; in dt_xcook_ident() local
2776 if (dtrace_symbol_type(dtp, &sym, &dts, &dtt) != 0) { in dt_xcook_ident()
2812 idp->di_ctfp = dtt.dtt_ctfp; in dt_xcook_ident()
2813 idp->di_type = dtt.dtt_type; in dt_xcook_ident()
2821 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_xcook_ident()
2822 dtt.dtt_flags); in dt_xcook_ident()
2945 dtrace_typeinfo_t dtt; in dt_cook_op1() local
2969 if (dt_type_lookup("int64_t", &dtt) != 0) in dt_cook_op1()
2972 dt_ident_type_assign(cp->dn_ident, dtt.dtt_ctfp, dtt.dtt_type); in dt_cook_op1()
2973 dt_node_type_assign(cp, dtt.dtt_ctfp, dtt.dtt_type, in dt_cook_op1()
2974 dtt.dtt_flags); in dt_cook_op1()
3095 dtt = (dtrace_typeinfo_t){ in dt_cook_op1()
3100 if (dt_type_pointer(&dtt) == -1) { in dt_cook_op1()
3105 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_cook_op1()
3762 dtrace_typeinfo_t dtt; in dt_cook_op2() local
3764 if (tag != NULL && dt_type_lookup(tag, &dtt) == 0 && in dt_cook_op2()
3765 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) { in dt_cook_op2()
3766 ctfp = dtt.dtt_ctfp; in dt_cook_op2()
3767 type = ctf_type_resolve(ctfp, dtt.dtt_type); in dt_cook_op2()