Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/cachestat/
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-6.12.1/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-6.12.1/tools/testing/selftests/net/netfilter/
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-6.12.1/tools/hv/
Dhv_fcopy_uio_daemon.c58 static unsigned long long filesize; variable
65 filesize = 0; in hv_fcopy_create_file()
126 filesize += cpmsg->size; in hv_copy_data()
137 filesize, (long)len, strerror(errno)); in hv_copy_data()
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/msm/registers/
Dgen_header.py883 filesize = str(os.path.getsize(filepath))
884 filesize = " " * (7 - len(filesize)) + filesize
886 print("- " + filepath + pad + " (" + filesize + " bytes, from " + filetime + ")")
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh34 filesize=0
114 filesize="$OPTARG"
573 local SIZE=$filesize
/linux-6.12.1/Documentation/filesystems/
Dqnx6.rst100 The filesize is stored 64bit. Inode counting starts with 1. (while long
/linux-6.12.1/fs/nfsd/
Dnfs4xdr.c4181 nfsd4_encode_nfs_space_limit4(struct xdr_stream *xdr, u64 filesize) in nfsd4_encode_nfs_space_limit4() argument
4187 return nfsd4_encode_uint64_t(xdr, filesize); in nfsd4_encode_nfs_space_limit4()