Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
atomic64_64.h File Reference
#include <linux/types.h>
#include <asm/alternative.h>
#include <asm/cmpxchg.h>

Go to the source code of this file.

Macros

#define ATOMIC64_INIT(i)   { (i) }
 
#define atomic64_inc_return(v)   (atomic64_add_return(1, (v)))
 
#define atomic64_dec_return(v)   (atomic64_sub_return(1, (v)))
 
#define atomic64_inc_not_zero(v)   atomic64_add_unless((v), 1, 0)
 

Macro Definition Documentation

#define atomic64_dec_return (   v)    (atomic64_sub_return(1, (v)))

Definition at line 182 of file atomic64_64.h.

#define atomic64_inc_not_zero (   v)    atomic64_add_unless((v), 1, 0)

Definition at line 218 of file atomic64_64.h.

#define atomic64_inc_return (   v)    (atomic64_add_return(1, (v)))

Definition at line 181 of file atomic64_64.h.

#define ATOMIC64_INIT (   i)    { (i) }

Definition at line 10 of file atomic64_64.h.