1ATOMIC64_XCHG(9)                 Driver Basics                ATOMIC64_XCHG(9)
2
3
4

NAME

6       atomic64_xchg - xchg atomic64 variable
7

SYNOPSIS

9       u64 atomic64_xchg(atomic64_t * ptr, u64 new_val);
10

ARGUMENTS

12       ptr
13           pointer to type atomic64_t
14
15       new_val
16           value to assign
17

DESCRIPTION

19       Atomically xchgs the value of ptr to new_val and returns the old value.
20
22Kernel Hackers Manual 2.6.         June 2019                  ATOMIC64_XCHG(9)
Impressum