ATOMIC64_DEC_AND_TES(9) Driver Basics ATOMIC64_DEC_AND_TES(9)NAMEatomic64_dec_and_test - decrement and test
SYNOPSIS
int atomic64_dec_and_test(atomic64_t * ptr);
ARGUMENTS
ptr
pointer to type atomic64_t
DESCRIPTION
Atomically decrements ptr by 1 and returns true if the result is 0, or
false for all other cases.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 ATOMIC64_DEC_AND_TES(9)