Lines Matching refs:word
48 static __always_inline unsigned long variable__ffs(unsigned long word) in variable__ffs() argument
58 : "=r" (word) : "r" (word) :); in variable__ffs()
60 return word; in variable__ffs()
63 return generic___ffs(word); in variable__ffs()
72 #define __ffs(word) \ argument
73 (__builtin_constant_p(word) ? \
74 (unsigned long)__builtin_ctzl(word) : \
75 variable__ffs(word))
77 static __always_inline unsigned long variable__fls(unsigned long word) in variable__fls() argument
87 : "=r" (word) : "r" (word) :); in variable__fls()
89 return BITS_PER_LONG - 1 - word; in variable__fls()
92 return generic___fls(word); in variable__fls()
101 #define __fls(word) \ argument
102 (__builtin_constant_p(word) ? \
103 (unsigned long)(BITS_PER_LONG - 1 - __builtin_clzl(word)) : \
104 variable__fls(word))