Lines Matching refs:maxfilelen
113 off_t maxfilelen = 256 * 1024; /* -l flag */ variable
852 dotruncate(random() % maxfilelen); in test()
861 offset %= maxfilelen; in test()
862 if (offset + size > maxfilelen) in test()
863 size = maxfilelen - offset; in test()
1031 maxfilelen = getnum(optarg, &endp); in main()
1032 if (maxfilelen <= 0) in main()
1177 file_size = maxfilelen = lseek(fd, (off_t)0, SEEK_END); in main()
1190 original_buf = (char *) malloc(maxfilelen); in main()
1191 for (i = 0; i < maxfilelen; i++) in main()
1193 good_buf = (char *) malloc(maxfilelen); in main()
1194 memset(good_buf, '\0', maxfilelen); in main()
1200 written = write(fd, good_buf, (size_t)maxfilelen); in main()
1201 if (written != maxfilelen) { in main()
1207 (unsigned)written, maxfilelen); in main()