• Home
  • Raw
  • Download

Lines Matching full:filesize

79 static uint64_t get_random_offset(randdata_t * rd, uint64_t filesize,  in get_random_offset()  argument
83 return getllrandom(rd, filesize); in get_random_offset()
85 filesize /= 4096; in get_random_offset()
86 return getllrandom(rd, filesize) * 4096; in get_random_offset()
95 uint64_t filesize; in ffsb_readfile() local
110 filesize = ffsb_get_filesize(curfile->name); in ffsb_readfile()
112 assert(filesize >= read_size); in ffsb_readfile()
116 uint64_t range = filesize - read_size; in ffsb_readfile()
136 if (minfilesize > filesize) { in ffsb_readfile()
141 read_skipsize, read_blocksize, filesize); in ffsb_readfile()
169 uint64_t range = filesize - read_blocksize; in ffsb_readfile()
197 uint64_t filesize; in ffsb_readall() local
208 filesize = ffsb_get_filesize(curfile->name); in ffsb_readall()
209 iterations = readfile_helper(fd, filesize, read_blocksize, buf, ft, fs); in ffsb_readall()
214 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_readall()
215 ft_add_readbytes(ft, filesize); in ffsb_readall()
228 uint64_t filesize; in ffsb_writefile_core() local
240 filesize = ffsb_get_filesize(curfile->name); in ffsb_writefile_core()
242 assert(filesize >= write_size); in ffsb_writefile_core()
246 uint64_t range = filesize - write_size; in ffsb_writefile_core()
257 uint64_t range = filesize - write_blocksize; in ffsb_writefile_core()
278 *filesize_ret = filesize; in ffsb_writefile_core()
285 uint64_t filesize; in ffsb_writefile() local
287 iterations = ffsb_writefile_core(ft, fs, opnum, &filesize, 0); in ffsb_writefile()
288 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_writefile()
289 ft_add_writebytes(ft, filesize); in ffsb_writefile()
295 uint64_t filesize; in ffsb_writefile_fsync() local
297 iterations = ffsb_writefile_core(ft, fs, opnum, &filesize, 1); in ffsb_writefile_fsync()
298 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_writefile_fsync()
299 ft_add_writebytes(ft, filesize); in ffsb_writefile_fsync()
311 uint64_t filesize; in ffsb_writeall_core() local
322 filesize = ffsb_get_filesize(curfile->name); in ffsb_writeall_core()
323 iterations = writefile_helper(fd, filesize, write_blocksize, buf, in ffsb_writeall_core()
334 *filesize_ret = filesize; in ffsb_writeall_core()
344 uint64_t filesize; in ffsb_writeall() local
346 iterations = ffsb_writeall_core(ft, fs, opnum, &filesize, 0); in ffsb_writeall()
347 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_writeall()
348 ft_add_writebytes(ft, filesize); in ffsb_writeall()
354 uint64_t filesize; in ffsb_writeall_fsync() local
356 iterations = ffsb_writeall_core(ft, fs, opnum, &filesize, 1); in ffsb_writeall_fsync()
357 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_writeall_fsync()
358 ft_add_writebytes(ft, filesize); in ffsb_writeall_fsync()
400 uint64_t filesize; in ffsb_appendfile() local
402 iterations = ffsb_appendfile_core(ft, fs, opnum, &filesize, 0); in ffsb_appendfile()
403 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_appendfile()
404 ft_add_writebytes(ft, filesize); in ffsb_appendfile()
410 uint64_t filesize; in ffsb_appendfile_fsync() local
412 iterations = ffsb_appendfile_core(ft, fs, opnum, &filesize, 1); in ffsb_appendfile_fsync()
413 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_appendfile_fsync()
414 ft_add_writebytes(ft, filesize); in ffsb_appendfile_fsync()
469 uint64_t filesize; in ffsb_createfile() local
471 iterations = ffsb_createfile_core(ft, fs, opnum, &filesize, 0); in ffsb_createfile()
472 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_createfile()
473 ft_add_writebytes(ft, filesize); in ffsb_createfile()
479 uint64_t filesize; in ffsb_createfile_fsync() local
481 iterations = ffsb_createfile_core(ft, fs, opnum, &filesize, 1); in ffsb_createfile_fsync()
482 ft_incr_op(ft, opnum, iterations, filesize); in ffsb_createfile_fsync()
483 ft_add_writebytes(ft, filesize); in ffsb_createfile_fsync()