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