Lines Matching refs:outfd
464 static int mx28_create_nand_image(int infd, int outfd)
513 wr_size = write(outfd, buf, size);
531 static int mx28_create_sd_image(int infd, int outfd)
568 wr_size = write(outfd, buf, size);
639 int infd, outfd;
657 outfd = open(argv[offset + 2], O_CREAT | O_TRUNC | O_WRONLY,
659 if (outfd < 0) {
666 ret = mx28_create_sd_image(infd, outfd);
668 ret = mx28_create_nand_image(infd, outfd);
670 close(outfd);