The Linux Kernel API
<<< Previous
Driver Basics
Next >>>
Atomic and pointer manipulation
Table of Contents
atomic_read
-- read atomic variable
atomic_set
-- set atomic variable
atomic_add
-- add integer to atomic variable
atomic_sub
-- subtract the 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
get_unaligned
-- get value from possibly mis-aligned location
put_unaligned
-- put value to a possibly mis-aligned location
<<< Previous
Home
Next >>>
Driver Basics
Up
atomic_read