Home
last modified time | relevance | path

Searched refs:SGSIZE (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/lib/libc/db/hash/
Dhash.c168 nsegs = (hashp->MAX_BUCKET + 1 + hashp->SGSIZE - 1) / in __hash_open()
169 hashp->SGSIZE; in __hash_open()
219 "SEGMENT SIZE ", hashp->SGSIZE, in __hash_open()
288 hashp->SGSIZE = DEF_SEGSIZE; in init_hash()
374 nsegs = (nbuckets - 1) / hashp->SGSIZE + 1; in init_htab()
853 calloc((size_t)hashp->SGSIZE, sizeof(SEGMENT))) == NULL) in __expand_table()
Dhash_buf.c126 segment_ndx = addr & (hashp->SGSIZE - 1); in __get_buf()
210 segment_ndx = bp->addr & (hashp->SGSIZE - 1); in newbuf()
Dhash.h284 #define SGSIZE hdr.ssize macro