Lines Matching refs:fprintf
14 fprintf(outfile, "\n\t");
15 fprintf(outfile, "0x%02X, ", (int)(data)[i]);
38 fprintf(outfile, "static const unsigned char %s[%zu] = {", name, len);
40 fprintf(outfile, "\n};\n\n");
180 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n");
181 fprintf(outfile, "#include <linux/linkage.h>\n");
182 fprintf(outfile, "#include <linux/init.h>\n");
183 fprintf(outfile, "#include <asm/page_types.h>\n");
184 fprintf(outfile, "#include <asm/vdso.h>\n");
185 fprintf(outfile, "\n");
186 fprintf(outfile,
191 fprintf(outfile, "\n\t");
192 fprintf(outfile, "0x%02X, ",
195 fprintf(outfile, "\n};\n\n");
200 fprintf(outfile, "const struct vdso_image %s = {\n", image_name);
201 fprintf(outfile, "\t.data = raw_data,\n");
202 fprintf(outfile, "\t.size = %lu,\n", mapping_size);
204 fprintf(outfile, "\t.alt = %lu,\n",
206 fprintf(outfile, "\t.alt_len = %lu,\n",
210 fprintf(outfile, "\t.extable_base = %lu,\n",
212 fprintf(outfile, "\t.extable_len = %lu,\n",
214 fprintf(outfile, "\t.extable = extable,\n");
219 fprintf(outfile, "\t.sym_%s = %" PRIi64 ",\n",
222 fprintf(outfile, "};\n\n");
223 fprintf(outfile, "static __init int init_%s(void) {\n", image_name);
224 fprintf(outfile, "\treturn init_vdso_image(&%s);\n", image_name);
225 fprintf(outfile, "};\n");
226 fprintf(outfile, "subsys_initcall(init_%s);\n", image_name);