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 old 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
__ffs - find first bit in word.
find_first_bit - find the first set bit in a memory region
find_next_bit - find the first set bit in a memory region
ffz - find first zero in word.
ffs - find first bit set
fls - find last bit set