Home
last modified time | relevance | path

Searched refs:outfile (Results 1 – 6 of 6) sorted by relevance

/arch/x86/entry/vdso/
Dvdso2c.h10 FILE *outfile, const char *image_name) in BITSFUNC()
139 fwrite(stripped_addr, stripped_len, 1, outfile); in BITSFUNC()
145 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n"); in BITSFUNC()
146 fprintf(outfile, "#include <linux/linkage.h>\n"); in BITSFUNC()
147 fprintf(outfile, "#include <asm/page_types.h>\n"); in BITSFUNC()
148 fprintf(outfile, "#include <asm/vdso.h>\n"); in BITSFUNC()
149 fprintf(outfile, "\n"); in BITSFUNC()
150 fprintf(outfile, in BITSFUNC()
155 fprintf(outfile, "\n\t"); in BITSFUNC()
156 fprintf(outfile, "0x%02X, ", in BITSFUNC()
[all …]
Dvdso2c.c166 FILE *outfile, const char *name) in go() argument
172 outfile, name); in go()
175 outfile, name); in go()
205 FILE *outfile; in main() local
238 outfile = fopen(outfilename, "w"); in main()
239 if (!outfile) in main()
242 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
246 fclose(outfile); in main()
/arch/sparc/vdso/
Dvdso2c.h13 FILE *outfile, const char *name) in BITSFUNC()
112 fwrite(stripped_addr, stripped_len, 1, outfile); in BITSFUNC()
118 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n"); in BITSFUNC()
119 fprintf(outfile, "#include <linux/cache.h>\n"); in BITSFUNC()
120 fprintf(outfile, "#include <asm/vdso.h>\n"); in BITSFUNC()
121 fprintf(outfile, "\n"); in BITSFUNC()
122 fprintf(outfile, in BITSFUNC()
127 fprintf(outfile, "\n\t"); in BITSFUNC()
128 fprintf(outfile, "0x%02X, ", in BITSFUNC()
131 fprintf(outfile, "\n};\n\n"); in BITSFUNC()
[all …]
Dvdso2c.c144 FILE *outfile, const char *name) in go() argument
150 outfile, name); in go()
153 outfile, name); in go()
184 FILE *outfile; in main() local
217 outfile = fopen(outfilename, "w"); in main()
218 if (!outfile) in main()
221 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
225 fclose(outfile); in main()
/arch/arm/vdso/
Dvdsomunge.c81 static const char *outfile; variable
97 if (failed && outfile != NULL) in cleanup()
98 unlink(outfile); in cleanup()
136 outfile = argv[2]; in main()
179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
181 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
184 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
189 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
204 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()
/arch/mips/boot/
Delf2ecoff.c278 int infile, outfile; in main() local
507 if ((outfile = open(argv[2], O_WRONLY | O_CREAT, 0777)) < 0) { in main()
516 i = write(outfile, &efh, sizeof efh); in main()
532 i = write(outfile, &eah, sizeof eah); in main()
541 i = write(outfile, &esecs, nosecs * sizeof(struct scnhdr)); in main()
551 i = write(outfile, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0", pad); in main()
583 write(outfile, obuf, in main()
598 copy(outfile, infile, ph[i].p_offset, in main()
612 if (write(outfile, obuf, sizeof(obuf)) != sizeof(obuf)) { in main()