1ATOMIC64_SUB_AND_TES(9) Driver Basics ATOMIC64_SUB_AND_TES(9)
23
4
NAME
6atomic64_sub_and_test - subtract value from variable and test result
7
SYNOPSIS
9int atomic64_sub_and_test(u64 delta, atomic64_t * ptr);
10
ARGUMENTS
12delta
13integer value to subtract
1415
ptr
16pointer to type atomic64_t
17
DESCRIPTION
19Atomically subtracts delta from ptr and returns true if the result is
20zero, or false for all other cases.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. June 2019 ATOMIC64_SUB_AND_TES(9)