Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
barrier.h File Reference
#include <linux/types.h>
#include <arch/chip.h>
#include <arch/spr_def.h>
#include <asm/timex.h>
#include <hv/syscall_public.h>

Go to the source code of this file.

Macros

#define read_barrier_depends()   do { } while (0)
 
#define __sync()   __insn_mf()
 
#define fast_wmb()   __sync()
 
#define fast_rmb()   __sync()
 
#define fast_mb()   __sync()
 
#define fast_iob()   mb_incoherent()
 
#define wmb()   fast_wmb()
 
#define rmb()   fast_rmb()
 
#define mb()   fast_mb()
 
#define iob()   fast_iob()
 
#define smp_mb()   barrier()
 
#define smp_rmb()   barrier()
 
#define smp_wmb()   barrier()
 
#define smp_read_barrier_depends()   do { } while (0)
 
#define set_mb(var, value)   do { var = value; mb(); } while (0)
 

Macro Definition Documentation

#define __sync ( )    __insn_mf()

Definition at line 78 of file barrier.h.

#define fast_iob ( )    mb_incoherent()

Definition at line 125 of file barrier.h.

#define fast_mb ( )    __sync()

Definition at line 124 of file barrier.h.

#define fast_rmb ( )    __sync()

Definition at line 123 of file barrier.h.

#define fast_wmb ( )    __sync()

Definition at line 122 of file barrier.h.

#define iob ( )    fast_iob()

Definition at line 130 of file barrier.h.

#define mb (   void)    fast_mb()

Definition at line 129 of file barrier.h.

#define read_barrier_depends ( )    do { } while (0)

Definition at line 76 of file barrier.h.

#define rmb ( )    fast_rmb()

Definition at line 128 of file barrier.h.

#define set_mb (   var,
  value 
)    do { var = value; mb(); } while (0)

Definition at line 144 of file barrier.h.

#define smp_mb ( )    barrier()

Definition at line 138 of file barrier.h.

#define smp_read_barrier_depends ( )    do { } while (0)

Definition at line 141 of file barrier.h.

#define smp_rmb ( )    barrier()

Definition at line 139 of file barrier.h.

#define smp_wmb ( )    barrier()

Definition at line 140 of file barrier.h.

#define wmb ( )    fast_wmb()

Definition at line 127 of file barrier.h.