Lines Matching defs:bit
11 * These have to be done with inline assembly: that way the bit-setting
12 * is guaranteed to be atomic. All bit operations return 0 if the bit
15 * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
27 * set_bit - Atomically set a bit in memory
28 * @nr: the bit to set
45 * __set_bit - Set a bit in memory
46 * @nr: the bit to set
62 * clear_bit - Clears a bit in memory
82 * __change_bit - Toggle a bit in memory
83 * @nr: the bit to set
99 * change_bit - Toggle a bit in memory
116 * test_and_set_bit - Set a bit and return its old value
135 * __test_and_set_bit - Set a bit and return its old value
155 * test_and_clear_bit - Clear a bit and return its old value
174 * __test_and_clear_bit - Clear a bit and return its old value
206 * test_and_change_bit - Change a bit and return its new value
247 * find_first_zero_bit - find the first zero bit in a memory region
251 * Returns the bit-number of the first zero bit, not the number of the byte
252 * containing a bit.
279 * find_next_zero_bit - find the first zero bit in a memory region
287 int set = 0, bit = offset & 31, res;
289 if (bit) {
298 : "r" (~(*p >> bit)));
299 if (set < (32 - bit))
301 set = 32 - bit;
328 * ffs - find first bit set
347 * hweightN - returns the hamming weight of a N-bit word