Lines Matching refs:word
313 static inline unsigned long ffz(unsigned long word) in ffz() argument
317 return __kernel_cttz(~word); in ffz()
321 bits = __kernel_cmpbge(word, ~0UL); in ffz()
323 bits = __kernel_extbl(word, qofs); in ffz()
333 static inline unsigned long __ffs(unsigned long word) in __ffs() argument
337 return __kernel_cttz(word); in __ffs()
341 bits = __kernel_cmpbge(0, word); in __ffs()
343 bits = __kernel_extbl(word, qofs); in __ffs()
358 static inline int ffs(int word) in ffs() argument
360 int result = __ffs(word) + 1; in ffs()
361 return word ? result : 0; in ffs()
368 static inline int fls64(unsigned long word) in fls64() argument
370 return 64 - __kernel_ctlz(word); in fls64()