Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/cachestat/
Dtest_cachestat.c35 bool write_exactly(int fd, size_t filesize) in write_exactly() argument
48 data = malloc(filesize); in write_exactly()
55 remained = filesize; in write_exactly()
72 remained = filesize; in write_exactly()
122 int filesize = num_pages * PS; in test_cachestat() local
126 struct cachestat_range cs_range = { 0, filesize }; in test_cachestat()
139 if (!write_exactly(fd, filesize)) { in test_cachestat()
207 size_t filesize = PS * 512 * 2; /* 2 2MB huge pages */ in test_cachestat_shmem() local
223 if (ftruncate(fd, filesize)) { in test_cachestat_shmem()
229 if (!write_exactly(fd, filesize)) { in test_cachestat_shmem()
/Linux-v6.6/tools/testing/selftests/powerpc/mm/
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, filesize, fileblock); in test_file()
219 return run_test(fileblock, filesize); in test_file()
/Linux-v6.6/tools/hv/
Dhv_fcopy_daemon.c26 static unsigned long long filesize; variable
33 filesize = 0; in hv_start_fcopy()
96 filesize += cpmsg->size; in hv_copy_data()
107 filesize, (long)bytes_written, strerror(errno)); in hv_copy_data()
/Linux-v6.6/drivers/media/pci/saa7164/
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-v6.6/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh30 filesize=0
109 filesize="$OPTARG"
602 local SIZE=$filesize
/Linux-v6.6/Documentation/filesystems/
Dqnx6.rst100 The filesize is stored 64bit. Inode counting starts with 1. (while long