Searched refs:FSIZE (Results 1 – 15 of 15) sorted by relevance
| /src/tests/sys/kern/ |
| H A D | ssl_sendfile.c | 45 #define FSIZE (size_t)(2 * 1024 * 1024) macro 124 ATF_REQUIRE(ftruncate(c->fd, FSIZE) == 0); in common_init() 125 ATF_REQUIRE((c->mfd = mmap(NULL, FSIZE, PROT_READ | PROT_WRITE, in common_init() 127 arc4random_buf(c->mfd, FSIZE); in common_init() 308 while (nread < FSIZE && (n = SSL_read_b(c.cln, buf, sizeof(buf))) > 0) { in ATF_TC_BODY() 312 ATF_REQUIRE(nread == FSIZE); in ATF_TC_BODY() 313 require_sbytes(&c, FSIZE); in ATF_TC_BODY() 331 offset = arc4random() % FSIZE; in ATF_TC_BODY() 334 expect = offset + size < FSIZE ? size : FSIZE - offset; in ATF_TC_BODY() 357 #define TRUNC (FSIZE - 1024) in ATF_TC_BODY() [all …]
|
| /src/tests/sys/cddl/zfs/tests/txg_integrity/ |
| H A D | txg_integrity.c | 82 #define FSIZE (512 * (CLUSTERSIZE)) //FSIZE may range from NUM_CHUNKS clusters to 8GB macro 110 *begin = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk - 1] >> 31); in get_chunk_range() 112 *end = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk] >> 31); in get_chunk_range() 507 if ( ftruncate(outfd, FSIZE)){ in main() 513 for(ofs=0; ofs < FSIZE; ofs+=CLUSTERSIZE){ in main() 528 p_file = mmap(0, FSIZE, PROT_READ | PROT_WRITE, MAP_SHARED, outfd, 0); in main() 585 if (munmap(p_file, FSIZE)){ in main()
|
| H A D | fsync_integrity.c | 90 #define FSIZE (64 * (CLUSTERSIZE)) //FSIZE may range from NUM_CHUNKS clusters to 8GB macro 120 *begin = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk - 1] >> 31); in get_chunk_range() 122 *end = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk] >> 31); in get_chunk_range() 442 if ( ftruncate(outfd, FSIZE)){ in main() 448 for(ofs=0; ofs < FSIZE; ofs+=CLUSTERSIZE){ in main()
|
| /src/tools/test/stress2/misc/ |
| H A D | truncate8.sh | 150 for (i = 0; i < FSIZE / BSIZE; i++) 156 pos = lrand48() % (FSIZE - BSIZE); 161 if (ftruncate(fd, FSIZE) == -1) 176 if (n != (FSIZE - pos) / BSIZE) 177 fprintf(stderr, "n = %d, target = %d\n", n, (int)(FSIZE - pos) / BSIZE);
|
| H A D | msdos18.sh | 93 char buf[FSIZE]; 131 if ((n = read(msgsock, buf, FSIZE)) < 0) 149 ftruncate(fd, FSIZE / 2); 150 ftruncate(fd, FSIZE); 209 if (sendfile(fd, tcpsock, 0, FSIZE, NULL, &off, 0) == -1)
|
| /src/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | truncate_test.c | 26 #define FSIZE 256*1024*1024 macro 28 static long fsize = FSIZE;
|
| /src/tests/sys/cddl/zfs/bin/ |
| H A D | file_trunc.c | 44 #define FSIZE 256*1024*1024 macro 48 static long fsize = FSIZE;
|
| /src/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
| H A D | file_trunc.c | 49 #define FSIZE 256*1024*1024 macro 53 static long fsize = FSIZE;
|
| /src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
| H A D | auto_online_002_pos.ksh | 66 log_must mkfile ${FSIZE} /${TESTPOOL}/data
|
| H A D | auto_online_001_pos.ksh | 105 log_must mkfile $FSIZE /$TESTPOOL/data
|
| H A D | fault.cfg | 32 export FSIZE=10M
|
| /src/contrib/elftoolchain/libelf/ |
| H A D | libelf_fsize.m4 | 123 define(`FSIZE', macro 128 `FSIZE($1)
|
| /src/crypto/heimdal/appl/rsh/ |
| H A D | limits_conf.c | 55 LIM(FSIZE, 1024),
|
| /src/crypto/heimdal/appl/login/ |
| H A D | limits_conf.c | 55 LIM(FSIZE, 1024),
|
| /src/share/doc/psd/05.sysman/ |
| H A D | spell.ok | 15 FSIZE
|