Lines Matching refs:dn_ctfp

51  * node type (dn_ctfp/dn_type) and attributes (dn_attr).  If dn_ctfp/dn_type
60 * The dn_ctfp and dn_type fields form the type of the node. This tuple can
63 * 1. dn_ctfp = NULL, dn_type = CTF_ERR
68 * 2. dn_ctfp = DT_DYN_CTFP(dtp), dn_type = DT_DYN_TYPE(dtp)
81 * 3. dn_ctfp = DT_STR_CTFP(dtp), dn_type = DT_STR_TYPE(dtp)
86 * 4. dn_ctfp != NULL, dn_type = any other type ID
313 ctf_file_t *lfp = lp->dn_ctfp;
316 ctf_file_t *rfp = rp->dn_ctfp;
384 dt_type_promote(lp, rp, &dnp->dn_ctfp, &dnp->dn_type);
385 dt_node_type_assign(dnp, dnp->dn_ctfp, dnp->dn_type);
498 dnp->dn_ctfp = NULL;
687 dnp->dn_ctfp = fp;
696 dst->dn_ctfp = src->dn_ctfp;
712 (void) dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf + n, len);
716 return (dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf, len));
728 return (ctf_type_size(dnp->dn_ctfp, dnp->dn_type));
791 ctf_file_t *fp = dnp->dn_ctfp;
811 ctf_file_t *fp = dnp->dn_ctfp;
822 ctf_type_encoding(dnp->dn_ctfp, type, &e) == 0 && (
830 ctf_file_t *fp = dnp->dn_ctfp;
851 ctf_file_t *fp = dnp->dn_ctfp;
870 ctf_file_t *fp = dnp->dn_ctfp;
897 return (dnp->dn_ctfp == DT_DYN_CTFP(yypcb->pcb_hdl) &&
904 return (dnp->dn_ctfp == DT_STR_CTFP(yypcb->pcb_hdl) &&
911 return (dnp->dn_ctfp == DT_STACK_CTFP(yypcb->pcb_hdl) &&
918 return (dnp->dn_ctfp == DT_SYMADDR_CTFP(yypcb->pcb_hdl) &&
925 return (dnp->dn_ctfp == DT_USYMADDR_CTFP(yypcb->pcb_hdl) &&
932 ctf_file_t *fp = dnp->dn_ctfp;
960 ctf_file_t *fp = dnp->dn_ctfp;
975 ctf_file_t *fp = dnp->dn_ctfp;
998 ctf_file_t *lfp = lp->dn_ctfp;
999 ctf_file_t *rfp = rp->dn_ctfp;
1109 ctf_file_t *lfp = lp->dn_ctfp;
1110 ctf_file_t *rfp = rp->dn_ctfp;
1346 dnp->dn_ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
1586 idn.dn_ctfp, idn.dn_type) != 0)) {
1606 if (ctf_type_cmp(dnp->dn_ctfp, dnp->dn_type,
1607 pnp->dn_ctfp, pnp->dn_type) == 0)
2220 if (ctf_type_kind(dnp->dn_ctfp, ctf_type_resolve(
2221 dnp->dn_ctfp, dnp->dn_type)) == CTF_K_FORWARD) {
2290 dt_ident_type_assign(pidp, pnp->dn_ctfp, pnp->dn_type);
2897 type = ctf_type_resolve(cp->dn_ctfp, cp->dn_type);
2898 kind = ctf_type_kind(cp->dn_ctfp, type);
2901 if (ctf_array_info(cp->dn_ctfp, type, &r) != 0) {
2902 dtp->dt_ctferr = ctf_errno(cp->dn_ctfp);
2907 type = ctf_type_reference(cp->dn_ctfp, type);
2913 dt_node_type_assign(dnp, cp->dn_ctfp, type);
2914 base = ctf_type_resolve(cp->dn_ctfp, type);
2915 kind = ctf_type_kind(cp->dn_ctfp, base);
2917 if (kind == CTF_K_INTEGER && ctf_type_encoding(cp->dn_ctfp,
2995 dtt.dtt_ctfp = cp->dn_ctfp;
3219 kind = ctf_type_kind(lp->dn_ctfp,
3220 ctf_type_resolve(lp->dn_ctfp, lp->dn_type));
3224 lp->dn_ctfp, lp->dn_type, rp->dn_string, &val) == 0) {
3243 dt_node_type_assign(rp, lp->dn_ctfp, lp->dn_type);
3260 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3261 rp->dn_ctfp, rp->dn_type))
3304 ctfp = lp->dn_ctfp;
3308 ctfp = rp->dn_ctfp;
3452 ctfp = rp->dn_ctfp;
3482 kind = ctf_type_kind(lp->dn_ctfp,
3483 ctf_type_resolve(lp->dn_ctfp, lp->dn_type));
3494 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type))
3629 ctfp = lp->dn_ctfp;
3815 dnp->dn_ident = dt_xlator_ident(dxp, lp->dn_ctfp, lp->dn_type);
3829 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type);
3830 lkind = ctf_type_kind(lp->dn_ctfp, ltype);
3832 rtype = ctf_type_resolve(rp->dn_ctfp, rp->dn_type);
3833 rkind = ctf_type_kind(rp->dn_ctfp, rtype);
3842 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3843 rp->dn_ctfp, rp->dn_type))
3953 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3954 rp->dn_ctfp, rp->dn_type)) {
3955 ctfp = lp->dn_ctfp;
4138 ctf_file_t *lctfp = dnp->dn_ctfp;
4254 if (ctf_type_cmp(old_argv->dn_ctfp, old_argv->dn_type,
4255 new_argv->dn_ctfp, new_argv->dn_type) == 0)
4604 if (dnp->dn_ctfp == DT_STR_CTFP(dtp) &&
4610 tp->dtdt_ckind = ctf_type_kind(dnp->dn_ctfp,
4611 ctf_type_resolve(dnp->dn_ctfp, dnp->dn_type));
4616 tp->dtdt_size = ctf_type_size(dnp->dn_ctfp, dnp->dn_type);
4630 if (dnp->dn_ctfp != NULL && dnp->dn_type != CTF_ERR &&
4631 ctf_type_name(dnp->dn_ctfp, dnp->dn_type, n, sizeof (n)) != NULL) {