Home
last modified time | relevance | path

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

/freebsd/contrib/netbsd-tests/bin/df/
H A Dgetmntinfo.c94 #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 Dtruncate8.sh143 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 Dcluster.sh101 ln = rnd() % BSIZE + 1;
139 ln = rnd() % BSIZE + 1;
252 buf = malloc(BSIZE);
/freebsd/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; 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 Dhash.c168 (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 Dhash_bigkey.c249 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 Dhash_buf.c191 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 Dhash.h270 #define BSIZE hdr.bsize macro
/freebsd/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/usr.bin/tee/
H A Dtee.c65 #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 Drs.cc291 #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 Dfile_trunc.c45 #define BSIZE 512 macro
49 static size_t bsize = BSIZE;
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_trunc.c49 #define BSIZE 512 macro
53 static size_t bsize = BSIZE;
/freebsd/usr.sbin/bluetooth/sdpcontrol/
H A Dsearch.c59 #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 Dgetcap.c51 #define BSIZE 1024 macro
647 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE]; in cgetnext()
/freebsd/crypto/openssl/apps/
H A Denc.c29 #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 Dgetcap.c56 #define BSIZE 1024
727 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
/freebsd/crypto/openssl/apps/lib/
H A Dapps.c1460 #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 Ddes_locl.h66 #define BSIZE (MAXWRITE+4) macro
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c138 #define BSIZE 1024 macro