Home
last modified time | relevance | path

Searched refs:pmd_index (Results 1 – 25 of 27) sorted by relevance

12

/arch/sh/include/asm/
Dpgtable-3level.h39 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
42 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/mips/include/asm/
Dpgtable-64.h242 #define __pmd_offset(address) pmd_index(address)
248 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
264 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/x86/mm/
Dinit_32.c110 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()
139 pmd_idx = pmd_index(vaddr); in page_table_range_init_count()
221 pmd_idx = pmd_index(vaddr); in page_table_range_init()
226 pmd = pmd + pmd_index(vaddr); in page_table_range_init()
300 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
Dident_map.c11 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
Dinit_64.c405 int i = pmd_index(paddr); in phys_pmd_init()
408 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init()
829 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
/arch/arm/mm/
Didmap.c41 pmd += pmd_index(addr); in idmap_add_pmd()
/arch/um/include/asm/
Dpgtable-3level.h94 pmd_index(address))
Dpgtable.h318 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/arm/include/asm/
Dpgtable-3level.h168 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
171 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(addr); in pmd_offset()
/arch/tile/include/asm/
Dpgtable_64.h128 ((pmd_t *)pud_page_vaddr(*(pud)) + pmd_index(address))
Dpgtable.h396 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
/arch/x86/kernel/
Dhead64.c98 pmd_p[pmd_index(address)] = pmd; in early_make_pgtable()
/arch/x86/power/
Dhibernate_64.c70 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
/arch/um/kernel/
Dmem.c98 j = pmd_index(vaddr); in fixrange_init()
/arch/parisc/include/asm/
Dpgtable.h431 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
433 ((pmd_t *) pgd_page_vaddr(*(dir)) + pmd_index(address))
/arch/s390/mm/
Dgup.c104 pmdp += pmd_index(addr); in gup_pmd_range()
/arch/metag/include/asm/
Dpgtable.h190 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/m32r/include/asm/
Dpgtable.h315 #define pmd_index(address) \ macro
/arch/tile/mm/
Dhugetlbpage.c130 pmd_index(addr), 1); in huge_pte_offset()
/arch/metag/mm/
Dinit.c274 j = pmd_index(vaddr); in allocate_pgtables()
/arch/hexagon/include/asm/
Dpgtable.h231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/arch/s390/include/asm/
Dpgtable.h1063 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
1086 return pmd + pmd_index(address); in pmd_offset()
1247 sto = (unsigned long) pmdp - pmd_index(address) * sizeof(pmd_t); in __pmdp_idte()
/arch/x86/include/asm/
Dpgtable.h589 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
655 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/arch/arm64/include/asm/
Dpgtable.h468 #define pmd_index(addr) (((addr) >> PMD_SHIFT) & (PTRS_PER_PMD - 1)) macro
470 #define pmd_offset_phys(dir, addr) (pud_page_paddr(*(dir)) + pmd_index(addr) * sizeof(pmd_t))
/arch/powerpc/include/asm/book3s/64/
Dpgtable.h759 #define pmd_index(address) (((address) >> (PMD_SHIFT)) & (PTRS_PER_PMD - 1)) macro
772 (((pmd_t *) pud_page_vaddr(*(pudp))) + pmd_index(addr))

12