BITS_PER_LONG_MASK
mask = (1UL << (tmp & BITS_PER_LONG_MASK)) -1;
unsigned long mask = (1UL << (b->bm_bits & BITS_PER_LONG_MASK)) -1;