Searched refs:BITMAP_BITS (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/crypto/openssh/
H A Dbitmap.c29 #define BITMAP_BITS (sizeof(BITMAP_WTYPE) * 8) macro
30 #define BITMAP_WMASK ((BITMAP_WTYPE)BITMAP_BITS - 1)
76 if (b->len == 0 || (n / BITMAP_BITS) > b->top)
78 return (b->d[n / BITMAP_BITS] >> (n & BITMAP_WMASK)) & 1;
89 nlen = (n / BITMAP_BITS) + 1;
108 offset = n / BITMAP_BITS;
132 offset = n / BITMAP_BITS;
153 bits = (b->top + 1) * BITMAP_BITS;
154 while (!(w & ((BITMAP_WTYPE)1 << (BITMAP_BITS - 1)))) {
208 shift = BITMAP_BITS
[all...]

Completed in 70 milliseconds