Searched refs:ffs (Results 1 – 7 of 7) sorted by relevance
57 #define ffs __builtin_ffs macro60 int ffs(int i)70 int ffs(int i);102 const int i = ffs(*mask) - 1; in u_bit_scan()109 ((b) = ffs(__dword) - 1, __dword); \203 *start = ffs(*mask) - 1; in u_bit_scan_consecutive_range()204 *count = ffs(~(*mask >> *start)) - 1; in u_bit_scan_consecutive_range()
35 ffs(int i) in ffs() function70 bit = ffs((unsigned) (val & 0xffffffff)); in ffsll()74 bit = ffs((unsigned) (val >> 32)); in ffsll()
333 return ffs(x[i]) + BITSET_WORDBITS * i; in __bitset_ffs()381 bit = ffs(*tmp) - 1; in __bitset_next_set()424 *start = word * BITSET_WORDBITS + ffs(tmp) - 1; in __bitset_next_range()449 *end = MIN2(word * BITSET_WORDBITS + ffs(~tmp) - 1, size); in __bitset_next_range()
74 unsigned bit = ffs(~buf->data[i]) - 1; in util_idalloc_alloc()
328 return (gl_shader_stage) (ffs((uint32_t) vk_stage) - 1); in vk_to_mesa_shader_stage()
540 int mode_num = ffs(block[0]); in fetch_rgba_unorm_from_block()661 int mode_num = ffs(block[0]); in decompress_rgba_unorm_block()
910 foreach b : ['bswap32', 'bswap64', 'clz', 'clzll', 'ctz', 'expect', 'ffs',