Lines Matching refs:CTF_ERR

598 	if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
599 return (CTF_ERR); /* errno is set for us */
614 if (ref == CTF_ERR || ref < 0 || ref > CTF_MAX_TYPE)
617 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
618 return (CTF_ERR); /* errno is set for us */
655 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
656 return (CTF_ERR); /* errno is set for us */
705 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR) {
707 return (CTF_ERR); /* errno is set for us */
734 else if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
735 return (CTF_ERR); /* errno is set for us */
756 else if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
757 return (CTF_ERR); /* errno is set for us */
778 else if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
779 return (CTF_ERR); /* errno is set for us */
817 if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
818 return (CTF_ERR); /* errno is set for us */
832 if (ref == CTF_ERR || ref < 0 || ref > CTF_MAX_TYPE)
835 if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
836 return (CTF_ERR); /* errno is set for us */
905 dmd->dmd_type = CTF_ERR;
953 if ((msize = ctf_type_size(fp, type)) == CTF_ERR ||
954 (malign = ctf_type_align(fp, type)) == CTF_ERR)
955 return (CTF_ERR); /* errno is set for us */
977 if (ctf_type_encoding(fp, ltype, &linfo) != CTF_ERR)
979 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR)
1025 name, &bvalue) == CTF_ERR || value != bvalue);
1034 name, value) == CTF_ERR);
1045 name, &ctm) == CTF_ERR || ctm.ctm_offset != offset);
1091 ctf_id_t dst_type = CTF_ERR;
1151 if (dst_type != CTF_ERR && dst_kind != kind && (
1164 if (dst_type == CTF_ERR && name[0] != '\0') {
1184 * Now perform kind-specific processing. If dst_type is CTF_ERR, then
1186 * If dst_type is not CTF_ERR, then we verify that dst_type has the
1195 if (dst_type != CTF_ERR) {
1197 return (CTF_ERR); /* errno is set for us */
1215 if (src_type == CTF_ERR)
1216 return (CTF_ERR); /* errno is set for us */
1222 if (ctf_array_info(src_fp, src_type, &src_ar) == CTF_ERR)
1231 if (src_ar.ctr_contents == CTF_ERR ||
1232 src_ar.ctr_index == CTF_ERR)
1233 return (CTF_ERR); /* errno is set for us */
1235 if (dst_type != CTF_ERR) {
1237 return (CTF_ERR); /* errno is set for us */
1250 if (ctc.ctc_return == CTF_ERR)
1251 return (CTF_ERR); /* errno is set for us */
1270 if (dst_type != CTF_ERR && dst_kind != CTF_K_FORWARD) {
1287 if (dst_type == CTF_ERR)
1288 return (CTF_ERR); /* errno is set for us */
1308 * through all members, leaving any that fail set to CTF_ERR.
1313 dmd->dmd_type)) == CTF_ERR)
1318 return (CTF_ERR); /* errno is set for us */
1323 if (dst_type != CTF_ERR && dst_kind != CTF_K_FORWARD) {
1329 if ((dst.ctb_type = dst_type) == CTF_ERR ||
1331 return (CTF_ERR); /* errno is set for us */
1336 if (dst_type == CTF_ERR) {
1346 if (src_type == CTF_ERR)
1347 return (CTF_ERR); /* errno is set for us */
1350 * If dst_type is not CTF_ERR at this point, we should check if
1358 if (dst_type == CTF_ERR) {