Lines Matching refs:word
272 static inline unsigned char __flogr(unsigned long word) in __flogr() argument
274 if (__builtin_constant_p(word)) { in __flogr()
277 if (!word) in __flogr()
279 if (!(word & 0xffffffff00000000UL)) { in __flogr()
280 word <<= 32; in __flogr()
283 if (!(word & 0xffff000000000000UL)) { in __flogr()
284 word <<= 16; in __flogr()
287 if (!(word & 0xff00000000000000UL)) { in __flogr()
288 word <<= 8; in __flogr()
291 if (!(word & 0xf000000000000000UL)) { in __flogr()
292 word <<= 4; in __flogr()
295 if (!(word & 0xc000000000000000UL)) { in __flogr()
296 word <<= 2; in __flogr()
299 if (!(word & 0x8000000000000000UL)) { in __flogr()
300 word <<= 1; in __flogr()
307 rp.even = word; in __flogr()
321 static inline unsigned long __ffs(unsigned long word) in __ffs() argument
323 return __flogr(-word & word) ^ (BITS_PER_LONG - 1); in __ffs()
333 static inline int ffs(int word) in ffs() argument
336 unsigned int val = (unsigned int)word; in ffs()
347 static inline unsigned long __fls(unsigned long word) in __fls() argument
349 return __flogr(word) ^ (BITS_PER_LONG - 1); in __fls()
363 static inline int fls64(unsigned long word) in fls64() argument
367 return (1 + (__flogr(word) ^ (BITS_PER_LONG - 1))) & mask; in fls64()
377 static inline int fls(unsigned int word) in fls() argument
379 return fls64(word); in fls()