| /linux-6.15/tools/testing/selftests/cachestat/ |
| H A D | test_cachestat.c | 36 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.15/init/ |
| H A D | initramfs_test.c | 19 unsigned int filesize; member 45 c->mtime, c->filesize, c->devmajor, c->devminor, in fill_cpio() 53 memcpy(&out[off], c->data, c->filesize); in fill_cpio() 54 off += c->filesize; in fill_cpio() 76 .filesize = 0, in initramfs_test_extract() 157 .filesize = 0, in initramfs_test_fname_overrun() 204 .filesize = sizeof("ASDF") - 1, in initramfs_test_data() 232 KUNIT_EXPECT_EQ(test, len, c[0].filesize); in initramfs_test_data() 251 .filesize = sizeof("ASDF") - 1, in initramfs_test_csum() 263 .filesize = sizeof("ASDF") - 1, in initramfs_test_csum() [all …]
|
| /linux-6.15/tools/testing/selftests/powerpc/mm/ |
| H 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()
|
| /linux-6.15/tools/testing/selftests/net/netfilter/ |
| H 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"
|
| /linux-6.15/tools/hv/ |
| H A D | hv_fcopy_uio_daemon.c | 56 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-6.15/drivers/media/pci/saa7164/ |
| H A D | saa7164-fw.c | 192 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.15/drivers/gpu/drm/msm/registers/ |
| H A D | gen_header.py | 883 filesize = str(os.path.getsize(filepath)) 884 filesize = " " * (7 - len(filesize)) + filesize 886 print("- " + filepath + pad + " (" + filesize + " bytes, from " + filetime + ")")
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_connect.sh | 34 filesize=0 114 filesize="$OPTARG" 568 local SIZE=$filesize
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | qnx6.rst | 100 The filesize is stored 64bit. Inode counting starts with 1. (while long
|
| /linux-6.15/fs/nfsd/ |
| H A D | nfs4xdr.c | 4256 nfsd4_encode_nfs_space_limit4(struct xdr_stream *xdr, u64 filesize) in nfsd4_encode_nfs_space_limit4() argument 4262 return nfsd4_encode_uint64_t(xdr, filesize); in nfsd4_encode_nfs_space_limit4()
|