Lines Matching refs:fprintf
117 fprintf(stderr, "%s: Failed to open '%s': %s\n", program_name, in map_vdso()
123 fprintf(stderr, "%s: Failed to stat '%s': %s\n", program_name, in map_vdso()
132 fprintf(stderr, "%s: Failed to map '%s': %s\n", program_name, in map_vdso()
142 fprintf(stderr, "%s: '%s' is not an ELF file\n", program_name, in map_vdso()
154 fprintf(stderr, "%s: '%s' has invalid ELF class\n", in map_vdso()
166 fprintf(stderr, "%s: '%s' has invalid ELF data order\n", in map_vdso()
173 fprintf(stderr, in map_vdso()
179 fprintf(stderr, in map_vdso()
216 fprintf(stderr, in main()
242 fprintf(stderr, "%s: Failed to sync '%s': %s\n", program_name, in main()
246 fprintf(stderr, "%s: Failed to sync '%s': %s\n", program_name, in main()
253 fprintf(stderr, "%s: Failed to open '%s': %s\n", program_name, in main()
258 fprintf(out_file, "/* Automatically generated - do not edit */\n"); in main()
259 fprintf(out_file, "#include <linux/linkage.h>\n"); in main()
260 fprintf(out_file, "#include <linux/mm.h>\n"); in main()
261 fprintf(out_file, "#include <asm/vdso.h>\n"); in main()
262 fprintf(out_file, "static int vdso_mremap(\n"); in main()
263 fprintf(out_file, " const struct vm_special_mapping *sm,\n"); in main()
264 fprintf(out_file, " struct vm_area_struct *new_vma)\n"); in main()
265 fprintf(out_file, "{\n"); in main()
266 fprintf(out_file, " current->mm->context.vdso =\n"); in main()
267 fprintf(out_file, " (void *)(new_vma->vm_start);\n"); in main()
268 fprintf(out_file, " return 0;\n"); in main()
269 fprintf(out_file, "}\n"); in main()
272 fprintf(out_file, in main()
277 fprintf(out_file, "\n\t"); in main()
278 fprintf(out_file, "0x%02x, ", ((unsigned char *)vdso)[i]); in main()
280 fprintf(out_file, "\n};\n"); in main()
283 fprintf(out_file, in main()
287 fprintf(out_file, "struct mips_vdso_image vdso_image%s%s = {\n", in main()
289 fprintf(out_file, "\t.data = vdso_data,\n"); in main()
290 fprintf(out_file, "\t.size = PAGE_ALIGN(%zu),\n", vdso_size); in main()
291 fprintf(out_file, "\t.mapping = {\n"); in main()
292 fprintf(out_file, "\t\t.name = \"[vdso]\",\n"); in main()
293 fprintf(out_file, "\t\t.pages = vdso_pages,\n"); in main()
294 fprintf(out_file, "\t\t.mremap = vdso_mremap,\n"); in main()
295 fprintf(out_file, "\t},\n"); in main()
304 fprintf(out_file, "};\n"); in main()