Lines Matching refs:bit
60 static inline int _test_word(uint32_t test, int bit)
62 while (bit < (int) DM_BITS_PER_INT) {
63 if (test & (0x1 << bit))
64 return bit;
65 bit++;
73 int bit, word;
76 last_bit++; /* otherwise we'll return the same bit again */
84 bit = last_bit & (DM_BITS_PER_INT - 1);
86 if ((bit = _test_word(test, bit)) >= 0)
87 return (word * DM_BITS_PER_INT) + bit;