Searched refs:pdshift (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/arch/powerpc/mm/ |
D | hugetlbpage.c | 63 static inline pte_t *hugepte_offset(hugepd_t *hpdp, unsigned long addr, unsigned pdshift) in hugepte_offset() argument 65 unsigned long idx = (addr & ((1UL << pdshift) - 1)) >> hugepd_shift(*hpdp); in hugepte_offset() 77 unsigned pdshift = PGDIR_SHIFT; in find_linux_pte_or_hugepte() local 86 pdshift = PUD_SHIFT; in find_linux_pte_or_hugepte() 91 pdshift = PMD_SHIFT; in find_linux_pte_or_hugepte() 106 return hugepte_offset(hpdp, ea, pdshift); in find_linux_pte_or_hugepte() 115 unsigned long address, unsigned pdshift, unsigned pshift) in __hugepte_alloc() argument 117 pte_t *new = kmem_cache_zalloc(PGT_CACHE(pdshift - pshift), in __hugepte_alloc() 128 kmem_cache_free(PGT_CACHE(pdshift - pshift), new); in __hugepte_alloc() 142 unsigned pdshift = PGDIR_SHIFT; in huge_pte_alloc() local [all …]
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | pgtable.h | 215 extern int gup_hugepd(hugepd_t *hugepd, unsigned pdshift, unsigned long addr,
|