Lines Matching refs:word
311 static inline unsigned long ffz(unsigned long word) in ffz() argument
315 return __kernel_cttz(~word); in ffz()
319 bits = __kernel_cmpbge(word, ~0UL); in ffz()
321 bits = __kernel_extbl(word, qofs); in ffz()
331 static inline unsigned long __ffs(unsigned long word) in __ffs() argument
335 return __kernel_cttz(word); in __ffs()
339 bits = __kernel_cmpbge(0, word); in __ffs()
341 bits = __kernel_extbl(word, qofs); in __ffs()
356 static inline int ffs(int word) in ffs() argument
358 int result = __ffs(word) + 1; in ffs()
359 return word ? result : 0; in ffs()
366 static inline int fls64(unsigned long word) in fls64() argument
368 return 64 - __kernel_ctlz(word); in fls64()