Lines Matching refs:rfp
337 ctf_file_t *rfp = fp; in ctf_type_qlname() local
339 ctf_lookup_by_id(&rfp, cdp->cd_type); in ctf_type_qlname()
340 const char *name = ctf_strptr(rfp, tp->ctt_name); in ctf_type_qlname()
722 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() argument
733 if (lfp == rfp) in ctf_type_cmp()
739 if (CTF_TYPE_ISPARENT(rtype) && rfp->ctf_parent != NULL) in ctf_type_cmp()
740 rfp = rfp->ctf_parent; in ctf_type_cmp()
742 if (lfp < rfp) in ctf_type_cmp()
745 if (lfp > rfp) in ctf_type_cmp()
759 ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_compat() argument
766 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat()
772 rtype = ctf_type_resolve(rfp, rtype); in ctf_type_compat()
773 rkind = ctf_type_kind(rfp, rtype); in ctf_type_compat()
777 (rtp = ctf_lookup_by_id(&rfp, rtype)) == NULL || in ctf_type_compat()
779 ctf_strptr(rfp, rtp->ctt_name)) != 0) in ctf_type_compat()
786 ctf_type_encoding(rfp, rtype, &re) == 0 && in ctf_type_compat()
790 rfp, ctf_type_reference(rfp, rtype))); in ctf_type_compat()
793 ctf_array_info(rfp, rtype, &ra) == 0 && in ctf_type_compat()
795 lfp, la.ctr_contents, rfp, ra.ctr_contents) && in ctf_type_compat()
796 ctf_type_compat(lfp, la.ctr_index, rfp, ra.ctr_index)); in ctf_type_compat()
799 return (ctf_type_size(lfp, ltype) == ctf_type_size(rfp, rtype)); in ctf_type_compat()