Lines Matching refs:mask
10 * optimal byte mask counting is probably going to be something
25 * the simpler "(mask & ONEBYTES) * ONEBYTES >> 56"
27 * mask them first.
29 static inline long count_masked_bytes(unsigned long mask)
31 return mask*0x0001020304050608ul >> 56;
37 static inline long count_masked_bytes(long mask)
40 long a = (0x0ff0001+mask) >> 23;
42 return a & mask;
50 unsigned long mask = ((a - c->one_bits) & ~a) & c->high_bits;
51 *bits = mask;
52 return mask;
66 /* The mask we created is directly usable as a bytemask */
67 #define zero_bytemask(mask) (mask)
69 static inline unsigned long find_zero(unsigned long mask)
71 return count_masked_bytes(mask);