Lines Matching defs:infop
399 dt_header_info_t *infop = data;
400 dtrace_hdl_t *dtp = infop->dthi_dtp;
415 if (fprintf(infop->dthi_out, "extern void __dtrace_%s___%s(",
416 infop->dthi_pfname, fname) < 0)
420 if (fprintf(infop->dthi_out, "%s",
426 fprintf(infop->dthi_out, ", ") < 0)
430 if (i == 0 && fprintf(infop->dthi_out, "void") < 0)
433 if (fprintf(infop->dthi_out, ");\n") < 0)
436 if (fprintf(infop->dthi_out,
442 infop->dthi_pfname, fname, infop->dthi_pfname, fname) < 0)
452 dt_header_info_t *infop = data;
453 dtrace_hdl_t *dtp = infop->dthi_dtp;
469 if (fprintf(infop->dthi_out, "#define\t%s_%s(",
470 infop->dthi_pmname, mname) < 0)
474 if (fprintf(infop->dthi_out, "arg%d", i) < 0)
478 fprintf(infop->dthi_out, ", ") < 0)
482 if (!infop->dthi_empty) {
483 if (fprintf(infop->dthi_out, ") \\\n\t") < 0)
486 if (fprintf(infop->dthi_out, "__dtrace_%s___%s(",
487 infop->dthi_pfname, fname) < 0)
491 if (fprintf(infop->dthi_out, "arg%d", i) < 0)
495 fprintf(infop->dthi_out, ", ") < 0)
500 if (fprintf(infop->dthi_out, ")\n") < 0)
503 if (!infop->dthi_empty) {
504 if (fprintf(infop->dthi_out,
512 infop->dthi_pmname, mname,
513 infop->dthi_pfname, fname,
514 infop->dthi_pmname, mname,
515 infop->dthi_pfname, fname) < 0)
519 if (fprintf(infop->dthi_out, "#define\t%s_%s_ENABLED() (0)\n",
520 infop->dthi_pmname, mname) < 0)