Home
last modified time | relevance | path

Searched refs:pmd_page_vaddr (Results 1 – 25 of 31) sorted by relevance

12

/arch/powerpc/include/asm/nohash/32/
Dpgtable.h348 #define pmd_page_vaddr(pmd) \ macro
353 #define pmd_page_vaddr(pmd) \ macro
370 (pmd_bad(*(dir)) ? NULL : (pte_t *)pmd_page_vaddr(*(dir)) + \
374 (pmd_page_vaddr(*(dir)) & ~PAGE_MASK)) + pte_index(addr))
/arch/unicore32/include/asm/
Dpgtable.h157 #define pte_offset_kernel(dir, addr) (pmd_page_vaddr(*(dir)) \
160 #define pte_offset_map(dir, addr) (pmd_page_vaddr(*(dir)) \
219 #define pmd_page_vaddr(pmd) ((pte_t *)__va(pmd_val(pmd) & PAGE_MASK)) macro
/arch/powerpc/include/asm/
Dpgalloc.h75 return (pgtable_t)pmd_page_vaddr(pmd); in pmd_pgtable()
/arch/csky/include/asm/
Dpgtable.h43 (pmd_page_vaddr(*(dir)) + __pte_offset_t(address))
127 static inline pte_t *pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr() function
296 return (pte_t *) (pmd_page_vaddr(*dir)) + in pte_offset()
/arch/um/include/asm/
Dpgtable.h327 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & PAGE_MASK)) macro
330 #define pmd_page_vaddr(pmd) \ macro
341 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
/arch/powerpc/mm/kasan/
Dkasan_init_32.c45 if ((void *)pmd_page_vaddr(*pmd) != kasan_early_shadow_pte) in kasan_init_shadow_page_tables()
61 if (likely((void *)pmd_page_vaddr(*pmd) == kasan_early_shadow_pte)) { in kasan_init_shadow_page_tables()
/arch/powerpc/mm/
Dpgtable_64.c133 return virt_to_page(pmd_page_vaddr(pmd)); in pmd_page()
/arch/arm/include/asm/
Dpgtable.h191 static inline pte_t *pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr() function
199 #define __pte_map(pmd) pmd_page_vaddr(*(pmd))
208 #define pte_offset_kernel(pmd,addr) (pmd_page_vaddr(*(pmd)) + pte_index(addr))
/arch/mips/include/asm/
Dpgtable-32.h219 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
221 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
Dpgtable-64.h354 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
356 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
/arch/arc/include/asm/
Dpgalloc.h132 #define pmd_pgtable(pmd) ((pgtable_t) pmd_page_vaddr(pmd))
Dpgtable.h258 #define pmd_page_vaddr(pmd) (pmd_val(pmd) & PAGE_MASK) macro
287 #define pte_offset(dir, addr) ((pte_t *)(pmd_page_vaddr(*dir)) +\
/arch/nios2/include/asm/
Dpgtable.h251 #define pmd_page_vaddr(pmd) pmd_val(pmd) macro
262 ((pte_t *) pmd_page_vaddr(*(dir)) + \
/arch/powerpc/include/asm/book3s/32/
Dpgtable.h349 #define pmd_page_vaddr(pmd) \ macro
365 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(addr))
368 (pmd_page_vaddr(*(dir)) & ~PAGE_MASK)) + pte_index(addr))
/arch/powerpc/include/asm/nohash/64/
Dpgtable.h147 #define pmd_page_vaddr(pmd) (pmd_val(pmd) & ~PMD_MASKED_BITS) macro
197 (((pte_t *) pmd_page_vaddr(*(dir))) + (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)))
/arch/riscv/include/asm/
Dpgtable.h173 static inline unsigned long pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr() function
198 return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(addr); in pte_offset_kernel()
/arch/alpha/include/asm/
Dpgtable.h234 pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr() function
314 pte_t *ret = (pte_t *) pmd_page_vaddr(*dir) in pte_offset_kernel()
/arch/xtensa/include/asm/
Dpgtable.h245 #define pmd_page_vaddr(pmd) ((unsigned long)(pmd_val(pmd) & PAGE_MASK)) macro
380 ((pte_t*) pmd_page_vaddr(*(dir)) + pte_index(addr))
/arch/unicore32/mm/
Dioremap.c87 pte_free_kernel(&init_mm, pmd_page_vaddr(pmd)); in unmap_area_sections()
/arch/sh/include/asm/
Dpgtable_32.h404 #define pmd_page_vaddr(pmd) ((unsigned long)pmd_val(pmd)) macro
423 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
Dpgtable_64.h68 #define pmd_page_vaddr(pmd_entry) \ macro
/arch/parisc/include/asm/
Dpgtable.h436 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_address(pmd))) macro
463 ((pte_t *) pmd_page_vaddr(*(pmd)) + pte_index(address))
/arch/ia64/include/asm/
Dpgtable.h275 #define pmd_page_vaddr(pmd) ((unsigned long) __va(pmd_val(pmd) & _PFN_MASK)) macro
403 #define pte_offset_kernel(dir,addr) ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(addr))
/arch/powerpc/mm/book3s64/
Dradix_pgtable.c794 pte_base = (pte_t *)pmd_page_vaddr(*pmd); in remove_pmd_table()
1121 pte = (pte_t *)pmd_page_vaddr(pmd[i]); in pud_free_pmd_page()
1159 pte = (pte_t *)pmd_page_vaddr(*pmd); in pmd_free_pte_page()
/arch/x86/mm/
Dpgtable.c823 pte = (pte_t *)pmd_page_vaddr(pmd_sv[i]); in pud_free_pmd_page()
848 pte = (pte_t *)pmd_page_vaddr(*pmd); in pmd_free_pte_page()

12