Searched refs:outfd (Results 1 – 2 of 2) sorted by relevance
/xen/xen/arch/x86/boot/ |
A D | mkelf32.c | 262 int infd, outfd; in main() local 410 outfd = open(outimage, O_WRONLY|O_CREAT|O_TRUNC, 0775); in main() 411 if ( outfd == -1 ) in main() 419 do_write(outfd, &out_ehdr, sizeof(out_ehdr)); in main() 422 do_write(outfd, &out_phdr, sizeof(out_phdr)); in main() 427 do_write(outfd, ¬e_phdr, sizeof(note_phdr)); in main() 435 do_write(outfd, buffer, bytes); in main() 442 do_write(outfd, buffer, todo); in main() 447 do_write(outfd, &out_shdr[0], sizeof(out_shdr)); in main() 455 do_write(outfd, out_shstrtab, sizeof(out_shstrtab)); in main() [all …]
|
/xen/tools/xentrace/ |
A D | xentrace.c | 81 static int outfd = 1; variable 297 written = write(outfd, wstart, wsize); in membuf_dump() 307 written = write(outfd, wstart, wsize); in membuf_dump() 318 written = write(outfd, wstart, wsize); in membuf_dump() 357 if ( fstatvfs (outfd, &stat) ) in write_buffer() 396 written = write(outfd, &rec, sizeof(rec)); in write_buffer() 412 written = write(outfd, start, size); in write_buffer() 797 close(outfd); in monitor_tbufs() 1203 outfd = open(opts.outfile, in main() 1207 if ( outfd < 0 ) in main() [all …]
|
Completed in 5 milliseconds