Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Typedefs
atomic-long.h File Reference
#include <asm/types.h>

Go to the source code of this file.

Macros

#define ATOMIC_LONG_INIT(i)   ATOMIC_INIT(i)
 
#define atomic_long_inc_not_zero(l)   atomic_inc_not_zero((atomic_t *)(l))
 
#define atomic_long_cmpxchg(l, old, new)   (atomic_cmpxchg((atomic_t *)(l), (old), (new)))
 
#define atomic_long_xchg(v, new)   (atomic_xchg((atomic_t *)(v), (new)))
 

Typedefs

typedef atomic_t atomic_long_t
 

Macro Definition Documentation

#define atomic_long_cmpxchg (   l,
  old,
  new 
)    (atomic_cmpxchg((atomic_t *)(l), (old), (new)))

Definition at line 251 of file atomic-long.h.

#define atomic_long_inc_not_zero (   l)    atomic_inc_not_zero((atomic_t *)(l))

Definition at line 249 of file atomic-long.h.

#define ATOMIC_LONG_INIT (   i)    ATOMIC_INIT(i)

Definition at line 143 of file atomic-long.h.

#define atomic_long_xchg (   v,
  new 
)    (atomic_xchg((atomic_t *)(v), (new)))

Definition at line 253 of file atomic-long.h.

Typedef Documentation

Definition at line 141 of file atomic-long.h.