Home
last modified time | relevance | path

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

/NextBSD/contrib/netbsd-tests/bin/df/
HDgetmntinfo.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 …]
/NextBSD/lib/libc/db/hash/
HDhash_page.c86 ((u_int16_t *)(P))[1] = hashp->BSIZE - 3 * sizeof(u_int16_t); \
87 ((u_int16_t *)(P))[2] = hashp->BSIZE; \
139 newoff = hashp->BSIZE; in __delpair()
193 copyto = (u_int16_t)hashp->BSIZE; in __split_page()
194 off = (u_int16_t)hashp->BSIZE; in __split_page()
339 scopyto = hashp->BSIZE; in ugly_split()
347 off = hashp->BSIZE; in ugly_split()
525 size = hashp->BSIZE; in __get_page()
552 max = hashp->BSIZE >> 2; /* divide by 4 */ in __get_page()
577 size = hashp->BSIZE; in __put_page()
[all …]
HDhash.c173 (hashp->BSIZE << BYTE_SHIFT) - 1) >> in __hash_open()
210 "BUCKET SIZE ", hashp->BSIZE, in __hash_open()
280 hashp->BSIZE = DEF_BUCKET_SIZE; in init_hash()
294 hashp->BSIZE = statbuf.st_blksize; in init_hash()
295 if (hashp->BSIZE > MAX_BSIZE) in init_hash()
296 hashp->BSIZE = MAX_BSIZE; in init_hash()
297 hashp->BSHIFT = __log2(hashp->BSIZE); in init_hash()
304 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash()
305 if (hashp->BSIZE > MAX_BSIZE) { in init_hash()
582 off = hashp->BSIZE; in hash_access()
[all …]
HDhash_bigkey.c253 FREESPACE(bp) = hashp->BSIZE - PAGE_META(n); in __big_delete()
254 OFFSET(bp) = hashp->BSIZE; in __big_delete()
286 for (bytes = hashp->BSIZE - bp[ndx]; in __find_bigpair()
288 bytes = hashp->BSIZE - bp[ndx]) { in __find_bigpair()
455 mylen = hashp->BSIZE - bp[1]; in collect_data()
521 mylen = hashp->BSIZE - bp[1]; in collect_key()
HDhash_buf.c195 if ((bp->page = (char *)calloc(1, hashp->BSIZE)) == NULL) { in newbuf()
303 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT; in __buf_init()
338 (void)memset(bp->page, 0, hashp->BSIZE); in __buf_free()
HDhash.h271 #define BSIZE hdr.bsize macro
/NextBSD/usr.bin/tee/
HDtee.c72 #define BSIZE (8 * 1024) in main() macro
90 if ((buf = malloc(BSIZE)) == NULL) in main()
103 while ((rval = read(STDIN_FILENO, buf, BSIZE)) > 0) in main()
/NextBSD/crypto/openssl/crypto/des/
HDenc_read.c108 tmpbuf = OPENSSL_malloc(BSIZE); in OPENSSL_IMPLEMENT_GLOBAL()
113 net = OPENSSL_malloc(BSIZE); in OPENSSL_IMPLEMENT_GLOBAL()
118 unnet = OPENSSL_malloc(BSIZE); in OPENSSL_IMPLEMENT_GLOBAL()
HDenc_writ.c103 outbuf = OPENSSL_malloc(BSIZE + HDRSIZE); in DES_enc_write()
HDdes_locl.h106 # define BSIZE (MAXWRITE+4) macro
/NextBSD/usr.bin/rs/
HDrs.c332 #define BSIZE (LINE_MAX * 2) macro
333 static char ibuf[BSIZE];
339 static char *endblock = ibuf + BSIZE; in getline()
357 if (!(curline = (char *) malloc(BSIZE))) in getline()
359 endblock = curline + BSIZE; in getline()
/NextBSD/usr.sbin/bluetooth/sdpcontrol/
HDsearch.c57 #define BSIZE 256 /* one attribute buffer size */ macro
58 static uint8_t buffer[NRECS * attrs_len][BSIZE];
628 values[n].vlen = BSIZE; in do_sdp_search()
/NextBSD/crypto/openssl/apps/
HDenc.c77 #undef BSIZE
81 #define BSIZE (8*1024) macro
108 int bsize = BSIZE, verbose = 0; in MAIN()
HDapps.c1650 #undef BSIZE in IMPLEMENT_LHASH_HASH_FN()
1651 #define BSIZE 256 in IMPLEMENT_LHASH_HASH_FN() macro
1706 char buf[1][BSIZE]; in save_serial()
1716 if (j >= BSIZE) { in save_serial()
1722 BUF_strlcpy(buf[0], serialfile, BSIZE); in save_serial()
1764 char buf[5][BSIZE]; in rotate_serial()
1771 if (j + 1 >= BSIZE) { in rotate_serial()
1848 char buf[1][BSIZE]; in load_index()
1939 char buf[3][BSIZE]; in save_index()
1949 if (j + 6 >= BSIZE) { in save_index()
[all …]
HDca.c318 #undef BSIZE in MAIN()
319 #define BSIZE 256 in MAIN() macro
320 MS_STATIC char buf[3][BSIZE]; in MAIN()
1237 if (strlen(outdir) >= (size_t)(j ? BSIZE - j * 2 - 6 : BSIZE - 8)) { in MAIN()
/NextBSD/lib/libc/gen/
HDgetcap.c55 #define BSIZE 1024 macro
651 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE]; in cgetnext()
/NextBSD/crypto/heimdal/lib/roken/
HDgetcap.c56 #define BSIZE 1024
727 char *cp, *line, *rp, *np, buf[BSIZE], nbuf[BSIZE];
/NextBSD/sys/crypto/des/
HDdes_locl.h67 #define BSIZE (MAXWRITE+4) macro
/NextBSD/contrib/ncurses/ncurses/tinfo/
HDread_termcap.c137 #define BSIZE 1024 macro
/NextBSD/contrib/binutils/ld/
HDChangeLog-0001783 * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision
800 * ldmain.c (main): Declare BSIZE as static.