Lines Matching full:word
8 * generic___fls - find last (most-significant) set bit in a long word
9 * @word: the word to search
13 static __always_inline unsigned int generic___fls(unsigned long word)
18 if (!(word & (~0ul << 32))) {
20 word <<= 32;
23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) {
25 word <<= 16;
27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) {
29 word <<= 8;
31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) {
33 word <<= 4;
35 if (!(word & (~0ul << (BITS_PER_LONG-2)))) {
37 word <<= 2;
39 if (!(word & (~0ul << (BITS_PER_LONG-1))))
45 #define __fls(word) generic___fls(word)