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

/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_labels.c61 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
88 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR)
89 return (CTF_ERR); /* errno is set */
146 if ((rc = ctf_label_iter(fp, label_info_cb, &cb_arg)) == CTF_ERR)
H A Dctf_create.c669 if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
670 return (CTF_ERR); /* errno is set for us */
685 if (ref == CTF_ERR || ref < 0 || ref > CTF_MAX_TYPE)
688 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
689 return (CTF_ERR); /* errno is set for us */
739 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR)
740 return (CTF_ERR); /* errno is set for us */
820 if ((type = ctf_add_generic(fp, flag, NULL, &dtd)) == CTF_ERR) {
822 return (CTF_ERR); /* errno is set for us */
853 else if ((type = ctf_add_generic(fp, flag, name, &dtd)) == CTF_ERR)
[all...]
H A Dctf_types.c66 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
67 return (CTF_ERR); /* errno is set for us */
70 return (CTF_ERR); /* errno is set for us */
118 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
119 return (CTF_ERR); /* errno is set for us */
122 return (CTF_ERR); /* errno is set for us */
193 return (CTF_ERR); /* errno is set for us */
210 if (fp == NULL && type == CTF_ERR)
211 return (-1); /* simplify caller code by permitting CTF_ERR */
351 if ((type = ctf_type_resolve(fp, type)) == CTF_ERR)
[all...]
H A Dctf_lookup.c115 if (ntype == CTF_ERR || (ntype = fp->ctf_ptrtab[
168 (ptype = ctf_lookup_by_name(fp->ctf_parent, name)) != CTF_ERR)
171 return (CTF_ERR);
300 if (ctf_func_info(fp, symidx, &f) == CTF_ERR)
301 return (CTF_ERR); /* errno is set for us */
H A Dctf_util.c145 * CTF_ERR for the benefit of the caller.
151 return (CTF_ERR);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_decl.c88 ddp->dd_type = CTF_ERR;
152 dsp->ds_type = CTF_ERR;
320 if (dnp->dn_type == CTF_ERR && !(flags & DT_DP_VARARGS)) {
482 if (name != NULL && (type = ctf_lookup_by_name(ctfp, n)) != CTF_ERR &&
491 if (type == CTF_ERR || ctf_update(ctfp) == CTF_ERR) {
588 ctf_type_encoding(dtt.dtt_ctfp, base, &cte) == CTF_ERR ||
606 if (dtt.dtt_type == CTF_ERR ||
607 ctf_update(dsp->ds_ctfp) == CTF_ERR) {
630 if (dtt.dtt_type == CTF_ERR ||
[all...]
H A Ddt_print.c237 if (ctf_type_encoding(ctfp, base, &e) == CTF_ERR) {
325 if (bid == CTF_ERR || ctf_type_kind(ctfp, bid) != CTF_K_FUNCTION) {
379 if (ctf_array_info(ctfp, base, &car) == CTF_ERR) {
385 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR ||
386 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) {
394 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) {
564 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR ||
565 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR ||
691 if (ctfp == NULL || ctf_type_kind(ctfp, id) == CTF_ERR)
H A Ddt_open.c685 { "int", NULL, CTF_ERR, 0x7fffffffULL },
686 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
687 { "long", NULL, CTF_ERR, 0x7fffffffULL },
688 { "unsigned long", NULL, CTF_ERR, 0xffffffffULL },
689 { "long long", NULL, CTF_ERR, 0x7fffffffffffffffULL },
690 { "unsigned long long", NULL, CTF_ERR, 0xffffffffffffffffULL }
698 { "int", NULL, CTF_ERR, 0x7fffffffULL },
699 { "unsigned int", NULL, CTF_ERR, 0xffffffffULL },
700 { "long", NULL, CTF_ERR, 0x7fffffffffffffffULL },
701 { "unsigned long", NULL, CTF_ERR,
[all...]
H A Ddt_xlator.c128 ptr.dtt_type = CTF_ERR;
274 if (src_base == CTF_ERR || dst_base == CTF_ERR)
331 if (ptr && dxp != NULL && dxp->dx_ptrid.di_type == CTF_ERR)
H A Ddt_ident.c257 * as a dis_args[] element with ctfp = NULL, type == CTF_ERR).
278 isp->dis_args[i].dn_type = CTF_ERR;
375 if (xnp->dn_type == CTF_ERR) {
380 if (nnp->dn_type == CTF_ERR) {
480 if (idp->di_type == CTF_ERR) {
502 if (idp->di_ctfp != NULL && idp->di_type != CTF_ERR)
930 idp->di_type = CTF_ERR;
H A Ddt_provider.c336 dtt.dtt_type = CTF_ERR;
343 if (dtt.dtt_type != CTF_ERR && (adp->dtargd_xlate[0] == '\0' ||
356 dtt.dtt_type = CTF_ERR;
648 if (dtt.dtt_type == CTF_ERR ||
649 ctf_update(dtt.dtt_ctfp) == CTF_ERR) {
H A Ddt_parser.c68 * 1. dn_ctfp = NULL, dn_type = CTF_ERR
279 if ((ptr = ctf_type_pointer(ctfp, type)) != CTF_ERR ||
280 (ptr = ctf_type_pointer(ctfp, base)) != CTF_ERR) {
291 (type = ctf_add_type(dmp->dm_ctfp, ctfp, type)) == CTF_ERR) {
298 if (ptr == CTF_ERR || ctf_update(dmp->dm_ctfp) == CTF_ERR) {
367 if (ctf_type_encoding(lfp, lbase, &le) == CTF_ERR) {
372 if (ctf_type_encoding(rfp, rbase, &re) == CTF_ERR) {
524 dnp->dn_type = CTF_ERR;
995 (base = ctf_type_reference(fp, base)) != CTF_ERR
[all...]
H A Ddt_module.c911 if (ctf_import(dmp->dm_ctfp, pfp) == CTF_ERR) {
1652 p + 1)) == CTF_ERR)
1653 id = CTF_ERR;
1659 if (id != CTF_ERR)
1664 if (id != CTF_ERR) {
1690 tip->dtt_type = CTF_ERR;
1713 if (tip->dtt_type == CTF_ERR) {
H A Ddt_grammar.y246 { dt_scope_push(NULL, CTF_ERR); } DT_TOK_ASGN
825 array: DT_TOK_LBRAC { dt_scope_push(NULL, CTF_ERR); }
838 function: DT_TOK_LPAR { dt_scope_push(NULL, CTF_ERR); }
H A Ddt_options.c794 if (ctf_array_info(fp, type, &r) == CTF_ERR) {
802 if (ctf_set_array(fp, type, &r) == CTF_ERR ||
803 ctf_update(fp) == CTF_ERR) {
H A Ddt_pid.c941 if (ctf_func_info(fp, si.prs_id, &f) == CTF_ERR) {
976 if (ctf_func_args(fp, si.prs_id, argc, argv) == CTF_ERR)
H A Ddt_printf.c117 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
133 (base = ctf_type_resolve(ctfp, r.ctr_contents)) != CTF_ERR &&
745 dtt.dtt_type = CTF_ERR;
H A Ddt_cg.c86 if (ctf_member_info(fp, type, s, mp) == CTF_ERR)
167 ctf_type_encoding(ctfp, type, &e) != CTF_ERR)
418 ctf_type_encoding(dst->dn_ctfp, dst->dn_type, &e) != CTF_ERR)
1063 mnp->dn_membname, &ctm) == CTF_ERR) {
H A Ddt_cc.c2585 ctf_write(dtp->dt_cdefs->dm_ctfp, dtp->dt_cdefs_fd) == CTF_ERR))
2590 ctf_write(dtp->dt_ddefs->dm_ctfp, dtp->dt_ddefs_fd) == CTF_ERR))
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/chkargs/
H A Dchkargs.c58 if (p.dtp_argv[i].dtt_type == CTF_ERR) {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dctf_api.h120 #define CTF_ERR (-1L) macro
/freebsd-11-stable/sys/cddl/dev/fbt/
H A Dfbt.c885 if (lc == NULL && type == CTF_ERR)
886 return (-1); /* simplify caller code by permitting CTF_ERR */

Completed in 387 milliseconds