Home
last modified time | relevance | path

Searched refs:PTE_SHIFT (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/include/asm-ppc64/
Dpgtable.h164 #define PTE_SHIFT (16) macro
180 pte_val(pte) = (((physpage)<<(PTE_SHIFT-PAGE_SHIFT)) | pgprot_val(pgprot)); \
187 pte_val(pte) = ((unsigned long)((page) - mem_map) << PTE_SHIFT) | \
200 #define pte_pagenr(x) ((unsigned long)((pte_val(x) >> PTE_SHIFT)))
416 #define pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> PTE_SHIFT })
417 #define swp_entry_to_pte(x) ((pte_t) { (x).val << PTE_SHIFT })
/linux-2.4.37.9/include/asm-ppc/
Dpage.h26 #define PTE_SHIFT (PAGE_SHIFT - 3) /* 512 ptes per page */ macro
30 #define PTE_SHIFT (PAGE_SHIFT - 2) /* 1024 ptes per page */ macro
Dpgtable.h181 #define PMD_SHIFT (PAGE_SHIFT + PTE_SHIFT)
194 #define PTRS_PER_PTE (1 << PTE_SHIFT)
/linux-2.4.37.9/include/asm-sh64/
Dpgtable.h107 #define PTE_SHIFT PAGE_SHIFT macro
111 #define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS)
132 #define PTE_SHIFT PAGE_SHIFT macro
138 #define PMD_SHIFT (PTE_SHIFT + PTE_BITS)
/linux-2.4.37.9/arch/ppc64/kernel/
Dhtab.c418 prpn = pte_val(old_pte) >> PTE_SHIFT; in __hash_page()