1ATOMIC_SUB_RETURN(9) Driver Basics ATOMIC_SUB_RETURN(9)
23
4
NAME
6atomic_sub_return - subtract integer and return
7
SYNOPSIS
9int atomic_sub_return(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 and returns v - i
20
COPYRIGHT
22Kernel Hackers Manual 2.6. June 2019 ATOMIC_SUB_RETURN(9)