Scroll to navigation

ATOMIC64_INC_AND_TES(9) Driver Basics ATOMIC64_INC_AND_TES(9)

NAME

atomic64_inc_and_test - increment and test

SYNOPSIS

int atomic64_inc_and_test(atomic64_t * ptr);

ARGUMENTS

ptr

pointer to type atomic64_t

DESCRIPTION

Atomically increments ptr by 1 and returns true if the result is zero, or false for all other cases.

COPYRIGHT

May 2024 Kernel Hackers Manual 2.6.