1ATOMIC64_DEC_AND_TES(9) Driver Basics ATOMIC64_DEC_AND_TES(9)
23
4
NAME
6atomic64_dec_and_test - decrement and test
7
SYNOPSIS
9int atomic64_dec_and_test(atomic64_t * ptr);
10
ARGUMENTS
12ptr
13pointer to type atomic64_t
14
DESCRIPTION
16Atomically decrements ptr by 1 and returns true if the result is 0, or
17false for all other cases.
18
COPYRIGHT
20Kernel Hackers Manual 2.6. June 2019 ATOMIC64_DEC_AND_TES(9)