ATOMIC_INC(9) Driver Basics ATOMIC_INC(9)

NAME atomic_inc - increment atomic variable

SYNOPSIS void atomic_inc(atomic_t * v);

ARGUMENTS v pointer of type atomic_t

DESCRIPTION Atomically increments v by 1.

COPYRIGHT Kernel Hackers Manual 2.6. June 2012 ATOMIC_INC(9)