Searched refs:filesize (Results 1 – 5 of 5) sorted by relevance
| /tools/testing/selftests/cachestat/ |
| A D | test_cachestat.c | 41 bool write_exactly(int fd, size_t filesize) in write_exactly() argument 54 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() local 132 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() local 246 if (ftruncate(fd, filesize)) { in run_cachestat_test() 253 if (!write_exactly(fd, filesize)) { in run_cachestat_test() [all …]
|
| /tools/testing/selftests/powerpc/mm/ |
| A D | subpage_prot.c | 192 off_t filesize; in test_file() local 204 filesize = lseek(fd, 0, SEEK_END); in test_file() 205 if (filesize & 0xffff) in test_file() 206 filesize &= ~0xfffful; in test_file() 208 fileblock = mmap(NULL, filesize, PROT_READ | PROT_WRITE, in test_file() 215 file_name, (long long)filesize, fileblock); in test_file() 219 return run_test(fileblock, filesize); in test_file()
|
| /tools/testing/selftests/net/netfilter/ |
| A D | nft_flowtable.sh | 74 filesize=$((2 * 1024 * 1024)) 92 s) filesize=$OPTARG;; 453 make_file "$nsin" "$filesize" 665 filesize=$(((RANDOM * RANDOM) % MAXSIZE)) 666 if [ "$filesize" -lt "$MINSIZE" ]; then 667 filesize=$((filesize+MINSIZE)) 670 echo "re-run with random mtus and file size: -o $o -l $l -r $r -s $filesize" 671 $0 -o "$o" -l "$l" -r "$r" -s "$filesize"
|
| /tools/hv/ |
| A D | hv_fcopy_uio_daemon.c | 112 static unsigned long long filesize; variable 119 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()
|
| /tools/testing/selftests/net/mptcp/ |
| A D | mptcp_connect.sh | 34 filesize=0 114 filesize="$OPTARG" 568 local SIZE=$filesize
|
Completed in 10 milliseconds