Home
last modified time | relevance | path

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

/freebsd/lib/libc/db/hash/
H A Dhash_buf.c121 segp = hashp->dir[addr >> hashp->SSHIFT]; in __get_buf()
225 segp = hashp->dir[bp->addr >> hashp->SSHIFT]; in newbuf()
H A Dhash.c209 "SEGMENT SHIFT ", hashp->SSHIFT, in __hash_open()
278 hashp->SSHIFT = DEF_SEGSIZE_SHIFT; in init_hash()
798 new_segnum = new_bucket >> hashp->SSHIFT; in __expand_table()
890 if ((store = calloc(nsegs << hashp->SSHIFT, sizeof(SEGMENT))) == NULL) { in alloc_segs()
897 hashp->dir[i] = &store[i << hashp->SSHIFT]; in alloc_segs()
H A Dhash.h274 #define SSHIFT hdr.sshift macro