Lines Matching refs:dn_ctfp

56  * node type (dn_ctfp/dn_type) and attributes (dn_attr).  If dn_ctfp/dn_type
65 * The dn_ctfp and dn_type fields form the type of the node. This tuple can
68 * 1. dn_ctfp = NULL, dn_type = CTF_ERR
73 * 2. dn_ctfp = DT_DYN_CTFP(dtp), dn_type = DT_DYN_TYPE(dtp)
86 * 3. dn_ctfp = DT_STR_CTFP(dtp), dn_type = DT_STR_TYPE(dtp)
91 * 4. dn_ctfp != NULL, dn_type = any other type ID
338 ctf_file_t *lfp = lp->dn_ctfp;
341 ctf_file_t *rfp = rp->dn_ctfp;
409 dt_type_promote(lp, rp, &dnp->dn_ctfp, &dnp->dn_type);
410 dt_node_type_assign(dnp, dnp->dn_ctfp, dnp->dn_type, B_FALSE);
523 dnp->dn_ctfp = NULL;
716 dnp->dn_ctfp = fp;
725 dst->dn_ctfp = src->dn_ctfp;
741 (void) dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf + n, len);
745 return (dt_type_name(dnp->dn_ctfp, dnp->dn_type, buf, len));
760 base = ctf_type_resolve(dnp->dn_ctfp, dnp->dn_type);
762 if (ctf_type_kind(dnp->dn_ctfp, base) == CTF_K_FORWARD)
773 if (ctf_type_kind(dnp->dn_ctfp, base) == CTF_K_POINTER &&
774 ctf_getmodel(dnp->dn_ctfp) == CTF_MODEL_ILP32 &&
779 return (ctf_type_size(dnp->dn_ctfp, dnp->dn_type));
842 ctf_file_t *fp = dnp->dn_ctfp;
862 ctf_file_t *fp = dnp->dn_ctfp;
873 ctf_type_encoding(dnp->dn_ctfp, type, &e) == 0 && (
881 ctf_file_t *fp = dnp->dn_ctfp;
902 ctf_file_t *fp = dnp->dn_ctfp;
921 ctf_file_t *fp = dnp->dn_ctfp;
948 return (dnp->dn_ctfp == DT_DYN_CTFP(yypcb->pcb_hdl) &&
955 return (dnp->dn_ctfp == DT_STR_CTFP(yypcb->pcb_hdl) &&
962 return (dnp->dn_ctfp == DT_STACK_CTFP(yypcb->pcb_hdl) &&
969 return (dnp->dn_ctfp == DT_SYMADDR_CTFP(yypcb->pcb_hdl) &&
976 return (dnp->dn_ctfp == DT_USYMADDR_CTFP(yypcb->pcb_hdl) &&
983 ctf_file_t *fp = dnp->dn_ctfp;
1011 ctf_file_t *fp = dnp->dn_ctfp;
1026 ctf_file_t *fp = dnp->dn_ctfp;
1049 ctf_file_t *lfp = lp->dn_ctfp;
1050 ctf_file_t *rfp = rp->dn_ctfp;
1160 ctf_file_t *lfp = lp->dn_ctfp;
1161 ctf_file_t *rfp = rp->dn_ctfp;
1398 dnp->dn_ctfp = yypcb->pcb_hdl->dt_cdefs->dm_ctfp;
1639 idn.dn_ctfp, idn.dn_type) != 0)) {
1659 if (ctf_type_cmp(dnp->dn_ctfp, dnp->dn_type,
1660 pnp->dn_ctfp, pnp->dn_type) == 0)
2284 if (ctf_type_kind(dnp->dn_ctfp, ctf_type_resolve(
2285 dnp->dn_ctfp, dnp->dn_type)) == CTF_K_FORWARD) {
2354 dt_ident_type_assign(pidp, pnp->dn_ctfp, pnp->dn_type);
2963 type = ctf_type_resolve(cp->dn_ctfp, cp->dn_type);
2964 kind = ctf_type_kind(cp->dn_ctfp, type);
2967 if (ctf_array_info(cp->dn_ctfp, type, &r) != 0) {
2968 dtp->dt_ctferr = ctf_errno(cp->dn_ctfp);
2973 type = ctf_type_reference(cp->dn_ctfp, type);
2979 dt_node_type_assign(dnp, cp->dn_ctfp, type,
2981 base = ctf_type_resolve(cp->dn_ctfp, type);
2982 kind = ctf_type_kind(cp->dn_ctfp, base);
2984 if (kind == CTF_K_INTEGER && ctf_type_encoding(cp->dn_ctfp,
3063 dtt.dtt_ctfp = cp->dn_ctfp;
3313 kind = ctf_type_kind(lp->dn_ctfp,
3314 ctf_type_resolve(lp->dn_ctfp, lp->dn_type));
3318 lp->dn_ctfp, lp->dn_type, rp->dn_string, &val) == 0) {
3337 dt_node_type_assign(rp, lp->dn_ctfp, lp->dn_type,
3355 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3356 rp->dn_ctfp, rp->dn_type))
3400 ctfp = lp->dn_ctfp;
3404 ctfp = rp->dn_ctfp;
3548 ctfp = rp->dn_ctfp;
3578 kind = ctf_type_kind(lp->dn_ctfp,
3579 ctf_type_resolve(lp->dn_ctfp, lp->dn_type));
3590 ctf_type_compat(lp->dn_ctfp, lp->dn_type, ctfp, type))
3713 ctfp = lp->dn_ctfp;
3899 dnp->dn_ident = dt_xlator_ident(dxp, lp->dn_ctfp, lp->dn_type);
3914 ltype = ctf_type_resolve(lp->dn_ctfp, lp->dn_type);
3915 lkind = ctf_type_kind(lp->dn_ctfp, ltype);
3917 rtype = ctf_type_resolve(rp->dn_ctfp, rp->dn_type);
3918 rkind = ctf_type_kind(rp->dn_ctfp, rtype);
3927 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
3928 rp->dn_ctfp, rp->dn_type))
4046 if (ctf_type_compat(lp->dn_ctfp, lp->dn_type,
4047 rp->dn_ctfp, rp->dn_type)) {
4048 ctfp = lp->dn_ctfp;
4232 ctf_file_t *lctfp = dnp->dn_ctfp;
4349 if (ctf_type_cmp(old_argv->dn_ctfp, old_argv->dn_type,
4350 new_argv->dn_ctfp, new_argv->dn_type) == 0)
4605 if (dnp->dn_ctfp == DT_STR_CTFP(dtp) &&
4611 tp->dtdt_ckind = ctf_type_kind(dnp->dn_ctfp,
4612 ctf_type_resolve(dnp->dn_ctfp, dnp->dn_type));
4619 tp->dtdt_size = ctf_type_size(dnp->dn_ctfp, dnp->dn_type);
4633 if (dnp->dn_ctfp != NULL && dnp->dn_type != CTF_ERR &&
4634 ctf_type_name(dnp->dn_ctfp, dnp->dn_type, n, sizeof (n)) != NULL) {