Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/newlib/libc/search/
Dhash_page.c86 ((__uint16_t *)(P))[1] = hashp->BSIZE - 3 * sizeof(__uint16_t); \
87 ((__uint16_t *)(P))[2] = hashp->BSIZE; \
142 newoff = hashp->BSIZE; in __delpair()
190 copyto = (__uint16_t)hashp->BSIZE; in __split_page()
191 off = (__uint16_t)hashp->BSIZE; in __split_page()
336 scopyto = hashp->BSIZE; in ugly_split()
344 off = hashp->BSIZE; in ugly_split()
525 size = hashp->BSIZE; in __get_page()
553 max = hashp->BSIZE >> 2; /* divide by 4 */ in __get_page()
583 size = hashp->BSIZE; in __put_page()
[all …]
Dhash.c196 if (hashp->BSIZE > INT_MAX)
214 (hashp->BSIZE << BYTE_SHIFT) - 1) >>
251 "BUCKET SIZE ", hashp->BSIZE,
327 hashp->BSIZE = DEF_BUCKET_SIZE;
345 hashp->BSIZE = MIN(statbuf.st_blksize, MAX_BSIZE);
346 hashp->BSHIFT = __log2(hashp->BSIZE);
353 hashp->BSIZE = 1 << hashp->BSHIFT;
354 if (hashp->BSIZE > MAX_BSIZE) {
640 off = hashp->BSIZE;
672 off = hashp->BSIZE;
[all …]
Dhash_bigkey.c246 FREESPACE(bp) = hashp->BSIZE - PAGE_META(n); in __big_delete()
247 OFFSET(bp) = hashp->BSIZE - 1; in __big_delete()
283 for (bytes = hashp->BSIZE - bp[ndx]; in __find_bigpair()
285 bytes = hashp->BSIZE - bp[ndx]) { in __find_bigpair()
460 mylen = hashp->BSIZE - bp[1]; in collect_data()
536 mylen = hashp->BSIZE - bp[1]; in collect_key()
Dhash_buf.c189 if ((bp->page = (char *)malloc(hashp->BSIZE)) == NULL) { in newbuf()
194 memset(bp->page, 0xff, hashp->BSIZE); in newbuf()
300 npages = (nbytes + hashp->BSIZE - 1) >> hashp->BSHIFT; in __buf_init()
Dhash.h305 #define BSIZE hdr.bsize macro