ATOMIC64_ADD_RETURN(9) Driver Basics ATOMIC64_ADD_RETURN(9)

NAME atomic64_add_return - add and return

SYNOPSIS u64 atomic64_add_return(u64 delta, atomic64_t * ptr);

ARGUMENTS delta integer value to add

ptr pointer to type atomic64_t

DESCRIPTION Atomically adds delta to ptr and returns delta + *ptr

COPYRIGHT Kernel Hackers Manual 2.6. September 2014 ATOMIC64_ADD_RETURN(9)