Lines Matching defs:ifp
92 ctfdiff_func_cb(ctf_file_t *ifp, ulong_t iidx, boolean_t similar,
100 if (ctf_symbol_name(ifp, iidx, namebuf, sizeof (namebuf)) == NULL) {
104 ctfdiff_fp_to_name(ifp), iidx);
116 "different\n", ctfdiff_fp_to_name(ifp), namebuf, iidx);
124 ctfdiff_obj_cb(ctf_file_t *ifp, ulong_t iidx, ctf_id_t iid, boolean_t similar,
132 if (ctf_symbol_name(ifp, iidx, namebuf, sizeof (namebuf)) == NULL) {
136 ctfdiff_fp_to_name(ifp), iidx);
148 ctfdiff_fp_to_name(ifp), namebuf, iidx);
156 ctfdiff_cb(ctf_file_t *ifp, ctf_id_t iid, boolean_t similar, ctf_file_t *ofp,
162 if (ctf_type_kind(ifp, iid) == CTF_K_UNKNOWN)
172 if (ctf_type_name(ifp, iid, namebuf, sizeof (namebuf)) ==
176 iid, ctfdiff_fp_to_name(ifp),
177 ctf_errmsg(ctf_errno(ifp)));
195 ctfdiff_fp_to_name(ifp), iid);
221 ctfdiff_labels(ctf_file_t *ifp, ctf_file_t *ofp)
229 ret = ctf_label_iter(ifp, ctfdiff_labels_count, &nilabel);
238 "container %s\n", ctfdiff_fp_to_name(ifp),
259 if ((ret = ctf_label_iter(ifp, ctfdiff_labels_fill, &idl)) != 0)
272 "container %s\n", ctfdiff_fp_to_name(ifp),
322 ctf_file_t *ifp, *ofp;
459 ifp = ctf_open(argv[1], &err);
460 if (ifp == NULL) {
465 err = ctf_import(ifp, pifp);
472 g_ifp = ifp;
490 if (ctf_diff_init(ifp, ofp, &cdp) != 0) {
492 ctf_errmsg(ctf_errno(ifp)));
497 ctf_errmsg(ctf_errno(ifp)));
508 err = ctfdiff_labels(ifp, ofp);
513 ctf_errmsg(ctf_errno(ifp)));