Lines Matching refs:dtt

1358 	dtrace_typeinfo_t dtt;  in dt_node_type()  local
1370 err = dt_decl_type(ddp, &dtt); in dt_node_type()
1382 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_node_type()
1383 (dtt.dtt_flags & DTT_FL_USER) != 0); in dt_node_type()
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()
1428 dtrace_typeinfo_t dtt; in dt_node_decl() local
1434 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl()
1471 if (ctf_type_kind(dtt.dtt_ctfp, dtt.dtt_type) == CTF_K_FUNCTION && in dt_node_decl()
1492 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1497 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1502 dsp->ds_ident, &dtt) == NULL) { in dt_node_decl()
1509 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1532 if (dtt.dtt_ctfp != dmp->dm_ctfp && in dt_node_decl()
1533 dtt.dtt_ctfp != ctf_parent_file(dmp->dm_ctfp)) { in dt_node_decl()
1535 dtt.dtt_type = ctf_add_type(dmp->dm_ctfp, in dt_node_decl()
1536 dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1537 dtt.dtt_ctfp = dmp->dm_ctfp; in dt_node_decl()
1539 if (dtt.dtt_type == CTF_ERR || in dt_node_decl()
1540 ctf_update(dtt.dtt_ctfp) == CTF_ERR) { in dt_node_decl()
1543 ctf_errmsg(ctf_errno(dtt.dtt_ctfp))); in dt_node_decl()
1548 CTF_ADD_ROOT, dsp->ds_ident, dtt.dtt_type); in dt_node_decl()
1640 if (dt_decl_type(ddp->dd_next, &dtt) != 0) in dt_node_decl()
1645 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1650 dt_type_name(dtt.dtt_ctfp, in dt_node_decl()
1651 dtt.dtt_type, n1, sizeof (n1)), in dt_node_decl()
1687 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1695 type = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1696 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_decl()
1700 if (ctf_type_encoding(dtt.dtt_ctfp, type, in dt_node_decl()
1708 if (ctf_type_size(dtt.dtt_ctfp, type) != 0) in dt_node_decl()
1714 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
1737 dt_ident_type_assign(idp, dtt.dtt_ctfp, dtt.dtt_type); in dt_node_decl()
1806 dtrace_typeinfo_t dtt; in dt_node_offsetof() local
1818 err = dt_decl_type(ddp, &dtt); in dt_node_offsetof()
1824 type = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_node_offsetof()
1825 kind = ctf_type_kind(dtt.dtt_ctfp, type); in dt_node_offsetof()
1832 if (ctf_member_info(dtt.dtt_ctfp, type, name, &ctm) == CTF_ERR) { in dt_node_offsetof()
1834 name, ctf_errmsg(ctf_errno(dtt.dtt_ctfp))); in dt_node_offsetof()
1838 dt_node_type_assign(&dn, dtt.dtt_ctfp, ctm.ctm_type, B_FALSE); in dt_node_offsetof()
2242 dtrace_typeinfo_t dtt; in dt_node_inline() local
2248 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_inline()
2282 if (dt_decl_type(ddp->dd_next, &dtt) != 0) in dt_node_inline()
2292 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, B_FALSE); in dt_node_inline()
2405 dt_ident_type_assign(idp, dtt.dtt_ctfp, dtt.dtt_type); in dt_node_inline()
2430 dtrace_typeinfo_t dtt; in dt_node_member() local
2435 err = dt_decl_type(ddp, &dtt); in dt_node_member()
2447 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_node_member()
2448 dtt.dtt_flags); in dt_node_member()
2750 dtrace_typeinfo_t dtt; in dt_xcook_ident() local
2759 if (dtrace_symbol_type(dtp, &sym, &dts, &dtt) != 0) { in dt_xcook_ident()
2795 idp->di_ctfp = dtt.dtt_ctfp; in dt_xcook_ident()
2796 idp->di_type = dtt.dtt_type; in dt_xcook_ident()
2804 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_xcook_ident()
2805 dtt.dtt_flags); in dt_xcook_ident()
2928 dtrace_typeinfo_t dtt; in dt_cook_op1() local
2952 if (dt_type_lookup("int64_t", &dtt) != 0) in dt_cook_op1()
2955 dt_ident_type_assign(cp->dn_ident, dtt.dtt_ctfp, dtt.dtt_type); in dt_cook_op1()
2956 dt_node_type_assign(cp, dtt.dtt_ctfp, dtt.dtt_type, in dt_cook_op1()
2957 dtt.dtt_flags); in dt_cook_op1()
3078 dtt.dtt_object = NULL; in dt_cook_op1()
3079 dtt.dtt_ctfp = cp->dn_ctfp; in dt_cook_op1()
3080 dtt.dtt_type = cp->dn_type; in dt_cook_op1()
3082 if (dt_type_pointer(&dtt) == -1) { in dt_cook_op1()
3087 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_cook_op1()
3744 dtrace_typeinfo_t dtt; in dt_cook_op2() local
3746 if (tag != NULL && dt_type_lookup(tag, &dtt) == 0 && in dt_cook_op2()
3747 (dtt.dtt_ctfp != ctfp || dtt.dtt_type != type)) { in dt_cook_op2()
3748 ctfp = dtt.dtt_ctfp; in dt_cook_op2()
3749 type = ctf_type_resolve(ctfp, dtt.dtt_type); in dt_cook_op2()