atomic64_xchg(9)

atomic64_xchg9

Xchg atomic64 variable

Usage

u64 atomic64_xchg(atomic64_t * ptr, u64 new_val);

Arguments

ptr

pointer to type atomic64_t

new_val

value to assign

Overview

Atomically xchgs the value of ptr to new_val and returns the old value.

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