Searched refs:BSIZE (Results 1 - 20 of 20) sorted by relevance

/freebsd-current/contrib/netbsd-tests/bin/df/
H A Dgetmntinfo.c94 #define BSIZE 512 macro
97 .f_bsize = BSIZE,
98 .f_frsize = BSIZE,
99 .f_blocks = TOTAL / BSIZE,
100 .f_bfree = (TOTAL - USED) / BSIZE,
101 .f_bavail = (TOTAL - USED) / BSIZE,
107 #undef BSIZE macro
125 #define BSIZE 4096 /* Guess */ macro
129 .f_bsize = BSIZE,
130 .f_frsize = BSIZE,
140 #undef BSIZE macro
157 #define BSIZE macro
172 #undef BSIZE macro
186 #define BSIZE macro
201 #undef BSIZE macro
[all...]
/freebsd-current/tests/sys/kern/
H A Dsendfile_test.sh42 BSIZE=4096
84 atf_check -s exit:3 -e ignore $HELPER $FILE $((12 * $BSIZE)) $BSIZE 0x10000
108 atf_check -s exit:2 -e ignore $HELPER $FILE 0 $BSIZE 0x10000
162 atf_check -o ignore -e ignore newfs -b $BSIZE -U -j /dev/${us}
/freebsd-current/tools/test/stress2/misc/
H A Dtruncate8.sh124 #define BSIZE 5120
143 buf = malloc(BSIZE);
150 for (i = 0; i < FSIZE / BSIZE; i++)
151 if (write(fd, buf, BSIZE) != BSIZE)
156 pos = lrand48() % (FSIZE - BSIZE);
166 while ((r = read(fd, buf, BSIZE)) == BSIZE) {
168 for (i = 0; i < BSIZE; i++) {
176 if (n != (FSIZE - pos) / BSIZE)
[all...]
H A Dcluster.sh67 #define BSIZE (8 * 1024 * 1024)
101 ln = rnd() % BSIZE + 1;
139 ln = rnd() % BSIZE + 1;
252 buf = malloc(BSIZE);
/freebsd-current/usr.bin/tee/
H A Dtee.c65 #define BSIZE (8 * 1024) macro
83 if ((buf = malloc(BSIZE)) == NULL)
101 while ((rval = read(STDIN_FILENO, buf, BSIZE)) > 0)
/freebsd-current/lib/libc/db/hash/
H A Dhash_page.c82 ((u_int16_t *)(P))[1] = hashp->BSIZE - 3 * sizeof(u_int16_t); \
83 ((u_int16_t *)(P))[2] = hashp->BSIZE; \
135 newoff = hashp->BSIZE;
189 copyto = (u_int16_t)hashp->BSIZE;
190 off = (u_int16_t)hashp->BSIZE;
335 scopyto = hashp->BSIZE;
343 off = hashp->BSIZE;
521 size = hashp->BSIZE;
548 max = hashp->BSIZE >> 2; /* divide by 4 */
575 size = hashp->BSIZE;
[all...]
H A Dhash.c168 (hashp->BSIZE << BYTE_SHIFT) - 1) >>
205 "BUCKET SIZE ", hashp->BSIZE,
275 hashp->BSIZE = DEF_BUCKET_SIZE;
289 hashp->BSIZE = statbuf.st_blksize;
290 if (hashp->BSIZE > MAX_BSIZE)
291 hashp->BSIZE = MAX_BSIZE;
292 hashp->BSHIFT = __log2(hashp->BSIZE);
299 hashp->BSIZE = 1 << hashp->BSHIFT;
300 if (hashp->BSIZE > MAX_BSIZE) {
582 off = hashp->BSIZE;
[all...]
H A Dhash_buf.c191 if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) {
299 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT;
334 (void)memset(bp->page, 0, hashp->BSIZE);
H A Dhash_bigkey.c249 FREESPACE(bp) = hashp->BSIZE - PAGE_META(n);
250 OFFSET(bp) = hashp->BSIZE;
282 for (bytes = hashp->BSIZE - bp[ndx];
284 bytes = hashp->BSIZE - bp[ndx]) {
451 mylen = hashp->BSIZE - bp[1];
517 mylen = hashp->BSIZE - bp[1];
H A Dhash.h270 #define BSIZE hdr.bsize macro
/freebsd-current/usr.bin/rs/
H A Drs.cc291 #define BSIZE (LINE_MAX * 2) macro
292 static char ibuf[BSIZE];
298 static char *endblock = ibuf + BSIZE;
316 if (!(curline = (char *) malloc(BSIZE)))
318 endblock = curline + BSIZE;
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_trunc.c49 #define BSIZE 512 macro
53 static size_t bsize = BSIZE;
/freebsd-current/tests/sys/cddl/zfs/bin/
H A Dfile_trunc.c45 #define BSIZE 512 macro
49 static size_t bsize = BSIZE;
/freebsd-current/usr.sbin/bluetooth/sdpcontrol/
H A Dsearch.c59 #define BSIZE 256 /* one attribute buffer size */ macro
60 static uint8_t buffer[NRECS * attrs_len][BSIZE];
630 values[n].vlen = BSIZE;
/freebsd-current/crypto/heimdal/lib/roken/
H A Dgetcap.c56 #define BSIZE 1024
727 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
/freebsd-current/crypto/openssl/apps/
H A Denc.c29 #undef BSIZE macro
31 #define BSIZE (8*1024) macro
130 int bsize = BSIZE, verbose = 0, debug = 0, olb64 = 0, nosalt = 0;
/freebsd-current/crypto/openssl/apps/lib/
H A Dapps.c1460 #undef BSIZE macro
1461 #define BSIZE 256 macro
1520 char buf[1][BSIZE];
1530 if (j >= BSIZE) {
1536 OPENSSL_strlcpy(buf[0], serialfile, BSIZE);
1571 char buf[2][BSIZE];
1578 if (j + 1 >= BSIZE) {
1642 char buf[BSIZE];
1733 char buf[3][BSIZE];
1738 if (j + 6 >= BSIZE) {
[all...]
/freebsd-current/lib/libc/gen/
H A Dgetcap.c51 #define BSIZE 1024 macro
647 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
/freebsd-current/sys/crypto/des/
H A Ddes_locl.h66 #define BSIZE (MAXWRITE+4) macro
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c138 #define BSIZE 1024 macro

Completed in 896 milliseconds