/freebsd-current/contrib/netbsd-tests/bin/df/ |
H A D | getmntinfo.c | 94 #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 D | sendfile_test.sh | 42 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 D | truncate8.sh | 124 #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 D | cluster.sh | 67 #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 D | tee.c | 65 #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 D | hash_page.c | 82 ((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 D | hash.c | 168 (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 D | hash_buf.c | 191 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 D | hash_bigkey.c | 249 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 D | hash.h | 270 #define BSIZE hdr.bsize macro
|
/freebsd-current/usr.bin/rs/ |
H A D | rs.cc | 291 #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 D | file_trunc.c | 49 #define BSIZE 512 macro 53 static size_t bsize = BSIZE;
|
/freebsd-current/tests/sys/cddl/zfs/bin/ |
H A D | file_trunc.c | 45 #define BSIZE 512 macro 49 static size_t bsize = BSIZE;
|
/freebsd-current/usr.sbin/bluetooth/sdpcontrol/ |
H A D | search.c | 59 #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 D | getcap.c | 56 #define BSIZE 1024 727 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
|
/freebsd-current/crypto/openssl/apps/ |
H A D | enc.c | 29 #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 D | apps.c | 1460 #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 D | getcap.c | 51 #define BSIZE 1024 macro 647 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
|
/freebsd-current/sys/crypto/des/ |
H A D | des_locl.h | 66 #define BSIZE (MAXWRITE+4) macro
|
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | read_termcap.c | 138 #define BSIZE 1024 macro
|