Lines Matching defs:filesize
60 int aiodio_sparse(int fd, int align, int writesize, int filesize, int num_aio)
69 if ((num_aio * writesize) > filesize)
70 num_aio = filesize / writesize;
116 while (offset < filesize) {
122 "aiodio_sparse: offset %p filesize %d inflight %d",
123 &offset, filesize, aio_inflight);
199 fprintf(stderr, "usage: dio_sparse [-n children] [-s filesize]"
212 int filesize = 100 * 1024 * 1024;
238 filesize = strtol(optarg, &endp, 0);
239 filesize =
240 (int)scale_by_kmg((long long)filesize, *endp);
259 dirty_freeblocks(filesize);
263 SAFE_FTRUNCATE(cleanup, fd, filesize);
271 read_sparse(filename, filesize);
284 ret = aiodio_sparse(fd, alignment, writesize, filesize, num_aio);