Home
last modified time | relevance | path

Searched refs:filesize (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c41 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 …]
/linux/tools/hv/
H A Dhv_fcopy_daemon.c
H A Dhv_fcopy_uio_daemon.c112 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()
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh75 filesize=$((2 * 1024 * 1024))
76 filesize_small=$((filesize / 16))
95 filesize=$OPTARG
495 make_file "$nsin" "$filesize"
853 filesize=$(((RANDOM * RANDOM) % MAXSIZE))
854 if [ "$filesize" -lt "$MINSIZE" ]; then
855 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...]
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh34 filesize=0
114 filesize="$OPTARG"
564 local SIZE=$filesize
/linux/Documentation/filesystems/
H A Dqnx6.rst100 The filesize is stored 64bit. Inode counting starts with 1. (while long