Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
pgtable-ppc64-64k.h File Reference
#include <asm-generic/pgtable-nopud.h>

Go to the source code of this file.

Macros

#define PTE_INDEX_SIZE   12
 
#define PMD_INDEX_SIZE   12
 
#define PUD_INDEX_SIZE   0
 
#define PGD_INDEX_SIZE   6
 
#define PTE_TABLE_SIZE   (sizeof(real_pte_t) << PTE_INDEX_SIZE)
 
#define PMD_TABLE_SIZE   (sizeof(pmd_t) << PMD_INDEX_SIZE)
 
#define PGD_TABLE_SIZE   (sizeof(pgd_t) << PGD_INDEX_SIZE)
 
#define PTRS_PER_PTE   (1 << PTE_INDEX_SIZE)
 
#define PTRS_PER_PMD   (1 << PMD_INDEX_SIZE)
 
#define PTRS_PER_PGD   (1 << PGD_INDEX_SIZE)
 
#define MIN_HUGEPTE_SHIFT   PAGE_SHIFT
 
#define PMD_SHIFT   (PAGE_SHIFT + PTE_INDEX_SIZE)
 
#define PMD_SIZE   (1UL << PMD_SHIFT)
 
#define PMD_MASK   (~(PMD_SIZE-1))
 
#define PGDIR_SHIFT   (PMD_SHIFT + PMD_INDEX_SIZE)
 
#define PGDIR_SIZE   (1UL << PGDIR_SHIFT)
 
#define PGDIR_MASK   (~(PGDIR_SIZE-1))
 
#define PMD_MASKED_BITS   0x1ff
 
#define PUD_MASKED_BITS   0x1ff
 

Macro Definition Documentation

#define MIN_HUGEPTE_SHIFT   PAGE_SHIFT

Definition at line 23 of file pgtable-ppc64-64k.h.

#define PGD_INDEX_SIZE   6

Definition at line 10 of file pgtable-ppc64-64k.h.

#define PGD_TABLE_SIZE   (sizeof(pgd_t) << PGD_INDEX_SIZE)

Definition at line 15 of file pgtable-ppc64-64k.h.

#define PGDIR_MASK   (~(PGDIR_SIZE-1))

Definition at line 33 of file pgtable-ppc64-64k.h.

#define PGDIR_SHIFT   (PMD_SHIFT + PMD_INDEX_SIZE)

Definition at line 31 of file pgtable-ppc64-64k.h.

#define PGDIR_SIZE   (1UL << PGDIR_SHIFT)

Definition at line 32 of file pgtable-ppc64-64k.h.

#define PMD_INDEX_SIZE   12

Definition at line 8 of file pgtable-ppc64-64k.h.

#define PMD_MASK   (~(PMD_SIZE-1))

Definition at line 28 of file pgtable-ppc64-64k.h.

#define PMD_MASKED_BITS   0x1ff

Definition at line 36 of file pgtable-ppc64-64k.h.

#define PMD_SHIFT   (PAGE_SHIFT + PTE_INDEX_SIZE)

Definition at line 26 of file pgtable-ppc64-64k.h.

#define PMD_SIZE   (1UL << PMD_SHIFT)

Definition at line 27 of file pgtable-ppc64-64k.h.

#define PMD_TABLE_SIZE   (sizeof(pmd_t) << PMD_INDEX_SIZE)

Definition at line 14 of file pgtable-ppc64-64k.h.

#define PTE_INDEX_SIZE   12

Definition at line 7 of file pgtable-ppc64-64k.h.

#define PTE_TABLE_SIZE   (sizeof(real_pte_t) << PTE_INDEX_SIZE)

Definition at line 13 of file pgtable-ppc64-64k.h.

#define PTRS_PER_PGD   (1 << PGD_INDEX_SIZE)

Definition at line 20 of file pgtable-ppc64-64k.h.

#define PTRS_PER_PMD   (1 << PMD_INDEX_SIZE)

Definition at line 19 of file pgtable-ppc64-64k.h.

#define PTRS_PER_PTE   (1 << PTE_INDEX_SIZE)

Definition at line 18 of file pgtable-ppc64-64k.h.

#define PUD_INDEX_SIZE   0

Definition at line 9 of file pgtable-ppc64-64k.h.

#define PUD_MASKED_BITS   0x1ff

Definition at line 38 of file pgtable-ppc64-64k.h.