Home | History | Annotate | Download | only in bitops

Lines Matching refs:word

7  * __ffs - find first bit in word.
8 * @word: The word to search
12 static inline unsigned long __ffs(unsigned long word)
17 if ((word & 0xffffffff) == 0) {
19 word >>= 32;
22 if ((word & 0xffff) == 0) {
24 word >>= 16;
26 if ((word & 0xff) == 0) {
28 word >>= 8;
30 if ((word & 0xf) == 0) {
32 word >>= 4;
34 if ((word & 0x3) == 0) {
36 word >>= 2;
38 if ((word & 0x1) == 0)