The Linux Kernel API
Prev
Chapter 1. Driver Basics
Next
1.2. 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
Prev
Home
Next
Driver Basics
Up
atomic_read