atomic64_add_negative(9)

atomic64_add_negative9

Add and test if negative

Usage

int atomic64_add_negative(u64 delta, atomic64_t * ptr);

Arguments

delta

integer value to add

ptr

pointer to type atomic64_t

Overview

Atomically adds delta to ptr and returns true if the result is negative, or false when result is greater than or equal to zero.

From linux-manual-2.6.32 2.6.32-48squeeze6 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.