Lines Matching defs:filesize
58 int dio_sparse(int fd, int align, int writesize, int filesize, int offset)
71 for (i = offset; i < filesize;) {
85 fprintf(stderr, "usage: dio_sparse [-d] [-n children] [-s filesize]"
98 int filesize = 100 * 1024 * 1024;
119 filesize = strtol(optarg, &endp, 0);
120 filesize = scale_by_kmg(filesize, *endp);
143 dirty_freeblocks(filesize);
147 SAFE_FTRUNCATE(cleanup, fd, filesize);
155 read_sparse(filename, filesize);
168 ret = dio_sparse(fd, alignment, writesize, filesize, offset);