Atomic and pointer manipulation
Prev
Chapter 1. Driver Basics
Next
Atomic and pointer manipulation
atomic_read
— read atomic variable
__intentional_overflow
— read atomic variable
atomic_set
— set atomic variable
atomic_set_unchecked
— set atomic variable
atomic_add
— add integer to atomic variable
atomic_add_unchecked
— add integer to atomic variable
atomic_sub
— subtract integer from atomic variable
atomic_sub_unchecked
— subtract integer from atomic variable
atomic_sub_and_test
— subtract value from variable and test result
atomic_inc
— increment atomic variable
atomic_inc_unchecked
— increment atomic variable
atomic_dec
— decrement atomic variable
atomic_dec_unchecked
— decrement atomic variable
atomic_dec_and_test
— decrement and test
atomic_inc_and_test
— increment and test
atomic_inc_and_test_unchecked
— increment and test
atomic_add_negative
— add and test if negative
__intentional_overflow
— add integer and return
atomic_add_return_unchecked
— add integer and return
__intentional_overflow
— subtract integer and return
__intentional_overflow
— add unless the number is already a given value
atomic_inc_short
— increment of a short integer
atomic_or_long
— OR of two long integers