Home
last modified time | relevance | path

Searched refs:FSIZE (Results 1 – 15 of 15) sorted by relevance

/src/tests/sys/kern/
H A Dssl_sendfile.c45 #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 Dtxg_integrity.c82 #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 Dfsync_integrity.c90 #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 Dtruncate8.sh150 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 Dmsdos18.sh93 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 Dtruncate_test.c26 #define FSIZE 256*1024*1024 macro
28 static long fsize = FSIZE;
/src/tests/sys/cddl/zfs/bin/
H A Dfile_trunc.c44 #define FSIZE 256*1024*1024 macro
48 static long fsize = FSIZE;
/src/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_trunc.c49 #define FSIZE 256*1024*1024 macro
53 static long fsize = FSIZE;
/src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_online_002_pos.ksh66 log_must mkfile ${FSIZE} /${TESTPOOL}/data
H A Dauto_online_001_pos.ksh105 log_must mkfile $FSIZE /$TESTPOOL/data
H A Dfault.cfg32 export FSIZE=10M
/src/contrib/elftoolchain/libelf/
H A Dlibelf_fsize.m4123 define(`FSIZE', macro
128 `FSIZE($1)
/src/crypto/heimdal/appl/rsh/
H A Dlimits_conf.c55 LIM(FSIZE, 1024),
/src/crypto/heimdal/appl/login/
H A Dlimits_conf.c55 LIM(FSIZE, 1024),
/src/share/doc/psd/05.sysman/
H A Dspell.ok15 FSIZE