Loading...
Searching...
No Matches
barrier.h File Reference

Memory barriers. More...

Macros

#define spdk_compiler_barrier()   __asm volatile("" ::: "memory")
 Compiler memory barrier.
 
#define spdk_rmb()   _spdk_rmb()
 Read memory barrier.
 
#define spdk_wmb()   _spdk_wmb()
 Write memory barrier.
 
#define spdk_mb()   _spdk_mb()
 Full read/write memory barrier.
 
#define spdk_smp_rmb()   _spdk_smp_rmb()
 SMP read memory barrier.
 
#define spdk_smp_wmb()   _spdk_smp_wmb()
 SMP write memory barrier.
 
#define spdk_smp_mb()   _spdk_smp_mb()
 SMP read/write memory barrier.
 
#define spdk_ivdt_dcache(pdata)   _spdk_ivdt_dcache(pdata)
 Invalidate data cache, input is data pointer.
 
#define _spdk_rmb()
 
#define _spdk_wmb()
 
#define _spdk_mb()
 
#define _spdk_smp_rmb()
 
#define _spdk_smp_wmb()
 
#define _spdk_smp_mb()
 
#define _spdk_ivdt_dcache(pdata)
 

Detailed Description

Memory barriers.