/freebsd/contrib/netbsd-tests/bin/df/ |
H A D | getmntinfo.c | 94 #define BSIZE 512 in setup_filer() macro 97 .f_bsize = BSIZE, in setup_filer() 98 .f_frsize = BSIZE, in setup_filer() 99 .f_blocks = TOTAL / BSIZE, in setup_filer() 100 .f_bfree = (TOTAL - USED) / BSIZE, in setup_filer() 101 .f_bavail = (TOTAL - USED) / BSIZE, in setup_filer() 107 #undef BSIZE in setup_filer() 125 #define BSIZE 4096 /* Guess */ in setup_ld0g() macro 129 .f_bsize = BSIZE, in setup_ld0g() 130 .f_frsize = BSIZE, in setup_ld0g() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | truncate8.sh | 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) 177 fprintf(stderr, "n = %d, target = %d\n", n, (int)(FSIZE - pos) / BSIZE);
|
H A D | cluster.sh | 101 ln = rnd() % BSIZE + 1; 139 ln = rnd() % BSIZE + 1; 252 buf = malloc(BSIZE);
|
/freebsd/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; in __delpair() 189 copyto = (u_int16_t)hashp->BSIZE; in __split_page() 190 off = (u_int16_t)hashp->BSIZE; in __split_page() 335 scopyto = hashp->BSIZE; in ugly_split() 343 off = hashp->BSIZE; in ugly_split() 521 size = hashp->BSIZE; in __get_page() 548 max = hashp->BSIZE >> 2; /* divide by 4 */ in __get_page() 575 size = hashp->BSIZE; in __put_page() [all …]
|
H A D | hash.c | 168 (hashp->BSIZE << BYTE_SHIFT) - 1) >> in __hash_open() 205 "BUCKET SIZE ", hashp->BSIZE, in __hash_open() 275 hashp->BSIZE = DEF_BUCKET_SIZE; in init_hash() 289 hashp->BSIZE = statbuf.st_blksize; in init_hash() 290 if (hashp->BSIZE > MAX_BSIZE) in init_hash() 291 hashp->BSIZE = MAX_BSIZE; in init_hash() 292 hashp->BSHIFT = __log2(hashp->BSIZE); in init_hash() 299 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 300 if (hashp->BSIZE > MAX_BSIZE) { in init_hash() 582 off = hashp->BSIZE; in hash_access() [all …]
|
H A D | hash_bigkey.c | 249 FREESPACE(bp) = hashp->BSIZE - PAGE_META(n); in __big_delete() 250 OFFSET(bp) = hashp->BSIZE; in __big_delete() 282 for (bytes = hashp->BSIZE - bp[ndx]; in __find_bigpair() 284 bytes = hashp->BSIZE - bp[ndx]) { in __find_bigpair() 451 mylen = hashp->BSIZE - bp[1]; in collect_data() 517 mylen = hashp->BSIZE - bp[1]; in collect_key()
|
H A D | hash_buf.c | 191 if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) { in newbuf() 299 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT; in __buf_init() 334 (void)memset(bp->page, 0, hashp->BSIZE); in __buf_free()
|
H A D | hash.h | 270 #define BSIZE hdr.bsize macro
|
/freebsd/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/usr.bin/tee/ |
H A D | tee.c | 65 #define BSIZE (8 * 1024) in main() macro 83 if ((buf = malloc(BSIZE)) == NULL) in main() 101 while ((rval = read(STDIN_FILENO, buf, BSIZE)) > 0) in main()
|
/freebsd/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; in get_line() 316 if (!(curline = (char *) malloc(BSIZE))) in get_line() 318 endblock = curline + BSIZE; in get_line()
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | file_trunc.c | 45 #define BSIZE 512 macro 49 static size_t bsize = BSIZE;
|
/freebsd/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/usr.sbin/bluetooth/sdpcontrol/ |
H A D | search.c | 59 #define BSIZE 256 /* one attribute buffer size */ 60 static uint8_t buffer[NRECS * attrs_len][BSIZE]; 630 values[n].vlen = BSIZE; in do_sdp_search() 58 #define BSIZE global() macro
|
/freebsd/lib/libc/gen/ |
H A D | getcap.c | 51 #define BSIZE 1024 macro 647 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE]; in cgetnext()
|
/freebsd/crypto/openssl/apps/ |
H A D | enc.c | 29 #undef BSIZE 31 #define BSIZE (8*1024) macro 130 int bsize = BSIZE, verbose = 0, debug = 0, olb64 = 0, nosalt = 0; in enc_main()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | getcap.c | 56 #define BSIZE 1024 727 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | apps.c | 1460 #undef BSIZE in IMPLEMENT_LHASH_HASH_FN() 1461 #define BSIZE 256 in IMPLEMENT_LHASH_HASH_FN() macro 1520 char buf[1][BSIZE]; in save_serial() 1530 if (j >= BSIZE) { in save_serial() 1536 OPENSSL_strlcpy(buf[0], serialfile, BSIZE); in save_serial() 1571 char buf[2][BSIZE]; in rotate_serial() 1578 if (j + 1 >= BSIZE) { in rotate_serial() 1642 char buf[BSIZE]; in load_index() 1733 char buf[3][BSIZE]; in save_index() 1738 if (j + 6 >= BSIZE) { in save_index() [all …]
|
/freebsd/sys/crypto/des/ |
H A D | des_locl.h | 66 #define BSIZE (MAXWRITE+4) macro
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | read_termcap.c | 138 #define BSIZE 1024 macro
|