Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
mmzone.h File Reference
#include <asm/sn/addrs.h>
#include <asm/sn/arch.h>
#include <asm/sn/hub.h>

Go to the source code of this file.

Data Structures

struct  slice_data
 
struct  hub_data
 
struct  node_data
 

Macros

#define pa_to_nid(addr)   NASID_TO_COMPACT_NODEID(NASID_GET(addr))
 
#define LEVELS_PER_SLICE   128
 
#define NODE_DATA(n)   (&__node_data[(n)]->pglist)
 
#define hub_data(n)   (&__node_data[(n)]->hub)
 

Variables

struct node_data__node_data []
 

Macro Definition Documentation

#define hub_data (   n)    (&__node_data[(n)]->hub)

Definition at line 34 of file mmzone.h.

#define LEVELS_PER_SLICE   128

Definition at line 10 of file mmzone.h.

#define NODE_DATA (   n)    (&__node_data[(n)]->pglist)

Definition at line 33 of file mmzone.h.

#define pa_to_nid (   addr)    NASID_TO_COMPACT_NODEID(NASID_GET(addr))

Definition at line 8 of file mmzone.h.

Variable Documentation

struct node_data* __node_data[]

Definition at line 37 of file ip27-memory.c.