Lines Matching refs:word
33 * restricted to acting on a single-word quantity.
110 * restricted to acting on a single-word quantity.
240 static inline unsigned long __ffs(unsigned long word)
246 : "=r"(result), "=&r"(word)
247 : "1"(word));
252 static inline unsigned long ffz(unsigned long word)
254 return __ffs(~word);
258 static inline int fls(unsigned long word)
262 asm("clz %0,%1" : "=r"(result) : "r"(word));
266 static inline int __fls(unsigned long word)
268 return fls(word) - 1;
290 static inline int ffs(unsigned long word)
292 if(word == 0)
294 return __ffs(word) + 1;