Lines Matching refs:BITS_PER_LONG
14 " bsf -"STR(BITS_PER_LONG/8)"(%2),%0\n\t" in __find_first_bit()
16 " lea -"STR(BITS_PER_LONG/8)"(%2),%2\n\t" in __find_first_bit()
30 const unsigned long *p = addr + (offset / BITS_PER_LONG); in __find_next_bit()
31 unsigned int set, bit = offset & (BITS_PER_LONG - 1); in __find_next_bit()
38 set = __scanbit(*p >> bit, BITS_PER_LONG - bit); in __find_next_bit()
39 if ( set < (BITS_PER_LONG - bit) ) in __find_next_bit()
41 offset += BITS_PER_LONG - bit; in __find_next_bit()
63 " xor -"STR(BITS_PER_LONG/8)"(%2),%3\n\t" in __find_first_zero_bit()
66 " lea -"STR(BITS_PER_LONG/8)"(%2),%2\n\t" in __find_first_zero_bit()
80 const unsigned long *p = addr + (offset / BITS_PER_LONG); in __find_next_zero_bit()
81 unsigned int set, bit = offset & (BITS_PER_LONG - 1); in __find_next_zero_bit()
88 set = __scanbit(~(*p >> bit), BITS_PER_LONG - bit); in __find_next_zero_bit()
89 if ( set < (BITS_PER_LONG - bit) ) in __find_next_zero_bit()
91 offset += BITS_PER_LONG - bit; in __find_next_zero_bit()