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

Go to the source code of this file.

Data Structures

struct  pda_s
 

Macros

#define CACHE_ALIGN(x)   (((x) + SMP_CACHE_BYTES-1) & ~(SMP_CACHE_BYTES-1))
 
#define pda   (&__ia64_per_cpu_var(pda_percpu))
 
#define pdacpu(cpu)   (&per_cpu(pda_percpu, cpu))
 

Typedefs

typedef struct pda_s pda_t
 

Functions

 DECLARE_PER_CPU (struct pda_s, pda_percpu)
 

Macro Definition Documentation

#define CACHE_ALIGN (   x)    (((x) + SMP_CACHE_BYTES-1) & ~(SMP_CACHE_BYTES-1))

Definition at line 48 of file pda.h.

#define pda   (&__ia64_per_cpu_var(pda_percpu))

Definition at line 64 of file pda.h.

#define pdacpu (   cpu)    (&per_cpu(pda_percpu, cpu))

Definition at line 66 of file pda.h.

Typedef Documentation

typedef struct pda_s pda_t

Function Documentation

DECLARE_PER_CPU ( struct pda_s  ,
pda_percpu   
)