Home
last modified time | relevance | path

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

/linux-2.6.39/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()
/linux-2.6.39/arch/mips/include/asm/
Dpgtable-64.h225 #define __pmd_offset(address) pmd_index(address)
231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
247 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/linux-2.6.39/arch/x86/mm/
Dinit_32.c136 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd()
211 pmd_idx = pmd_index(vaddr); in page_table_range_init()
216 pmd = pmd + pmd_index(vaddr); in page_table_range_init()
290 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
Dhugetlbpage.c36 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()
Dinit_64.c413 int i = pmd_index(address); in phys_pmd_init()
417 pmd_t *pmd = pmd_page + pmd_index(address); in phys_pmd_init()
/linux-2.6.39/arch/um/include/asm/
Dpgtable-3level.h94 pmd_index(address))
Dpgtable.h325 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
/linux-2.6.39/arch/s390/include/asm/
Dhugetlb.h96 pmd_index(address) * sizeof(pmd_t); in __pmd_idte()
Dpgtable.h1048 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro
1061 #define pmd_offset(pud, address) ((pmd_t *) pud + pmd_index(address))
1082 return pmd + pmd_index(address); in pmd_offset()
/linux-2.6.39/drivers/lguest/
Dpage_tables.c118 unsigned int index = pmd_index(vaddr); in spmd_addr()
174 return gpage + pmd_index(vaddr) * sizeof(pmd_t); in gpmd_addr()
1110 pmd_index(cpu->lg->kernel_address) == SWITCHER_PMD_INDEX) in page_table_guest_data_init()
/linux-2.6.39/arch/s390/mm/
Dgup.c100 pmdp += pmd_index(addr); in gup_pmd_range()
/linux-2.6.39/arch/x86/include/asm/
Dpgtable.h445 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
513 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
/linux-2.6.39/arch/um/kernel/
Dmem.c124 j = pmd_index(vaddr); in fixrange_init()
/linux-2.6.39/arch/m32r/include/asm/
Dpgtable.h326 #define pmd_index(address) \ macro
/linux-2.6.39/arch/tile/include/asm/
Dpgtable.h409 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function
/linux-2.6.39/arch/mn10300/include/asm/
Dpgtable.h448 #define pmd_index(address) \ macro
/linux-2.6.39/arch/x86/xen/
Dmmu.c823 pmdidx_limit = pmd_index(limit); in __xen_pgd_walk()