Searched refs:pmd_index (Results 1 – 22 of 22) sorted by relevance
/linux/arch/x86/kernel/ |
A D | head64.c | 261 for (i = 0; i < pmd_index((unsigned long)_text); i++) in __startup_64() 265 for (; i <= pmd_index((unsigned long)_end); i++) in __startup_64() 297 i = pmd_index(vaddr); in __startup_64() 392 pmd_p[pmd_index(address)] = pmd; in __early_make_pgtable()
|
/linux/arch/x86/mm/ |
A D | init_32.c | 113 int pmd_idx = pmd_index(vaddr); in populate_extra_pmd() 142 pmd_idx = pmd_index(vaddr); in page_table_range_init_count() 224 pmd_idx = pmd_index(vaddr); in page_table_range_init() 229 pmd = pmd + pmd_index(vaddr); in page_table_range_init() 304 pmd_idx = pmd_index((pfn<<PAGE_SHIFT) + PAGE_OFFSET); in kernel_physical_mapping_init()
|
A D | ident_map.c | 12 pmd_t *pmd = pmd_page + pmd_index(addr); in ident_pmd_init()
|
A D | init_64.c | 509 int i = pmd_index(paddr); in phys_pmd_init() 512 pmd_t *pmd = pmd_page + pmd_index(paddr); in phys_pmd_init() 1109 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
|
/linux/arch/arm/mm/ |
A D | pgd.c | 79 (pmd_index(MODULES_VADDR) - pmd_index(TASK_SIZE)) in pgd_alloc()
|
A D | idmap.c | 44 pmd += pmd_index(addr); in idmap_add_pmd()
|
/linux/arch/mips/kvm/ |
A D | mmu.c | 177 int i_min = pmd_index(start_gpa); in kvm_mips_flush_gpa_pmd() 178 int i_max = pmd_index(end_gpa); in kvm_mips_flush_gpa_pmd() 309 int i_min = pmd_index(start); \ 310 int i_max = pmd_index(end); \
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
A D | processor.c | 43 static uint64_t pmd_index(struct kvm_vm *vm, vm_vaddr_t gva) in pmd_index() function 119 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, vaddr) * 8; in _virt_pg_map() 159 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + pmd_index(vm, gva) * 8; in addr_gva2gpa()
|
/linux/include/linux/ |
A D | pgtable.h | 66 #ifndef pmd_index 67 static inline unsigned long pmd_index(unsigned long address) in pmd_index() function 71 #define pmd_index pmd_index macro 109 return pud_pgtable(*pud) + pmd_index(address); in pmd_offset()
|
/linux/arch/x86/power/ |
A D | hibernate_64.c | 68 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
|
A D | hibernate_32.c | 158 set_pmd(pmd + pmd_index(restore_jump_address), in set_up_temporary_text_mapping()
|
/linux/arch/riscv/mm/ |
A D | init.c | 380 uintptr_t pmd_idx = pmd_index(va); in create_pmd_mapping() 681 fix_bmap_spmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_BEGIN))]; in setup_vm() 682 fix_bmap_epmd = fixmap_pmd[pmd_index(__fix_to_virt(FIX_BTMAP_END))]; in setup_vm()
|
A D | kasan_init.c | 86 pmdp = base_pmd + pmd_index(vaddr); in kasan_populate_pmd()
|
/linux/arch/um/kernel/ |
A D | mem.c | 105 j = pmd_index(vaddr); in fixrange_init()
|
/linux/arch/csky/mm/ |
A D | init.c | 167 k = pmd_index(vaddr); in fixrange_init()
|
/linux/arch/sh/mm/ |
A D | init.c | 186 k = pmd_index(vaddr); in page_table_range_init()
|
/linux/arch/s390/include/asm/ |
A D | pgtable.h | 1235 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) macro 1325 return (pmd_t *) pud_deref(pud) + pmd_index(address); in pmd_offset_lockless() 1490 sto = __pa(pmdp) - pmd_index(addr) * sizeof(pmd_t); in __pmdp_idte()
|
/linux/arch/mips/mm/ |
A D | init.c | 242 k = pmd_index(vaddr); in fixrange_init()
|
/linux/arch/x86/xen/ |
A D | mmu_pv.c | 543 nr = last ? pmd_index(limit) + 1 : PTRS_PER_PMD; in xen_pmd_walk() 1006 pmd_t *pmd = level2_kernel_pgt + pmd_index(vaddr); in xen_cleanhighmap() 1859 pmd = native_make_pmd(xen_read_phys_ulong(pa + pmd_index(vaddr) * in xen_early_virt_to_phys()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | radix_pgtable.c | 777 pmd = pmd_start + pmd_index(addr); in remove_pmd_table()
|
/linux/arch/arm64/include/asm/ |
A D | pgtable.h | 664 #define pmd_offset_phys(dir, addr) (pud_page_paddr(READ_ONCE(*(dir))) + pmd_index(addr) * sizeof(pm…
|
/linux/mm/ |
A D | hugetlb.c | 6417 if (pmd_index(addr) != pmd_index(saddr) || in page_table_shareable()
|
Completed in 47 milliseconds