Lines Matching refs:grow_incr
109 int growfile(int fd, char *file, int grow_incr, char *buf,
357 int grow_incr = 4096; in main() local
529 if ((ret = sscanf(optarg, "%i%c", &grow_incr, &chr)) < 1 in main()
530 || grow_incr < 0) { in main()
540 grow_incr *= 4096; in main()
976 grow_incr = max_size; in main()
1082 Progname, Pid, grow_incr); in main()
1306 if (grow_incr) { in main()
1307 if ((Buffer = malloc(grow_incr + Alignment)) == NULL) { in main()
1311 grow_incr, strerror(errno)); in main()
1338 total_grow_value = grow_incr * iterations; in main()
1494 if (curr_size + grow_incr >= fs_limit) { in main()
1504 if (growfile(fd, filename, grow_incr, Buffer, &curr_size) != 0) { /* BUG:14136 */ in main()
1949 int /* BUG:14136 */ growfile(int fd, char *file, int grow_incr, char *buf, in growfile() argument
1987 if (grow_incr <= 0) { /* don't attempt i/o if grow_incr <= 0 */ in growfile()
1989 Grow_incr = grow_incr; in growfile()
1993 Progname, Pid, __FILE__, __LINE__, grow_incr); in growfile()
1994 return grow_incr; in growfile()
1998 grow_incr = in growfile()
2007 Grow_incr = grow_incr; in growfile()
2009 Grow_incr = grow_incr; in growfile()
2028 Progname, Pid, __FILE__, __LINE__, grow_incr - 1); in growfile()
2031 if ((noffset = lseek(fd, grow_incr - 1, SEEK_END)) == -1) { in growfile()
2035 grow_incr - 1, strerror(errno)); in growfile()
2109 random_range(min_lseek, fsize + grow_incr, in growfile()
2122 if (fsize <= min_lseek + grow_incr) in growfile()
2127 fsize - grow_incr, 1, in growfile()
2167 datapidgen(STATIC_NUM, buf, grow_incr, Woffset); in growfile()
2169 datapidgen(Pid, buf, grow_incr, Woffset); in growfile()
2171 dataasciigen(NULL, buf, grow_incr, Woffset); in growfile()
2173 databingen('r', buf, grow_incr, Woffset); in growfile()
2175 databingen('a', buf, grow_incr, Woffset); in growfile()
2177 databingen('c', buf, grow_incr, Woffset); in growfile()
2179 databingen('C', buf, grow_incr, Woffset); in growfile()
2181 databingen('z', buf, grow_incr, Woffset); in growfile()
2183 databingen('o', buf, grow_incr, Woffset); in growfile()
2185 dataasciigen(NULL, buf, grow_incr, Woffset); in growfile()
2190 Progname, Pid, __FILE__, __LINE__, grow_incr); in growfile()
2209 ret = lio_write_buffer(fd, io_type, buf, grow_incr, in growfile()
2212 ret = write_buffer(fd, io_type, buf, grow_incr, 0, &errmsg); in growfile()
2219 off_tmp = Woffset + grow_incr; in growfile()
2238 if (off_tmp != Woffset + grow_incr) { in growfile()
2248 grow_incr); in growfile()
2250 off_tmp = Woffset + grow_incr; in growfile()
2260 if (ret != grow_incr) { in growfile()
2275 if (off_tmp != Woffset + grow_incr) { in growfile()
2290 grow_incr, (long)(Woffset + grow_incr)); in growfile()
2296 Iter_cnt, (long)(off_tmp - grow_incr)); in growfile()
2303 (long)off_tmp, grow_incr, (long)Woffset); in growfile()
2305 Woffset = off_tmp - grow_incr; in growfile()