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

NAME

6       atomic64_sub_and_test - subtract value from variable and test result
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

19       Atomically subtracts delta from ptr and returns true if the result is
20       zero, or false for all other cases.
21
23Kernel Hackers Manual 2.6.         June 2019           ATOMIC64_SUB_AND_TES(9)
Impressum