Home
last modified time | relevance | path

Searched refs:CTF_ERR (Results 1 – 22 of 22) sorted by relevance

/freebsd-14.2/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c1133 dmd->dmd_type = CTF_ERR; in ctf_add_enumerator()
1347 return (CTF_ERR); in soucmp()
1349 return (CTF_ERR); in soucmp()
1352 return (CTF_ERR); in soucmp()
1354 return (CTF_ERR); in soucmp()
1469 dst_type = CTF_ERR; in ctf_add_type()
1545 if (dst_type != CTF_ERR) { in ctf_add_type()
1565 if (src_type == CTF_ERR) in ctf_add_type()
1585 if (dst_type != CTF_ERR) { in ctf_add_type()
1630 if (dst_type == CTF_ERR) in ctf_add_type()
[all …]
H A Dctf_types.c193 return (CTF_ERR); /* errno is set for us */ in ctf_member_iter()
196 return (CTF_ERR); /* errno is set for us */ in ctf_member_iter()
235 return (CTF_ERR); /* errno is set for us */ in ctf_enum_iter()
238 return (CTF_ERR); /* errno is set for us */ in ctf_enum_iter()
314 return (CTF_ERR); /* errno is set for us */ in ctf_type_resolve()
331 if (fp == NULL && type == CTF_ERR) in ctf_type_qlname()
601 return (CTF_ERR); /* errno is set for us */ in ctf_type_kind()
620 return (CTF_ERR); /* errno is set for us */ in ctf_type_reference()
651 return (CTF_ERR); /* errno is set for us */ in ctf_type_pointer()
946 return (CTF_ERR); in ctf_enum_value()
[all …]
H A Dctf_labels.c61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_topmost()
88 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_iter()
89 return (CTF_ERR); /* errno is set */ in ctf_label_iter()
146 if ((rc = ctf_label_iter(fp, label_info_cb, &cb_arg)) == CTF_ERR) in ctf_label_info()
H A Dctf_lookup.c117 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[ in ctf_lookup_by_name()
171 (ptype = ctf_lookup_by_name(fp->ctf_parent, name)) != CTF_ERR) in ctf_lookup_by_name()
174 return (CTF_ERR); in ctf_lookup_by_name()
309 if (ctf_func_info(fp, symidx, &f) == CTF_ERR) in ctf_func_args()
310 return (CTF_ERR); /* errno is set for us */ in ctf_func_args()
H A Dctf_util.c151 return (CTF_ERR); in ctf_set_errno()
/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_print.c245 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) { in dt_print_int()
393 if (ctf_array_info(ctfp, base, &car) == CTF_ERR) { in dt_print_array()
400 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array()
610 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_format_member()
663 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_print_member()
759 return (CTF_ERR); in dt_print_prepare()
766 return (CTF_ERR); in dt_print_prepare()
772 return (CTF_ERR); in dt_print_prepare()
786 return (CTF_ERR); in dt_print_prepare()
808 if (id == CTF_ERR) in dtrace_print()
[all …]
H A Ddt_decl.c88 ddp->dd_type = CTF_ERR; in dt_decl_alloc()
152 dsp->ds_type = CTF_ERR; in dt_decl_pop()
491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) { in dt_decl_sou()
606 if (dtt.dtt_type == CTF_ERR || in dt_decl_member()
630 if (dtt.dtt_type == CTF_ERR || in dt_decl_member()
638 ident, dtt.dtt_type) == CTF_ERR) { in dt_decl_member()
746 name, value) == CTF_ERR || ctf_update(dsp->ds_ctfp) == CTF_ERR) { in dt_decl_enumerator()
939 if (tip->dtt_type == CTF_ERR || in dt_decl_type()
960 if (tip->dtt_type == CTF_ERR || in dt_decl_type()
1039 if (type == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_decl_type()
[all …]
H A Ddt_open.c684 { "int", NULL, CTF_ERR, 0x7fffffffULL },
685 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
686 { "long", NULL, CTF_ERR, 0x7fffffffULL },
697 { "int", NULL, CTF_ERR, 0x7fffffffULL },
698 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
1417 if (err == CTF_ERR) { in dt_vopen()
1484 dtyp->dty_src)) == CTF_ERR) { in dt_vopen()
1532 if (dtp->dt_type_func == CTF_ERR || dtp->dt_type_fptr == CTF_ERR || in dt_vopen()
1533 dtp->dt_type_str == CTF_ERR || dtp->dt_type_dyn == CTF_ERR || in dt_vopen()
1534 dtp->dt_type_stack == CTF_ERR || dtp->dt_type_symaddr == CTF_ERR || in dt_vopen()
[all …]
H A Ddt_xlator.c128 ptr.dtt_type = CTF_ERR; in dt_xlator_create()
274 if (src_base == CTF_ERR || dst_base == CTF_ERR) in dt_xlator_lookup()
331 if (ptr && dxp != NULL && dxp->dx_ptrid.di_type == CTF_ERR) in dt_xlator_lookup()
H A Ddt_parser.c298 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_type_pointer()
524 dnp->dn_type = CTF_ERR; in dt_node_xalloc()
1052 ctf_id_t lbase = CTF_ERR, rbase = CTF_ERR; in dt_node_is_ptrcompat()
1053 ctf_id_t lref = CTF_ERR, rref = CTF_ERR; in dt_node_is_ptrcompat()
1399 dnp->dn_type = CTF_ERR; in dt_node_vatype()
1515 dsp->ds_ident) != CTF_ERR) { in dt_node_decl()
1532 if (dtt.dtt_type == CTF_ERR || in dt_node_decl()
1533 ctf_update(dtt.dtt_ctfp) == CTF_ERR) { in dt_node_decl()
1543 if (type == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) { in dt_node_decl()
1620 if (idp != NULL && idp->di_type != CTF_ERR) in dt_node_decl()
[all …]
H A Ddt_ident.c280 isp->dis_args[i].dn_type = CTF_ERR; in dt_idcook_func()
377 if (xnp->dn_type == CTF_ERR) { in dt_idcook_args()
382 if (nnp->dn_type == CTF_ERR) { in dt_idcook_args()
482 if (idp->di_type == CTF_ERR) { in dt_idcook_type()
504 if (idp->di_ctfp != NULL && idp->di_type != CTF_ERR) in dt_idcook_thaw()
932 idp->di_type = CTF_ERR; in dt_ident_create()
H A Ddt_provider.c337 dtt.dtt_type = CTF_ERR; in dt_probe_discover()
344 if (dtt.dtt_type != CTF_ERR && (adp->dtargd_xlate[0] == '\0' || in dt_probe_discover()
357 dtt.dtt_type = CTF_ERR; in dt_probe_discover()
649 if (dtt.dtt_type == CTF_ERR || in dt_probe_tag()
650 ctf_update(dtt.dtt_ctfp) == CTF_ERR) { in dt_probe_tag()
H A Ddt_module.c911 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) { in dt_module_getctf()
1630 p + 1)) == CTF_ERR) in dtrace_lookup_by_type()
1631 id = CTF_ERR; in dtrace_lookup_by_type()
1637 if (id != CTF_ERR) in dtrace_lookup_by_type()
1642 if (id != CTF_ERR) { in dtrace_lookup_by_type()
1668 tip->dtt_type = CTF_ERR; in dtrace_symbol_type()
1691 if (tip->dtt_type == CTF_ERR) { in dtrace_symbol_type()
H A Ddt_grammar.y249 { dt_scope_push(NULL, CTF_ERR); } DT_TOK_ASGN
849 array: DT_TOK_LBRAC { dt_scope_push(NULL, CTF_ERR); }
862 function: DT_TOK_LPAR { dt_scope_push(NULL, CTF_ERR); }
H A Ddt_options.c819 if (ctf_array_info(fp, type, &r) == CTF_ERR) { in dt_opt_strsize()
827 if (ctf_set_array(fp, type, &r) == CTF_ERR || in dt_opt_strsize()
828 ctf_update(fp) == CTF_ERR) { in dt_opt_strsize()
H A Ddt_pid.c946 if (ctf_func_info(fp, si.prs_id, &f) == CTF_ERR) { in dt_pid_get_types()
981 if (ctf_func_args(fp, si.prs_id, argc, argv) == CTF_ERR) in dt_pid_get_types()
H A Ddt_cg.c86 if (ctf_member_info(fp, type, s, mp) == CTF_ERR) in dt_cg_membinfo()
167 ctf_type_encoding(ctfp, type, &e) != CTF_ERR) in dt_cg_load()
418 ctf_type_encoding(dst->dn_ctfp, dst->dn_type, &e) != CTF_ERR) in dt_cg_store()
1063 mnp->dn_membname, &ctm) == CTF_ERR) { in dt_cg_asgn_op()
H A Ddt_printf.c124 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR && in pfcheck_str()
140 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR && in pfcheck_wstr()
751 dtt.dtt_type = CTF_ERR; in dt_pfdict_create()
H A Ddt_cc.c2576 ctf_write(dtp->dt_cdefs->dm_ctfp, dtp->dt_cdefs_fd) == CTF_ERR)) in dt_compile()
2581 ctf_write(dtp->dt_ddefs->dm_ctfp, dtp->dt_ddefs_fd) == CTF_ERR)) in dt_compile()
/freebsd-14.2/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/
H A Dchkargs.c58 if (p.dtp_argv[i].dtt_type == CTF_ERR) { in probe()
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dctf_api.h120 #define CTF_ERR (-1L) macro
/freebsd-14.2/sys/cddl/dev/fbt/
H A Dfbt.c1048 if (lc == NULL && type == CTF_ERR) in fbt_type_name()