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

Go to the source code of this file.

Macros

#define L1_CACHE_ALIGN(x)   ALIGN(x, L1_CACHE_BYTES)
 
#define SMP_CACHE_BYTES   L1_CACHE_BYTES
 
#define __read_mostly
 
#define ____cacheline_aligned   __attribute__((__aligned__(SMP_CACHE_BYTES)))
 
#define ____cacheline_aligned_in_smp
 
#define __cacheline_aligned
 
#define __cacheline_aligned_in_smp
 
#define INTERNODE_CACHE_SHIFT   L1_CACHE_SHIFT
 
#define ____cacheline_internodealigned_in_smp
 
#define cache_line_size()   L1_CACHE_BYTES
 

Macro Definition Documentation

#define ____cacheline_aligned   __attribute__((__aligned__(SMP_CACHE_BYTES)))

Definition at line 20 of file cache.h.

struct fc_exch ____cacheline_aligned_in_smp

Definition at line 27 of file cache.h.

struct qlcnic_host_tx_ring ____cacheline_internodealigned_in_smp

Definition at line 59 of file cache.h.

#define __cacheline_aligned
Value:
__section__(".data..cacheline_aligned")))

Definition at line 32 of file cache.h.

static struct cvm_oct_core_state core_state __cacheline_aligned_in_smp

Definition at line 41 of file cache.h.

#define __read_mostly

Definition at line 16 of file cache.h.

#define cache_line_size ( )    L1_CACHE_BYTES

Definition at line 64 of file cache.h.

#define INTERNODE_CACHE_SHIFT   L1_CACHE_SHIFT

Definition at line 51 of file cache.h.

#define L1_CACHE_ALIGN (   x)    ALIGN(x, L1_CACHE_BYTES)

Definition at line 8 of file cache.h.

#define SMP_CACHE_BYTES   L1_CACHE_BYTES

Definition at line 12 of file cache.h.