Home
last modified time | relevance | path

Searched refs:SSHIFT (Results 1 – 3 of 3) sorted by path

/openbsd/lib/libc/db/hash/
H A Dhash.c208 "SEGMENT SHIFT ", hashp->SSHIFT, in __hash_open()
277 hashp->SSHIFT = DEF_SEGSIZE_SHIFT; in init_hash()
787 new_segnum = new_bucket >> hashp->SSHIFT; in __expand_table()
879 if ((store = (SEGMENT)calloc(nsegs << hashp->SSHIFT, in alloc_segs()
887 hashp->dir[i] = &store[i << hashp->SSHIFT]; in alloc_segs()
H A Dhash.h276 #define SSHIFT hdr.sshift macro
H A Dhash_buf.c122 segp = hashp->dir[addr >> hashp->SSHIFT]; in __get_buf()
228 segp = hashp->dir[bp->addr >> hashp->SSHIFT]; in newbuf()