/openbmc/linux/tools/firmware/ |
H A D | ihex2fw.c | 55 static int output_records(int outfd); 74 int infd, outfd; in main() local 118 outfd = 1; in main() 120 outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); in main() 121 if (outfd == -1) { in main() 129 return output_records(outfd); in main() 270 static int output_records(int outfd) in output_records() argument 280 if (write(outfd, &p->addr, writelen) != writelen) in output_records() 286 if (write(outfd, zeroes, 6) != 6) in output_records()
|
/openbmc/linux/arch/arm/vdso/ |
H A D | vdsomunge.c | 126 int outfd; in main() local 179 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main() 180 if (outfd < 0) in main() 183 if (ftruncate(outfd, stat.st_size) != 0) in main() 187 outfd, 0); in main() 191 close(outfd); in main()
|
/openbmc/u-boot/tools/ |
H A D | mxsboot.c | 464 static int mx28_create_nand_image(int infd, int outfd) in mx28_create_nand_image() argument 513 wr_size = write(outfd, buf, size); in mx28_create_nand_image() 531 static int mx28_create_sd_image(int infd, int outfd) in mx28_create_sd_image() argument 568 wr_size = write(outfd, buf, size); in mx28_create_sd_image() 639 int infd, outfd; in main() local 657 outfd = open(argv[offset + 2], O_CREAT | O_TRUNC | O_WRONLY, in main() 659 if (outfd < 0) { in main() 666 ret = mx28_create_sd_image(infd, outfd); in main() 668 ret = mx28_create_nand_image(infd, outfd); in main() 670 close(outfd); in main()
|
H A D | imx8mimage.c | 593 int imx8mimage_copy_image(int outfd, struct image_tool_params *mparams) in imx8mimage_copy_image() argument 602 build_image(outfd); in imx8mimage_copy_image()
|
H A D | zynqmpbif.c | 828 int zynqmpbif_copy_image(int outfd, struct image_tool_params *mparams) in zynqmpbif_copy_image() argument 974 if (lseek(outfd, 0, SEEK_SET) != 0) in zynqmpbif_copy_image() 982 r = write(outfd, bifp, len); in zynqmpbif_copy_image()
|
H A D | imx8image.c | 953 int imx8image_copy_image(int outfd, struct image_tool_params *mparams) in imx8image_copy_image() argument 974 img_sp, false, fuse_version, sw_version, outfd); in imx8image_copy_image()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 679 do_write(outfd, rbuf, len); in copyfd_io_poll() 743 static int do_recvfile(int infd, int outfd) in do_recvfile() argument 752 if (write(outfd, buf, r) != r) in do_recvfile() 789 ret = spool_buf(outfd, winfo); in do_mmap() 796 ret = write(outfd, inbuf + off, rem); in do_mmap() 840 int ret = spool_buf(outfd, winfo); in do_sendfile() 850 r = sendfile(outfd, infd, NULL, count); in do_sendfile() 869 err = do_recvfile(peerfd, outfd); in copyfd_io_mmap() 881 err = do_recvfile(peerfd, outfd); in copyfd_io_mmap() 894 err = do_recvfile(peerfd, outfd); in copyfd_io_sendfile() [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | patchstream.py | 348 def ProcessStream(self, infd, outfd): argument 379 outfd.write('+\n' * self.blank_count) 380 outfd.write(line + '\n') 455 outfd = os.fdopen(handle, 'w') 459 ps.ProcessStream(infd, outfd) 461 outfd.close()
|
/openbmc/qemu/qga/ |
H A D | commands-posix.c | 108 int outfd[2] = { -1, -1 }; in ga_run_command() local 113 !g_unix_open_pipe(outfd, FD_CLOEXEC, NULL)) { in ga_run_command() 134 close(outfd[0]); in ga_run_command() 135 dup2(outfd[1], 1); in ga_run_command() 136 dup2(outfd[1], 2); in ga_run_command() 137 close(outfd[1]); in ga_run_command() 164 len = ga_pipe_read_str(outfd, &str); in ga_run_command() 207 if (outfd[0] != -1) { in ga_run_command() 208 close(outfd[0]); in ga_run_command() 210 if (outfd[1] != -1) { in ga_run_command() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/ |
H A D | 0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch | 214 close(outfd);
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 753 int, outfd, loff_t *, poutoff, size_t, length, in safe_syscall3()
|