Bit Operations

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_lock — Set a bit and return its old value for lock
__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
__ffs — find first set bit in word
ffz — find first zero bit in word
ffs — find first set bit in word
fls — find last set bit in word
fls64 — find last set bit in a 64-bit word