Lines Matching refs:ctfp
96 ctf_file_t *ctfp; in pfcheck_str() local
105 ctfp = dnp->dn_ctfp; in pfcheck_str()
106 base = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_str()
107 kind = ctf_type_kind(ctfp, base); in pfcheck_str()
109 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 && in pfcheck_str()
110 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR && in pfcheck_str()
111 ctf_type_encoding(ctfp, base, &e) == 0 && IS_CHAR(e)); in pfcheck_str()
118 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_wstr() local
119 ctf_id_t base = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_wstr()
120 uint_t kind = ctf_type_kind(ctfp, base); in pfcheck_wstr()
125 return (kind == CTF_K_ARRAY && ctf_array_info(ctfp, base, &r) == 0 && in pfcheck_wstr()
126 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR && in pfcheck_wstr()
127 ctf_type_kind(ctfp, base) == CTF_K_INTEGER && in pfcheck_wstr()
128 ctf_type_encoding(ctfp, base, &e) == 0 && e.cte_bits == 32); in pfcheck_wstr()
169 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_xshort() local
170 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_xshort()
173 return (ctf_type_name(ctfp, type, n, sizeof (n)) != NULL && ( in pfcheck_xshort()
182 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_xlong() local
183 ctf_id_t type = ctf_type_resolve(ctfp, dnp->dn_type); in pfcheck_xlong()
186 return (ctf_type_name(ctfp, type, n, sizeof (n)) != NULL && ( in pfcheck_xlong()
195 ctf_file_t *ctfp = dnp->dn_ctfp; in pfcheck_xlonglong() local
199 if (ctf_type_name(ctfp, ctf_type_resolve(ctfp, type), n, in pfcheck_xlonglong()
211 while (ctf_type_kind(ctfp, type) == CTF_K_TYPEDEF) { in pfcheck_xlonglong()
212 if (ctf_type_name(ctfp, type, n, sizeof (n)) != NULL && in pfcheck_xlonglong()
216 type = ctf_type_reference(ctfp, type); in pfcheck_xlonglong()