Home | History | Annotate | Download | only in direct_io

Lines Matching full:infile

26  *	diotest1 [-b bufsize] [-n numblks] [-i infile] [-o outfile]
55 static char infile[LEN]; /* Input file. Default "infile" */
65 "Usage: diotest1 [-b bufsize] [-n numblks] [-i infile] [-o outfile]\n");
87 strcpy(infile, "infile"); /* Default input file */
109 strcpy(infile, optarg);
122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666);
129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666);
143 /* Copy infile to outfile using direct read and direct write */
157 if (filecmp(infile, outfile) != 0) {
159 infile, outfile);