3.3. Bit Operations

Table of Contents
set_bit --  Atomically set a bit in memory
__set_bit --  Set a bit in memory
clear_bit --  Clears a bit in memory
__change_bit --  Toggle a bit in memory
change_bit --  Toggle a bit in memory
test_and_set_bit --  Set a bit and return its old value
__test_and_set_bit --  Set a bit and return its old value
test_and_clear_bit --  Clear a bit and return its old value
__test_and_clear_bit --  Clear a bit and return its old value
test_and_change_bit --  Change a bit and return its new value
test_bit --  Determine whether a bit is set
find_first_zero_bit --  find the first zero bit in a memory region
find_next_zero_bit --  find the first zero bit in a memory region
ffz --  find first zero in word.
ffs --  find first bit set
hweight32 --  returns the hamming weight of a N-bit word