1ATOMIC64_ADD_NEGATIV(9)          Driver Basics         ATOMIC64_ADD_NEGATIV(9)
2
3
4

NAME

6       atomic64_add_negative - add and test if negative
7

SYNOPSIS

9       int atomic64_add_negative(u64 delta, atomic64_t * ptr);
10

ARGUMENTS

12       delta
13           integer value to add
14
15       ptr
16           pointer to type atomic64_t
17

DESCRIPTION

19       Atomically adds delta to ptr and returns true if the result is
20       negative, or false when result is greater than or equal to zero.
21
23Kernel Hackers Manual 2.6.         June 2019           ATOMIC64_ADD_NEGATIV(9)
Impressum