Lines Matching refs:word
331 static inline unsigned long ffz(unsigned long word) in ffz() argument
335 return __kernel_cttz(~word); in ffz()
339 bits = __kernel_cmpbge(word, ~0UL); in ffz()
341 bits = __kernel_extbl(word, qofs); in ffz()
351 static inline unsigned long __ffs(unsigned long word) in __ffs() argument
355 return __kernel_cttz(word); in __ffs()
359 bits = __kernel_cmpbge(0, word); in __ffs()
361 bits = __kernel_extbl(word, qofs); in __ffs()
376 static inline int ffs(int word) in ffs() argument
378 int result = __ffs(word) + 1; in ffs()
379 return word ? result : 0; in ffs()
386 static inline int fls64(unsigned long word) in fls64() argument
388 return 64 - __kernel_ctlz(word); in fls64()