1ATOMIC_SUB(9) Driver Basics ATOMIC_SUB(9)
23
4
NAME
6atomic_sub - subtract integer from atomic variable
7
SYNOPSIS
9void atomic_sub(int i, atomic_t * v);
10
ARGUMENTS
12i
13integer value to subtract
1415
v
16pointer of type atomic_t
17
DESCRIPTION
19Atomically subtracts i from v.
20
COPYRIGHT
22Kernel Hackers Manual 2.6. June 2019 ATOMIC_SUB(9)