Name

atomic64_add_negative — add and test if negative

Synopsis

int atomic64_add_negative (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 true if the result is negative, or false when result is greater than or equal to zero.