Lines Matching refs:ctfp

115 dt_print_type_name(ctf_file_t *ctfp, ctf_id_t id, char *buf, size_t buflen)  in dt_print_type_name()  argument
117 if (ctf_type_name(ctfp, id, buf, buflen) == NULL) in dt_print_type_name()
255 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_int() local
260 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) { in dt_print_int()
305 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_float() local
309 if (ctf_type_encoding(ctfp, base, &e) == 0) { in dt_print_float()
336 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_ptr() local
338 size_t size = ctf_type_size(ctfp, base); in dt_print_ptr()
339 ctf_id_t bid = ctf_type_reference(ctfp, base); in dt_print_ptr()
344 if (bid == CTF_ERR || ctf_type_kind(ctfp, bid) != CTF_K_FUNCTION) { in dt_print_ptr()
388 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_array() local
398 if (ctf_array_info(ctfp, base, &car) == CTF_ERR) { in dt_print_array()
403 if ((eltsize = ctf_type_size(ctfp, car.ctr_contents)) < 0 || in dt_print_array()
404 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR || in dt_print_array()
405 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array()
413 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) { in dt_print_array()
456 (void) ctf_type_visit(ctfp, car.ctr_contents, in dt_print_array()
498 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_enum() local
509 size = ctf_type_size(ctfp, base); in dt_print_enum()
527 if ((ename = ctf_enum_name(ctfp, base, value)) != NULL) in dt_print_enum()
570 ctf_file_t *ctfp = pap->pa_ctfp; in dt_print_member() local
585 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_print_member()
586 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_print_member()
593 dt_print_type_name(ctfp, id, type, sizeof (type)); in dt_print_member()
633 ctf_type_encoding(ctfp, id, &e) == 0) { in dt_print_member()
640 size != ctf_type_size(ctfp, id)) { in dt_print_member()
671 ctf_file_t *ctfp; in dtrace_print() local
700 ctfp = dmp->dm_libctfp[libid]; in dtrace_print()
702 ctfp = dt_module_getctf(dtp, dmp); in dtrace_print()
712 if (ctfp == NULL || ctf_type_kind(ctfp, id) == CTF_ERR) in dtrace_print()
718 pa.pa_ctfp = ctfp; in dtrace_print()