Lines Matching refs:dn_ctfp

53  * node type (dn_ctfp/dn_type) and attributes (dn_attr).  If dn_ctfp/dn_type
62 * The dn_ctfp and dn_type fields form the type of the node. This tuple can
65 * 1. dn_ctfp = NULL, dn_type = CTF_ERR
70 * 2. dn_ctfp = DT_DYN_CTFP(dtp), dn_type = DT_DYN_TYPE(dtp)
83 * 3. dn_ctfp = DT_STR_CTFP(dtp), dn_type = DT_STR_TYPE(dtp)
88 * 4. dn_ctfp != NULL, dn_type = any other type ID
333 ctf_file_t *lfp = lp->dn_ctfp;
336 ctf_file_t *rfp = rp->dn_ctfp;
404 dt_type_promote(lp, rp, &dnp->dn_ctfp, &dnp->dn_type);
405 dt_node_type_assign(dnp, dnp->dn_ctfp, dnp->dn_type, B_FALSE);
518 dnp->dn_ctfp = NULL;
711 dnp->dn_ctfp = fp;
720 dst->dn_ctfp = src->dn_ctfp;
736 (void) dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf + n, len);
740 return (dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf, len));
755 base = ctf_type_resolve(dnp->dn_ctfp, dnp->dn_type);
757 if (ctf_type_kind(dnp->dn_ctfp, base) == CTF_K_FORWARD)
768 if (ctf_type_kind(dnp->dn_ctfp, base) == CTF_K_POINTER &&
769 ctf_getmodel(dnp->dn_ctfp) == CTF_MODEL_ILP32 &&
774 return (ctf_type_size(dnp->dn_ctfp, dnp->dn_type));
837 ctf_file_t *fp = dnp->dn_ctfp;
857 ctf_file_t *fp = dnp->dn_ctfp;
868 ctf_type_encoding(dnp->dn_ctfp, type, &e) == 0 && (
876 ctf_file_t *fp = dnp->dn_ctfp;
897 ctf_file_t *fp = dnp->dn_ctfp;
916 ctf_file_t *fp = dnp->dn_ctfp;
943 return (dnp->dn_ctfp == DT_DYN_CTFP(yypcb->pcb_hdl) &&
950 return (dnp->dn_ctfp == DT_STR_CTFP(yypcb->pcb_hdl) &&
957 return (dnp->dn_ctfp == DT_STACK_CTFP(yypcb->pcb_hdl) &&
964 return (dnp->dn_ctfp == DT_SYMADDR_CTFP(yypcb->pcb_hdl) &&
971 return (dnp->dn_ctfp == DT_USYMADDR_CTFP(yypcb->pcb_hdl) &&
978 ctf_file_t *fp = dnp->dn_ctfp;
1006 ctf_file_t *fp = dnp->dn_ctfp;
1021 ctf_file_t *fp = dnp->dn_ctfp;
1044 ctf_file_t *lfp = lp->dn_ctfp;
1045 ctf_file_t *rfp = rp->dn_ctfp;
1155 ctf_file_t *lfp = lp->dn_ctfp;
1156 ctf_file_t *rfp = rp->dn_ctfp;
1393 dnp->dn_ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
1634 idn.dn_ctfp, idn.dn_type) != 0)) {
1654 if (ctf_type_cmp(dnp->dn_ctfp, dnp->dn_type,
1655 pnp->dn_ctfp, pnp->dn_type) == 0)
2288 if (ctf_type_kind(dnp->dn_ctfp, ctf_type_resolve(
2289 dnp->dn_ctfp, dnp->dn_type)) == CTF_K_FORWARD) {
2358 dt_ident_type_assign(pidp, pnp->dn_ctfp, pnp->dn_type);
2967 type = ctf_type_resolve(cp->dn_ctfp, cp->dn_type);
2968 kind = ctf_type_kind(cp->dn_ctfp, type);
2971 if (ctf_array_info(cp->dn_ctfp, type, &r) != 0) {
2972 dtp->dt_ctferr = ctf_errno(cp->dn_ctfp);
2977 type = ctf_type_reference(cp->dn_ctfp, type);
2983 dt_node_type_assign(dnp, cp->dn_ctfp, type,
2985 base = ctf_type_resolve(cp->dn_ctfp, type);
2986 kind = ctf_type_kind(cp->dn_ctfp, base);
2988 if (kind == CTF_K_INTEGER && ctf_type_encoding(cp->dn_ctfp,
3067 dtt.dtt_ctfp = cp->dn_ctfp;
3320 kind = ctf_type_kind(lp->dn_ctfp,
3321 ctf_type_resolve(lp->dn_ctfp, lp->dn_type));
3325 lp->dn_ctfp, lp->dn_type, rp->dn_string, &val) == 0) {
3344 dt_node_type_assign(rp, lp->dn_ctfp, lp->dn_type,
3362 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3363 rp->dn_ctfp, rp->dn_type))
3407 ctfp = lp->dn_ctfp;
3411 ctfp = rp->dn_ctfp;
3555 ctfp = rp->dn_ctfp;
3585 kind = ctf_type_kind(lp->dn_ctfp,
3586 ctf_type_resolve(lp->dn_ctfp, lp->dn_type));
3597 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type))
3709 ctfp = lp->dn_ctfp;
3895 dnp->dn_ident = dt_xlator_ident(dxp, lp->dn_ctfp, lp->dn_type);
3910 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type);
3911 lkind = ctf_type_kind(lp->dn_ctfp, ltype);
3913 rtype = ctf_type_resolve(rp->dn_ctfp, rp->dn_type);
3914 rkind = ctf_type_kind(rp->dn_ctfp, rtype);
3923 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3924 rp->dn_ctfp, rp->dn_type))
4042 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
4043 rp->dn_ctfp, rp->dn_type)) {
4044 ctfp = lp->dn_ctfp;
4228 ctf_file_t *lctfp = dnp->dn_ctfp;
4345 if (ctf_type_cmp(old_argv->dn_ctfp, old_argv->dn_type,
4346 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));
4618 tp->dtdt_size = ctf_type_size(dnp->dn_ctfp, dnp->dn_type);
4807 if (dnp->dn_ctfp != NULL && dnp->dn_type != CTF_ERR &&
4808 ctf_type_name(dnp->dn_ctfp, dnp->dn_type, n, sizeof (n)) != NULL) {