Atomic and pointer manipulation
Prev | Chapter 1. Driver Basics | Next

## Atomic and pointer manipulation

atomic_read — read atomic variable
atomic_set — set atomic variable
atomic_add — add integer to atomic variable
atomic_sub — subtract integer from atomic variable
atomic_sub_and_test — subtract value from variable and test result
atomic_inc — increment atomic variable
atomic_dec — decrement atomic variable
atomic_dec_and_test — decrement and test
atomic_inc_and_test — increment and test
atomic_add_negative — add and test if negative
atomic_add_return — add integer and return
atomic_sub_return — subtract integer and return
atomic_add_unless — add unless the number is already a given value
get_unaligned — get value from possibly mis-aligned location
put_unaligned — put value to a possibly mis-aligned location

Prev | Up | Next
module_exit | Home | atomic_read