Home
last modified time | relevance | path

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

/dragonfly/stand/lib/
H A Ddosfs.c64 #define SSHIFT 9 /* SECSIZ shift */ macro
108 #define bytsec(n) ((n) >> SSHIFT)
109 #define secbyt(s) ((s) << SSHIFT)
113 #define secblk(fs, s) ((s) >> ((fs)->bshift - SSHIFT))
114 #define blksec(fs, b) ((b) << ((fs)->bshift - SSHIFT))
/dragonfly/lib/libc/db/hash/
H A Dhash_buf.c122 segp = hashp->dir[addr >> hashp->SSHIFT]; in __get_buf()
226 segp = hashp->dir[bp->addr >> hashp->SSHIFT]; in newbuf()
H A Dhash.c212 "SEGMENT SHIFT ", hashp->SSHIFT, in __hash_open()
281 hashp->SSHIFT = DEF_SEGSIZE_SHIFT; in init_hash()
797 new_segnum = new_bucket >> hashp->SSHIFT; in __expand_table()
889 if ((store = (SEGMENT)calloc(nsegs << hashp->SSHIFT, in alloc_segs()
897 hashp->dir[i] = &store[i << hashp->SSHIFT]; in alloc_segs()
H A Dhash.h276 #define SSHIFT hdr.sshift macro