Lines Matching refs:maxfilelen
110 unsigned long maxfilelen = 256 * 1024; /* -l flag */
1002 dotruncate(random() % maxfilelen);
1011 offset %= maxfilelen;
1012 if (offset + size > maxfilelen)
1013 size = maxfilelen - offset;
1153 maxfilelen = getnum(optarg, &endp);
1154 if (maxfilelen <= 0)
1292 file_size = maxfilelen = lseek(fd, (off_t) 0, SEEK_END);
1305 original_buf = malloc(maxfilelen);
1308 for (i = 0; i < maxfilelen; i++)
1311 good_buf = malloc(maxfilelen);
1314 memset(good_buf, '\0', maxfilelen);
1325 written = write(fd, good_buf, (size_t) maxfilelen);
1326 if (written != maxfilelen) {
1333 (unsigned)written, maxfilelen);