Searched refs:infd (Results 1 – 1 of 1) sorted by relevance
/xen/xen/arch/x86/boot/ |
A D | mkelf32.c | 262 int infd, outfd; in main() local 289 infd = open(inimage, O_RDONLY); in main() 290 if ( infd == -1 ) in main() 297 do_read(infd, &in32_ehdr, sizeof(in32_ehdr)); in main() 313 (void)lseek(infd, 0, SEEK_SET); in main() 314 do_read(infd, &in64_ehdr, sizeof(in64_ehdr)); in main() 330 (void)lseek(infd, in64_ehdr.e_phoff, SEEK_SET); in main() 331 do_read(infd, &in64_phdr, sizeof(in64_phdr)); in main() 351 (void)lseek(infd, offset, SEEK_SET); in main() 441 do_read(infd, buffer, todo); in main() [all …]
|
Completed in 3 milliseconds