Lines Matching full:word
9 * __ffs - find first bit in word.
10 * @word: The word to search
14 static __always_inline unsigned int __ffs(unsigned long word)
19 if ((word & 0xffffffff) == 0) {
21 word >>= 32;
24 if ((word & 0xffff) == 0) {
26 word >>= 16;
28 if ((word & 0xff) == 0) {
30 word >>= 8;
32 if ((word & 0xf) == 0) {
34 word >>= 4;
36 if ((word & 0x3) == 0) {
38 word >>= 2;
40 if ((word & 0x1) == 0)