Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/cachestat/
H A Dtest_cachestat.c36 bool write_exactly(int fd, size_t filesize) in write_exactly() argument
49 data = malloc(filesize); in write_exactly()
56 remained = filesize; in write_exactly()
73 remained = filesize; in write_exactly()
123 int filesize = num_pages * PS; in test_cachestat() local
127 struct cachestat_range cs_range = { 0, filesize }; in test_cachestat()
140 if (!write_exactly(fd, filesize)) { in test_cachestat()
208 size_t filesize = PS * 512 * 2; /* 2 2MB huge pages */ in test_cachestat_shmem() local
224 if (ftruncate(fd, filesize)) { in test_cachestat_shmem()
230 if (!write_exactly(fd, filesize)) { in test_cachestat_shmem()
/linux/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c192 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()
/linux/tools/hv/
H A Dhv_fcopy_daemon.c
H A Dhv_fcopy_uio_daemon.c56 static unsigned long long filesize; variable
63 filesize = 0; in hv_fcopy_create_file()
124 filesize += cpmsg->size; in hv_copy_data()
135 filesize, (long)len, strerror(errno)); in hv_copy_data()
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh74 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"
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-fw.c192 u32 tmp, filesize, version, err_flags, first_timeout, fwlength; in saa7164_downloadfirmware() local
436 filesize = hdr->reserved * 16; in saa7164_downloadfirmware()
438 filesize = (hdr->firmwaresize + hdr->bslsize) * in saa7164_downloadfirmware()
442 __func__, filesize); in saa7164_downloadfirmware()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh34 filesize=0
114 filesize="$OPTARG"
573 local SIZE=$filesize
/linux/Documentation/filesystems/
H A Dqnx6.rst100 The filesize is stored 64bit. Inode counting starts with 1. (while long