Lines Matching defs:infop
401 dt_header_info_t *infop = data;
402 dtrace_hdl_t *dtp = infop->dthi_dtp;
417 if (fprintf(infop->dthi_out, "extern void __dtrace_%s___%s(",
418 infop->dthi_pfname, fname) < 0)
422 if (fprintf(infop->dthi_out, "%s",
428 fprintf(infop->dthi_out, ", ") < 0)
432 if (i == 0 && fprintf(infop->dthi_out, "void") < 0)
435 if (fprintf(infop->dthi_out, ");\n") < 0)
438 if (fprintf(infop->dthi_out,
444 infop->dthi_pfname, fname, infop->dthi_pfname, fname) < 0)
454 dt_header_info_t *infop = data;
455 dtrace_hdl_t *dtp = infop->dthi_dtp;
471 if (fprintf(infop->dthi_out, "#define\t%s_%s(",
472 infop->dthi_pmname, mname) < 0)
476 if (fprintf(infop->dthi_out, "arg%d", i) < 0)
480 fprintf(infop->dthi_out, ", ") < 0)
484 if (!infop->dthi_empty) {
485 if (fprintf(infop->dthi_out, ") \\\n\t") < 0)
488 if (fprintf(infop->dthi_out, "__dtrace_%s___%s(",
489 infop->dthi_pfname, fname) < 0)
493 if (fprintf(infop->dthi_out, "arg%d", i) < 0)
497 fprintf(infop->dthi_out, ", ") < 0)
502 if (fprintf(infop->dthi_out, ")\n") < 0)
505 if (!infop->dthi_empty) {
506 if (fprintf(infop->dthi_out,
514 infop->dthi_pmname, mname,
515 infop->dthi_pfname, fname,
516 infop->dthi_pmname, mname,
517 infop->dthi_pfname, fname) < 0)
521 if (fprintf(infop->dthi_out, "#define\t%s_%s_ENABLED() (0)\n",
522 infop->dthi_pmname, mname) < 0)