1ATOMIC64_ADD_NEGATIV(9) Driver Basics ATOMIC64_ADD_NEGATIV(9)
23
4
NAME
6atomic64_add_negative - add and test if negative
7
SYNOPSIS
9int atomic64_add_negative(u64 delta, atomic64_t * ptr);
10
ARGUMENTS
12delta
13integer value to add
1415
ptr
16pointer to type atomic64_t
17
DESCRIPTION
19Atomically adds delta to ptr and returns true if the result is
20negative, or false when result is greater than or equal to zero.
21
COPYRIGHT
23Kernel Hackers Manual 2.6. June 2019 ATOMIC64_ADD_NEGATIV(9)