Searched refs:outfd (Results 1 – 4 of 4) sorted by relevance
/linux/tools/firmware/ |
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()
|
/linux/arch/arm/vdso/ |
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()
|
/linux/tools/testing/selftests/net/mptcp/ |
A D | mptcp_connect.c | 505 do_write(outfd, rbuf, len); in copyfd_io_poll() 562 static int do_recvfile(int infd, int outfd) in do_recvfile() argument 571 if (write(outfd, buf, r) != r) in do_recvfile() 581 static int do_mmap(int infd, int outfd, unsigned int size) in do_mmap() argument 595 ret = write(outfd, inbuf + off, rem); in do_mmap() 641 r = sendfile(outfd, infd, NULL, count); in do_sendfile() 659 err = do_recvfile(peerfd, outfd); in copyfd_io_mmap() 671 err = do_recvfile(peerfd, outfd); in copyfd_io_mmap() 684 err = do_recvfile(peerfd, outfd); in copyfd_io_sendfile() 693 err = do_recvfile(peerfd, outfd); in copyfd_io_sendfile() [all …]
|
/linux/tools/io_uring/ |
A D | io_uring-cp.c | 25 static int infd, outfd; variable 79 io_uring_prep_writev(sqe, outfd, &data->iov, 1, data->offset); in queue_prepped() 266 outfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644); in main() 267 if (outfd < 0) { in main() 280 close(outfd); in main()
|
Completed in 9 milliseconds