Searched refs:filesize (Results 1 – 6 of 6) sorted by relevance
41 bool write_exactly(int fd, size_t filesize) in write_exactly() argument54 data = malloc(filesize); in write_exactly()61 remained = filesize; in write_exactly()78 remained = filesize; in write_exactly()128 int filesize = num_pages * PS; in test_cachestat() local132 struct cachestat_range cs_range = { 0, filesize }; in test_cachestat()145 if (!write_exactly(fd, filesize)) { in test_cachestat()225 size_t filesize = PS * 512 * 2; /* 2 2MB huge pages */ in run_cachestat_test() local246 if (ftruncate(fd, filesize)) { in run_cachestat_test()253 if (!write_exactly(fd, filesize)) { in run_cachestat_test()[all …]
112 static unsigned long long filesize; variable119 filesize = 0; in hv_fcopy_create_file()183 filesize += cpmsg->size; in hv_copy_data()194 filesize, (long)len, strerror(errno)); in hv_copy_data()
75 filesize=$((2 * 1024 * 1024))76 filesize_small=$((filesize / 16))95 filesize=$OPTARG495 make_file "$nsin" "$filesize"853 filesize=$(((RANDOM * RANDOM) % MAXSIZE))854 if [ "$filesize" -lt "$MINSIZE" ]; then855 filesize=$((filesize+MINSIZE))858 echo "re-run with random mtus and file size: -o $o -l $l -r $r -s $filesize"859 $0 -o "$o" -l "$l" -r "$r" -s "$filesize" || re[all...]
34 filesize=0114 filesize="$OPTARG"564 local SIZE=$filesize
100 The filesize is stored 64bit. Inode counting starts with 1. (while long